View previous topic :: View next topic |
Author |
Message |
blubber Retired Dev
Joined: 26 Apr 2002 Posts: 152 Location: Enschede, Netherlands
|
Posted: Fri Apr 26, 2002 8:48 am Post subject: ant doesnt work, will JAVA does fine |
|
|
I've added mysql and postgres to the USE var. Then I emerge php, but when compiling postgres, I get the following message:
checking whether /usr/bin/ant works... no
configure: error: ant does not work
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 38, Exitcode 1
!!! (no error message)
Does anyone know what this means, and what I can do about it? |
|
Back to top |
|
|
mwickes n00b
Joined: 17 Apr 2002 Posts: 18 Location: Cleveland, Ohio
|
Posted: Fri Apr 26, 2002 11:22 am Post subject: I dnld'd Sun's jdk or jre version of java. |
|
|
I had the same error. Install Suns version of java. Make sure to get the 1.3.1.r3 version and not the latest "Look in Suns archives". Just follow Gentoo's instructions http://www.gentoo.org/doc/java.html for getting the right version and put it in /usr/portage/distfiles
emerge sun-j2ee
java-config --list-available-vms
java-config --set-system-vm=sun-jdk-1.3.1
env-update
HTH!
Mike |
|
Back to top |
|
|
c_kuzmanic Guru
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Mon May 13, 2002 7:55 pm Post subject: |
|
|
After you're done installing the sun jdk as described above, you might have to re-emerge ant to get it to work with sun's jdk. |
|
Back to top |
|
|
ravnx n00b
Joined: 02 May 2002 Posts: 9 Location: Houston, TX
|
Posted: Mon May 13, 2002 8:00 pm Post subject: |
|
|
I installed blackdown-jdk for postgresql and had to re-emerge ant before emerging postgresql. Everything works fine now. _________________ no.. you're a towell.. |
|
Back to top |
|
|
|