View previous topic :: View next topic |
Author |
Message |
spoyner n00b
Joined: 09 Feb 2005 Posts: 4
|
Posted: Wed Feb 09, 2005 10:35 pm Post subject: Problem when updating mod_php |
|
|
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 |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Wed Feb 09, 2005 10:43 pm Post subject: |
|
|
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 |
|
|
spoyner n00b
Joined: 09 Feb 2005 Posts: 4
|
Posted: Thu Feb 10, 2005 6:49 am Post subject: |
|
|
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 |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Thu Feb 10, 2005 10:13 am Post subject: |
|
|
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 |
|
|
spoyner n00b
Joined: 09 Feb 2005 Posts: 4
|
Posted: Thu Feb 10, 2005 3:28 pm Post subject: |
|
|
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 |
|
|
spoyner n00b
Joined: 09 Feb 2005 Posts: 4
|
Posted: Thu Feb 10, 2005 4:43 pm Post subject: |
|
|
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 |
|
|
hjnenc Veteran
Joined: 15 Aug 2004 Posts: 1599 Location: Vienna, Austria
|
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Feb 10, 2005 5:00 pm Post subject: |
|
|
Moved to dups. |
|
Back to top |
|
|
|