TCL, the same version that compiles in chapter five of LFS, fails to compile in my BLFS (version 8.0, stable).
The output is too huge to post. Posting only the last few lines:
Quote:
ION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 /blfs_compile/tcl8.6.6/unix/tclAppInit.c
gcc -O2 -pipe -m64 -Wl,--export-dynamic tclAppInit.o \
-L/blfs_compile/tcl8.6.6/unix -ltcl8.6 libtclstub8.6.a -ldl -lz -lpthread -lieee -lm \
-Wl,-rpath,/usr/lib -o tclsh
begin sed 1
begin sed 2
sed: can't read pkgs/tdbc1.0.4/tdbcConfig.sh: No such file or directory
root@artemis:# pwd
/blfs_compile
root@artemis:#
|
How I (attempt to) compile (I've done this so many times that it is now a script):
Code:
#!/bin/bash
tar -xvpf /sources/tcl-core8.6.6-src.tar.gz || exit
cd tcl8.6.6 || exit
export SRCDIR=`pwd` &&
cd unix &&
./configure --prefix=/usr \
--mandir=/usr/share/man \
$([ $(uname -m) = x86_64 ] && echo --enable-64bit) &&
make &&
echo " begin sed 1 " &&
sed -e "s#$SRCDIR/unix#/usr/lib#" \
-e "s#$SRCDIR#/usr/include#" \
-i tclConfig.sh &&
echo "begin sed 2 " &&
sed -e "s#$SRCDIR/unix/pkgs/tdbc1.0.4#/usr/lib/tdbc1.0.4#" \
-e "s#$SRCDIR/pkgs/tdbc1.0.4/generic#/usr/include#" \
-e "s#$SRCDIR/pkgs/tdbc1.0.4/library#/usr/lib/tcl8.6#" \
-e "s#$SRCDIR/pkgs/tdbc1.0.4#/usr/include#" \
-i pkgs/tdbc1.0.4/tdbcConfig.sh &&
echo "begin sed 3 " &&
sed -e "s#$SRCDIR/unix/pkgs/itcl4.0.5#/usr/lib/itcl4.0.5#" \
-e "s#$SRCDIR/pkgs/itcl4.0.5/generic#/usr/include#" \
-e "s#$SRCDIR/pkgs/itcl4.0.5#/usr/include#" \
-i pkgs/itcl4.0.5/itclConfig.sh
# unset SRCDIR
# To test the results, issue: make test.
I've no idea. Startpage and google both failed. Can I have a clue please?
p.s. The above script (aside from the echo lines I added is how the book does it) refers to a "itcl4.0.5" directory yet this is version 8.6.6.
p.p.s. The way it is compiled in ch 5 of lfs does not perform any seds, so the problem is avoided. Hmm.