View previous topic :: View next topic |
Author |
Message |
BackSeat Apprentice
Joined: 12 Apr 2002 Posts: 242 Location: Reading, UK
|
Posted: Sun Apr 28, 2002 8:43 am Post subject: Error emerging PHP |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Apr 28, 2002 8:57 pm Post subject: Re: Error emerging PHP |
|
|
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 |
|
|
adas Guest
|
Posted: Wed May 01, 2002 6:31 am Post subject: |
|
|
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
|
Posted: Wed May 01, 2002 7:29 am Post subject: |
|
|
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
Joined: 09 May 2002 Posts: 18
|
Posted: Thu May 09, 2002 11:27 pm Post subject: |
|
|
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 |
|
|
|