Ok during install of tcl I get down to where it does the sed -i commands and the third one fails but looking through the file it seemed to of done what it was supposed to. Not sure if this is a problem or not but after checking the file it doesnt appear to be. Now onto the next phase I do:
Code:
install -d /usr/include/tcl${V}/unix &&
install -m644 *.h /usr/include/tcl${V}/unix/ &&
install -d /usr/include/tcl${V}/generic &&
install -c -m644 ../generic/*.h /usr/include/tcl${V}/generic/
and get the error
install: invalid option -- f
Try 'install --help' for more information.
Ive doen these seperately as well and all 4 give the same error.
I have been tring to install tcl for bout 2 days now with not even the slightest bit of luck. This is the last thing that I CAN install. Everything else is dependent on tcl in one way or another. The first time this was installed in the lfs book 5.0 everything went ok and since have removed the build directorys and such and read in the cvs book that they way it was installed before meant that any program dependent on tcl would need those build directorys.
Any help is appreciated.
Here is the commands leading up to this incase it is of any use.
Code:
VERSION=8.4.5 &&
V=`echo $VERSION | cut -d "." -f 1,2` &&
DIR=$PWD &&
cd unix &&
./configure --prefix=/usr &&
make &&
sed -i "s:${DIR}/unix:/usr/lib:" tclConfig.sh &&
sed -i "s:${DIR}:/usr/include/tcl${V}:" tclConfig.sh &&
sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh &&
make install &&
install -d /usr/include/tcl${V}/unix &&
install -m644 *.h /usr/include/tcl${V}/unix/ &&
install -d /usr/include/tcl${V}/generic &&
install -c -m644 ../generic/*.h /usr/include/tcl${V}/generic/ &&
rm -f /usr/include/tcl${V}/generic/{tcl,tclDecls,tclPlatDecls}.h &&
ln -nsf /usr/include/tcl${V} /usr/lib/tcl${V}/include &&
ln -sf libtcl${V}.so /usr/lib/libtcl.so &&
ln -sf tclsh${V} /usr/bin/tclsh
I did most of these commands one at a time rather than alltogether with the &&.