Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem when updating mod_php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
spoyner
n00b
n00b


Joined: 09 Feb 2005
Posts: 4

PostPosted: Wed Feb 09, 2005 10:35 pm    Post subject: Problem when updating mod_php Reply with quote

Hi.

i tried to update mod_php (emerge -u mod_php), but i got this error message.

grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make: *** [libphp4.la] Error 1
make: *** Waiting for unfinished jobs....
libtool: link: cannot find the library `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la'
make: *** [sapi/cli/php] Error 1

!!! ERROR: dev-php/mod_php-4.3.10 failed.
!!! Function php-sapi_src_compile, Line 538, Exitcode 2
!!! compile problem

My computer is based on a mini-ITX motherboard and i have compiled my kernel with suport for Eden C3/Ezra (Via) CPU.

This is my make.conf {

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/"

}

as you can see, the CHOST do not match the one that the compiler is trying to use.

everything else is working fine, i can emerge other programs.

got any tips?
_________________
Kernel Panic
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1191
Location: Austria

PostPosted: Wed Feb 09, 2005 10:43 pm    Post subject: Reply with quote

I think you did a gcc upgrade -
Either you try the fix_libtool_files.sh script or do a symlink to the old version.

Code:

fix_libtool_files.sh 3.3.4


here's the symlink version, assuming your new version is 3.3.5
Code:

cd /usr/lib/gcc-lib/i386-pc-linux-gnu/
ln -s 3.3.5 3.3.4


May Tux bless

Rei
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
spoyner
n00b
n00b


Joined: 09 Feb 2005
Posts: 4

PostPosted: Thu Feb 10, 2005 6:49 am    Post subject: Reply with quote

i did acually just update gcc. and i updated my configs after that (etc-update), i guess the etc-update messed it up?
_________________
Kernel Panic
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1191
Location: Austria

PostPosted: Thu Feb 10, 2005 10:13 am    Post subject: Reply with quote

some libs or biunaries have the gcc path hardcoded. That should fix it

Rei
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
spoyner
n00b
n00b


Joined: 09 Feb 2005
Posts: 4

PostPosted: Thu Feb 10, 2005 3:28 pm    Post subject: Reply with quote

sorry if Im a little bit slow =P, but i dont understand what i can do to make it right?
_________________
Kernel Panic
Back to top
View user's profile Send private message
spoyner
n00b
n00b


Joined: 09 Feb 2005
Posts: 4

PostPosted: Thu Feb 10, 2005 4:43 pm    Post subject: Reply with quote

So. i tried to do this: ln -s 3.3.5 3.3.4
but it didnt work. i get the same error message
_________________
Kernel Panic
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Thu Feb 10, 2005 4:54 pm    Post subject: Reply with quote

Please have a look at FAQ GF18: https://forums.gentoo.org/viewtopic.php?t=279020
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Thu Feb 10, 2005 5:00 pm    Post subject: Reply with quote

hjnenc wrote:
Please have a look at FAQ GF18: https://forums.gentoo.org/viewtopic.php?t=279020
Moved to dups.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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