From owner-freebsd-ports Mon Jun 1 19:44:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA16283 for freebsd-ports-outgoing; Mon, 1 Jun 1998 19:44:18 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from ns.mexcom.net (ver1-39.uninet.net.mx [200.38.135.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA16160; Mon, 1 Jun 1998 19:43:23 -0700 (PDT) (envelope-from eculp@ver1.telmex.net.mx) Received: from mc.mexcom.net (telmex@ppp-13.mexcom.net [206.103.65.205]) by ns.mexcom.net (8.8.8/8.8.7) with SMTP id VAA13247; Mon, 1 Jun 1998 21:39:15 -0500 (CDT) Message-ID: <35736760.69624C74@ver1.telmex.net.mx> Date: Mon, 01 Jun 1998 21:45:52 -0500 From: Edwin Culp Organization: Mexico Communicates, S.A. de C.V. X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.18 i586) MIME-Version: 1.0 To: Stefan Esser CC: freebsd-ports@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: Scotty Port finished with this error. References: <35716515.34FA3AC7@ver1.telmex.net.mx> <19980601195828.09737@mi.uni-koeln.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Stefan Esser wrote: > > On 1998-05-31 09:11 -0500, Edwin Culp 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 I just telneted in to the office added the .so and Worked great. That was the problem. I didn't think of that. Thanks a lot. ed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message