LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-14-2004, 06:55 PM   #1
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
tcl8.4.5 errors on install.. blfs book cvs


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 &&.
 
Old 03-15-2004, 12:05 AM   #2
stirling
Member
 
Registered: Feb 2004
Distribution: LFS, Ubuntu
Posts: 52

Rep: Reputation: 16
the only thing i can possibly see is that -f from the cut command got into the V variable

this is really a job for cut and paste, and if you do that with fresh source, then it should work.
 
Old 03-15-2004, 01:34 AM   #3
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
As of so far I cannot just cut and paste. Unless I just dont know how to do that from a console mode or being able to install it by chroot ing. I got X installed and gpm which allows for cut and paste but run into another error while tring to open a xterm. Not all of the libraries that the book listed are installed becuase of they depend on tcl but all those not taht are listed are installed.

xterm: relocation error: /usr/X11R6/lib/libXaw.so.7: undefined symbol: XmuCvtGravityToString


So for now if im in X I cant even open a terminal and because I dont have tcl installed I can install much of anything else. A post from another forum .. found by googling.. was posted about this same issue however he never got a answer back. It mentioned it was bug#90658 and would be fixed with xlib6_3.3.6-38_i386.deb. Also mentions something referring to it has to do with mixed libc5/libc6 dependencies.

Any suggestions on how to fix this so that I can use x apps? Then hopefully install tcl by cut and paste as you suggested and see how things work out.

Last edited by Zero-0-Effect; 03-15-2004 at 01:51 AM.
 
Old 03-15-2004, 06:37 PM   #4
stirling
Member
 
Registered: Feb 2004
Distribution: LFS, Ubuntu
Posts: 52

Rep: Reputation: 16
do you still have your host distro installed?
what are you using to post here? an X browser, console, windows?

i'm asking because you can easily make a script for these commands, from X on the other distro, or from windows and copy it over via floppy. if you're on the console, you can even copy the html or text version of the book to another file and edit out the tags and other html stuff.

then just put it in your source dir, cd tcl8.4.5 and sh ../yourscript.sh
 
Old 03-15-2004, 09:18 PM   #5
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
Im using my server to post in here and I do have my host system... but I made progress.. still cant use any x apps but was able to get lynx running and get aterm up so in fluxbox I copied the stuff over from the html version of the book and pasted into the terminal.. lynx went crazy... but hey tcl IS NOW INSTALLED !!!!!! !!!!!!!!!!!!!!!!!!! 4 days of tring and it took bout 1 min to untar to install ... lol...
 
Old 03-15-2004, 09:23 PM   #6
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
I also reinstalled X because I noticed I left out a important patch and also dl some more pathces and reedited the host.def file becuase of a typo in it as well and reinstalled x... same problems although it runs faster !! .. Right now im kinda happy got lynx for browsing got my aterm and got centericq for all the messaging but need to fix my problem with x apps...

I'm using XF86 4.3 because I cant use 4.4 as my video card drivers.. ati.. are not supported in 4.4 yet.. .. I have all available patches up as far as I can go without hitting 4.4 in which case my ati drivers might not work or will seriously screw things up..

heres the error I get.. when running xterm

xterm: relocation error: /usr/X11R6/lib/libXaw.so.7: undefined symbol:
XmuCvtGravityToString

Last edited by Zero-0-Effect; 03-15-2004 at 09:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing CVS address book from outllok to thunderbird waelaltaqi Linux - Software 0 10-27-2005 10:53 AM
recommendation for CVS docs/book? johnMG Programming 2 05-22-2005 02:45 AM
BLFS Book Outdated Needs Updating. rvijay Linux From Scratch 6 01-17-2005 10:48 PM
BLFS-CVS -- Confused about instructions! Zero-0-Effect Linux From Scratch 2 04-06-2004 09:33 PM
sed errors while installing tcl8.4.5 Zero-0-Effect Linux - Software 2 03-15-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration