#PACKAGE=tclcompiler
#MAJOR_VERSION=1
#MINOR_VERSION=5
#PATCHLEVEL=
- root@jumpgate:/home/jumpgate/b/tmh/work/tclcompiler1.5
- [6] > make install
- /usr/local/bin/install -c libtclcompiler1.5.so
- /opt/tcl8.4.1/lib/tclcompiler1.5/libtclcompiler1.5.so
- /opt/tcl8.4.1/lib/tclcompiler1.5/libtclcompiler1.5.so
TCL_LIBRARY=`echo
/home/jumpgate/b/tmh/work/tcl8.4.1/library`
LD_LIBRARY_PATH=".:/home/jumpgate/b/tmh/work/tcl8.4.1/unix:"
LIBPATH=".:/home/jumpgate/b/tmh/work/tcl8.4.1/unix:"
SHLIB_PATH=".:/home/jumpgate/b/tmh/work/tcl8.4.1/unix:"
PATH=".:/home/jumpgate/b/tmh/work/tcl8.4.1/unix:/usr/local/bin:/usr/local/etc:/usr/openwin/bin:/usr/ccs/bin:/opt/tcl/bin:/opt/perl/bin:/usr/sbin:/usr/bin" TCLLIBPATH="." /home/jumpgate/b/tmh/work/tcl8.4.1/unix/tclsh mkIndex.tcl libtclcompiler1.5.so
Making pkgIndex.tcl in /opt/tcl8.4.1/lib/tclcompiler
eval pkg_mkIndex tclcompiler1.5 ../libtclcompiler1.5.so
*.tcl
no files matched glob patterns "../libtclcompiler1.5.so
*.tcl"
while executing
"glob ../libtclcompiler1.5.so *.tcl"
("eval" body line 1)
invoked from within
"eval glob $patternList"
invoked from within
"pkg_mkIndex tclcompiler1.5 ../libtclcompiler1.5.so *.tcl"
("eval" body line 1)
invoked from within
"eval pkg_mkIndex $package$version $libraryPathList *.tcl"
invoked from within
"if {$tcl_platform(platform) == "unix"} {
if {[llength $libraryList] > 0} {
set libraryPathList {}
foreach lib $libraryList {
lappend librar..."
(file "mkIndex.tcl" line 95)
*** Error code 1
make: Fatal error: Command failed for target
`install-lib-binaries'
With version 1.4, the libtclcompiler1.4.so was
installed in libdir, now with 1.5 it seems to be in
${libdir}/tclcompiler1.5/libtclcompiler1.5.so
consequently, mkIndex.tcl.in needs to be adjusted to look
in the package directory, not in the libdir
Here is a patch.
diff -u -r1.2 mkIndex.tcl.in
--- mkIndex.tcl.in 15 Mar 2001 05:58:21 -0000 1.2
+++ mkIndex.tcl.in 9 Oct 2002 19:22:45 -0000
@@ -96,7 +96,7 @@
if {[llength $libraryList] > 0} {
set libraryPathList {}
foreach lib $libraryList {
- lappend libraryPathList [file join .. $lib]
+ lappend libraryPathList [file join $lib]
}
puts "eval pkg_mkIndex $package$version
$libraryPathList *.tcl"
eval pkg_mkIndex $package$version
$libraryPathList *.tcl