View previous topic :: View next topic |
Author |
Message |
mastermnd n00b
Joined: 24 Dec 2003 Posts: 69 Location: Espoo, Finland
|
Posted: Thu Jun 10, 2004 8:11 am Post subject: mod_php compile error |
|
|
I tried to 'emerge apache2 mod_php' and compiling php ended to this:
Code: |
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la' is not a valid libtool archive
make: *** [libphp4.la] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: dev-php/mod_php-4.3.6-r2 failed.
!!! Function php-sapi_src_compile, Line 499, Exitcode 2
!!! compile problem
|
Any ideas? |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Thu Jun 10, 2004 10:37 am Post subject: |
|
|
Please post the output of and _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
mastermnd n00b
Joined: 24 Dec 2003 Posts: 69 Location: Espoo, Finland
|
Posted: Thu Jun 10, 2004 3:09 pm Post subject: |
|
|
Okay, here they come:
Code: |
> emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-rc3-love2)
=================================================================
System uname: 2.6.5-rc3-love2 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb crypt cups emacs encode esd fluxbox foomaticdb gd gdbm gif gphoto2 gpm gtk imlib java jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
> gcc-config -l
[1] i686-pc-linux-gnu-3.3.2
|
|
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Thu Jun 10, 2004 3:36 pm Post subject: |
|
|
OK, see this post for a fix. For a quick-and-easy fix (aka dirty hack, the solution posted in that thread is much cleaner) do this (as root of course): Code: | cd /usr/lib/gcc-lib/i686-pc-linux-gnu
ln -s 3.3.2 3.2.3 |
_________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
dkaplowitz Guru
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Sat Jun 12, 2004 7:44 pm Post subject: |
|
|
I'm having a similar problem, as noted in this thread. I've tried a number of things to fix this error, including below:
moocha wrote: | Code: | cd /usr/lib/gcc-lib/i686-pc-linux-gnu
ln -s 3.3.2 3.2.3 |
|
But I can't seem to fix the problem that's causing this error. There's definitely something broken in my config, but I just can't seem to find out what it is. _________________ http://dkap.info |
|
Back to top |
|
|
|