Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge gnome -> compiler error on libjpeg and wrong gcc v
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Michael.Terence
n00b
n00b


Joined: 18 Jan 2005
Posts: 29

PostPosted: Tue Jan 18, 2005 2:53 am    Post subject: emerge gnome -> compiler error on libjpeg and wrong gcc v Reply with quote

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
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Tue Jan 18, 2005 3:01 am    Post subject: Reply with quote

Run /sbin/fix_libtool_files.sh 3.3.4 to clean out old hard paths.


Håkan
Back to top
View user's profile Send private message
wdreinhart
Guru
Guru


Joined: 11 Jun 2003
Posts: 569
Location: 4QFJ12345678

PostPosted: Tue Jan 18, 2005 3:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael.Terence
n00b
n00b


Joined: 18 Jan 2005
Posts: 29

PostPosted: Tue Jan 18, 2005 3:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael.Terence
n00b
n00b


Joined: 18 Jan 2005
Posts: 29

PostPosted: Tue Jan 18, 2005 3:32 am    Post subject: Reply with quote

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 8)
Back to top
View user's profile Send private message
sucarino
n00b
n00b


Joined: 20 Aug 2004
Posts: 32
Location: San Jose, Costa Rica

PostPosted: Tue Jan 18, 2005 5:29 am    Post subject: Reply with quote

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 8)


Ok, i did it and now it works. Great! BUT WHY THIS HAPPENS?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum