Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot Get MOD_PHP Ebuild To ./Configure - ERROR
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kdwycha
n00b
n00b


Joined: 18 Mar 2003
Posts: 11
Location: Tampa, Florida, USA

PostPosted: Tue Mar 18, 2003 12:33 pm    Post subject: Cannot Get MOD_PHP Ebuild To ./Configure - ERROR Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Mar 18, 2003 5:19 pm    Post subject: Reply with quote

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


Joined: 18 Mar 2003
Posts: 11
Location: Tampa, Florida, USA

PostPosted: Tue Mar 18, 2003 6:20 pm    Post subject: Reply with quote

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


Joined: 18 Mar 2003
Posts: 11
Location: Tampa, Florida, USA

PostPosted: Tue Mar 18, 2003 9:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 510

PostPosted: Wed Mar 19, 2003 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message
thinair
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2002
Posts: 144
Location: Suisse

PostPosted: Wed Mar 19, 2003 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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