Date: Mon, 1 Jun 1998 19:58:28 +0200 From: Stefan Esser <se@FreeBSD.ORG> To: Edwin Culp <eculp@ver1.telmex.net.mx>, freebsd-ports@FreeBSD.ORG Cc: Stefan Esser <se@FreeBSD.ORG> Subject: Re: Scotty Port finished with this error. Message-ID: <19980601195828.09737@mi.uni-koeln.de> In-Reply-To: <35716515.34FA3AC7@ver1.telmex.net.mx>; from Edwin Culp on Sun, May 31, 1998 at 09:11:33AM -0500 References: <35716515.34FA3AC7@ver1.telmex.net.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-05-31 09:11 -0500, Edwin Culp <eculp@ver1.telmex.net.mx> wrote: > I was able to install this in another (I thought identical) > machine with no problem. I don't find any problem with > tnm2.1.8.so that is identical to the other machine:-( > The /usr/share/misc/magic is the same file on both. > The Makefiles are the same the tnm2.1.8.so are the same. > > This has to be something dumb. > > Making directory /usr/local/lib/tnm2.1.8/library > Installing ./../tnm/library/README > Installing ./../tnm/library/dialog.tcl > Installing ./../tnm/library/output.tcl > Installing ./../tnm/library/snmp.tcl > Installing ./../tnm/library/monitor.tcl > Installing ./../tnm/library/obsolete.tcl > Installing ./../tnm/library/init.tcl > initialization failed: couldn't load file "/usr/local/lib/tnm2.1.8": bad > magic number in "/usr/local/lib/tnm2.1.8" > *** Error code 1 Stumbled over this just a few days ago ... There is a ".co" missing in one of the install sub-targets in the makefile. I can check the details at work tomorrow, but I just looked at the scotty 2.1.6 sources (didn't have 2.1.8 here at home), and you may want to give the following change a try: tnm-install-bin: [...] @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)[info sharedlibextension]"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl Make this read (in work/scotty-2.1.8/unix/makefile): @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION).so[info sharedlibextension]"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl I assume that the "[info sharelibextension]" was supposed to take care of the ".so", but this apparently does not work. The correct fix might involve setting the tcl variable, but I needed it running quickly, and didn't bother (nor had time) to further look into this ... Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980601195828.09737>