Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error emerging PHP
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
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Sun Apr 28, 2002 8:43 am    Post subject: Error emerging PHP Reply with quote

I get an error when Gentoo tries to compile PHP:

Code:

checking for Java support... find: /include: No such file or directory
no
configure: error: unable to find Java VM libraries

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 78, Exitcode 1
!!! bad ./configure

!!! emerge aborting on /usr/portage/dev-lang/php/php-4.1.2-r7.ebuild


Any thoughts, suggestions, questions, magic welcome.

BS
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun Apr 28, 2002 8:57 pm    Post subject: Re: Error emerging PHP Reply with quote

BackSeat wrote:
Any thoughts, suggestions, questions, magic welcome.


You're trying to compile PHP with Java support but Java isn't installed on your machine. If you don't want Java support, set the appropriate USE variable. otherwise, try installing a Java VM prior to installing PHP.

You should probably also file a bug report on this (after making sure that someone else hasn't filed one already)

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
adas
Guest





PostPosted: Wed May 01, 2002 6:31 am    Post subject: Reply with quote

I have the same problem despite adding -java to the /etc/make.conf.
I was of the impression that the whole emerge thing was supposed to take care of dependencies, and java was included in everything built so far. (obviously I'm wrong here).
If I comment out the "use java" line in the ebuild then the ebuild fails on mcrypt, likewise on pdflib and mysql. I've given up as I'm already out of my depth on the consequences of doing the above.

Please, any ideas of what's the prob or where I'm going awry.

--Adrian
Back to top
adas
Guest





PostPosted: Wed May 01, 2002 7:29 am    Post subject: Reply with quote

Having investigated further, I find that I needed to do a:
# java-config --set-system-vm=blackdown-jre-1.3.1 (in my case), having done a
# java-config --list-available-vms

All went well after that

--Adrian
Back to top
Alutke
n00b
n00b


Joined: 09 May 2002
Posts: 18

PostPosted: Thu May 09, 2002 11:27 pm    Post subject: Reply with quote

I folloed the java howto for the sun-jdk and then had no problemos compiling php

http://www.gentoo.org/doc/java.html

Hope this helps

Thanks,
Alex
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