View previous topic :: View next topic |
Author |
Message |
Michael.Terence n00b
Joined: 18 Jan 2005 Posts: 29
|
Posted: Tue Jan 18, 2005 2:53 am Post subject: emerge gnome -> compiler error on libjpeg and wrong gcc v |
|
|
hey yall, when i go to emerge gnome one of the deps is libjpeg. about 40 seconds into the compile it errors out with:
Code: | g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o: No Such file or directory
|
i get about 3 more errors complaining it cant find stuff (all inside 3.3.4)
the version of gcc i have loaded is 3.3.5, how can i make it point there instead of to 3.3.4? |
|
Back to top |
|
|
hw-tph l33t
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Tue Jan 18, 2005 3:01 am Post subject: |
|
|
Run /sbin/fix_libtool_files.sh 3.3.4 to clean out old hard paths.
Håkan |
|
Back to top |
|
|
wdreinhart Guru
Joined: 11 Jun 2003 Posts: 569 Location: 4QFJ12345678
|
Posted: Tue Jan 18, 2005 3:05 am Post subject: |
|
|
Sounds like you need to change your gcc profile. Use "gcc-config -l" to see which gcc profiles you have available, then "gcc-config chost-and-gcc-version-goes-here" to set the profile you want to use. (in your case, probably 3.3.5)
Hope that helps... |
|
Back to top |
|
|
Michael.Terence n00b
Joined: 18 Jan 2005 Posts: 29
|
Posted: Tue Jan 18, 2005 3:18 am Post subject: |
|
|
thanks for the quick replies.
i was playing with gcc-config, when i decided to make 3.3.4 a sym link to 3.3.5. that worked for me but it was hacked out, so i unmerged the package and ran the fix_libtool shell script... =
got past the compilation of libjpeg, but now when it gets to compiling ttmkfdir it craps out with:
Code: |
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=athlon-xp -fomit-frame-pointer -o directory.o -c directory.cpp
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with '--tag'
make: *** waiting for unfinished jobs...
|
|
|
Back to top |
|
|
Michael.Terence n00b
Joined: 18 Jan 2005 Posts: 29
|
Posted: Tue Jan 18, 2005 3:32 am Post subject: |
|
|
changed $CHOST from:
"i686-pc-linux..."
to
"-i686-pc-linux..."
and now its going.
i could have sworn it didnt have the - in the install docs, going to have to check now |
|
Back to top |
|
|
sucarino n00b
Joined: 20 Aug 2004 Posts: 32 Location: San Jose, Costa Rica
|
Posted: Tue Jan 18, 2005 5:29 am Post subject: |
|
|
Michael.Terence wrote: | changed $CHOST from:
"i686-pc-linux..."
to
"-i686-pc-linux..."
and now its going.
i could have sworn it didnt have the - in the install docs, going to have to check now |
Ok, i did it and now it works. Great! BUT WHY THIS HAPPENS? |
|
Back to top |
|
|
|