Subject: Re: [Metakit] Installing Mk4tcl on Red Hat Linux 8.0 From: Jean-Claude Wippler <[EMAIL PROTECTED]> To: Metakit mailing list <[EMAIL PROTECTED]> Date sent: Thu, 29 May 2003 12:14:03 +0200
> John Fletcher wrote: > > > package require Mk4tcl > > > > failed whereever I put the file, renamed from libmk4tcl.so to > > Mk4tcl.so > [...] > > The problem seems to be that Red Hat Linux regards Tcl as part of > > the operating system and installs its packages in > > > > /usr/lib instead of /usr/local/lib > > > > The installation reports that tcl_pkgPath contains ONLY /usr/lib > > > > What can be done so that the test files which use the package > > equire command will work? > > Set $auto_path accordingly. What does this do? > FYI, "package require" needs a > pkgIndex.tcl file, it doesn't know how to load .so's, that's what > "load" is for. > > -jcw > Is there any way in which the installation can do the building of the package index file? If not, then the demos and tests, which use "package require" will all fail, unless instructions for how to get round this are given as well. Alternatively, there could be some tests which use load instead. Incidentally, I did a build of 2.4.9.2 and I noticed that the libmk4tcl.so and Mk4tcl.so files are not the same size, so it is not just a case of renaming, as was said in the readme for 2.4.7. I eventually found the built libaries in the hidden folder builds/.lib Cheers John ------------------------------------------------------------------- Dr John P. Fletcher Tel: (44) 121 359 3611 ext 4625 Chemical Engineering and Applied Chemistry (CEAC), School of Engineering and Applied Science (SEAS), Aston University, Fax: (44) 121 359 4094 Aston Triangle, Email: [EMAIL PROTECTED] BIRMINGHAM B4 7ET U.K. CEAC Web site http://www.ceac.aston.ac.uk/ _______________________________________________ metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit
