Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ant doesnt work, will JAVA does fine
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
blubber
Retired Dev
Retired Dev


Joined: 26 Apr 2002
Posts: 152
Location: Enschede, Netherlands

PostPosted: Fri Apr 26, 2002 8:48 am    Post subject: ant doesnt work, will JAVA does fine Reply with quote

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


Joined: 17 Apr 2002
Posts: 18
Location: Cleveland, Ohio

PostPosted: Fri Apr 26, 2002 11:22 am    Post subject: I dnld'd Sun's jdk or jre version of java. Reply with quote

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


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Mon May 13, 2002 7:55 pm    Post subject: Reply with quote

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


Joined: 02 May 2002
Posts: 9
Location: Houston, TX

PostPosted: Mon May 13, 2002 8:00 pm    Post subject: Reply with quote

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
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