View previous topic :: View next topic |
Author |
Message |
kdwycha n00b
Joined: 18 Mar 2003 Posts: 11 Location: Tampa, Florida, USA
|
Posted: Tue Mar 18, 2003 12:33 pm Post subject: Cannot Get MOD_PHP Ebuild To ./Configure - ERROR |
|
|
After I "emerge mod_php" I get the following error during the configure script. Could someone point me in the right direction to get this issue resolved?
checking for PSPELL support... yes
checking for QtDOM support... yes
checking for c++... g++
checking whether the C++ compiler (g++ -march=athlon-xp -O3 -pipe -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/opt/blackdown-jdk-1.3.1/jre/lib/i386/classic -L/opt/blackdown-jdk-1.3.1/jre/lib/i386/classic -Wl,-rpath,/opt/blackdown-jdk-1.3.1/jre/lib/i386/server -L/opt/blackdown-jdk-1.3.1/jre/lib/i386/server -Wl,-rpath,/opt/blackdown-jdk-1.3.1/jre/lib/i386/native_threads -L/opt/blackdown-jdk-1.3.1/jre/lib/i386/native_threads -Wl,-rpath,/opt/blackdown-jdk-1.3.1/jre/lib/i386 -L/opt/blackdown-jdk-1.3.1/jre/lib/i386 -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
!!! ERROR: dev-php/mod_php-4.3.1 failed.
!!! Function src_compile, Line 216, Exitcode 1
!!! bad ./configure
Thank You,
Kevin Wycha |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Mar 18, 2003 5:19 pm Post subject: |
|
|
Can you look in the mod_php directory under /var/tmp/portage/ for a file called config.log? It may have some detailed information about why g++ is failing. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
kdwycha n00b
Joined: 18 Mar 2003 Posts: 11 Location: Tampa, Florida, USA
|
Posted: Tue Mar 18, 2003 6:20 pm Post subject: |
|
|
rac wrote: | Can you look in the mod_php directory under /var/tmp/portage/ for a file called config.log? It may have some detailed information about why g++ is failing. |
Here is what is contained within this file at the point of error.
configure:62610: checking for c++
configure:62642: checking whether the C++ compiler (g++ -march=athlon-xp -O3 -pipe -Wl,-rpath,/usr/X11R6/lib -L$
configure:62658: g++ -o conftest -march=athlon-xp -O3 -pipe -DHARD_SERVER_LIMIT=512 -D_LARGEFILE_SOURCE -D_FILE$
/opt/blackdown-jdk-1.3.1/jre/lib/i386/libjava.so: undefined reference to `jdk_sem_post'
/opt/blackdown-jdk-1.3.1/jre/lib/i386/libjava.so: undefined reference to `jdk_waitpid'
/opt/blackdown-jdk-1.3.1/jre/lib/i386/libjava.so: undefined reference to `jdk_pthread_sigmask'
/opt/blackdown-jdk-1.3.1/jre/lib/i386/libjava.so: undefined reference to `fork1'
/opt/blackdown-jdk-1.3.1/jre/lib/i386/libjava.so: undefined reference to `jdk_sem_wait'
/opt/blackdown-jdk-1.3.1/jre/lib/i386/libjava.so: undefined reference to `jdk_sem_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 62653 "configure"
#include "confdefs.h"
int main(){return(0);} |
|
Back to top |
|
|
kdwycha n00b
Joined: 18 Mar 2003 Posts: 11 Location: Tampa, Florida, USA
|
Posted: Tue Mar 18, 2003 9:10 pm Post subject: |
|
|
I figured out that you can put -java in your USE variable in /etc/make.conf to get mod_php to configure and compile. I guess you could do a commandline USE variable too...i think thats USE="-java" or something like that |
|
Back to top |
|
|
MoonWalker Guru
Joined: 04 Jul 2002 Posts: 510
|
Posted: Wed Mar 19, 2003 9:24 am Post subject: |
|
|
I got this error too and I wonder if it can have anything to do my gcc are still 2.95.x on the effected box?[/code] _________________ /Joakim
Living on earth is expensive, but it includes a free trip around the sun
every year. |
|
Back to top |
|
|
thinair Tux's lil' helper
Joined: 01 Nov 2002 Posts: 144 Location: Suisse
|
Posted: Wed Mar 19, 2003 11:48 am Post subject: |
|
|
same problem for me...
I'll try to install without java... _________________ http://www.gentoofr.org
Le site francophone de GNU/Linux Gentoo |
|
Back to top |
|
|
|