Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Postgresql] ant 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
blubber
Retired Dev
Retired Dev


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

PostPosted: Sat May 18, 2002 6:29 am    Post subject: [Postgresql] ant error Reply with quote

I want to install postgresql, but emerge postgresql doesn't work. After a while configuring my computer says:
checking for jakarta-ant... no
checking for ant... /usr/bin/ant
checking whether /usr/bin/ant works...

But it doesn't go any further. Linux isn't crasht, I cna still use any other console. Does anybody know what to do?
Back to top
View user's profile Send private message
blubber
Retired Dev
Retired Dev


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

PostPosted: Sat May 18, 2002 7:23 am    Post subject: Reply with quote

I have tried to install sun jdk 1.3 but it doesn't work, when running java-config --list-available-vms my computer reports this:
no java installation found

But i have emerged sun-jdk sun-j2ee and also the blackdown jdkand jre. What am I doing wrong?!
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: Sat May 18, 2002 7:25 am    Post subject: Reply with quote

Hi;

Follow this thread and you should be fine: http://forums.gentoo.org/viewtopic.php?t=1022&highlight=postgres
Back to top
View user's profile Send private message
blubber
Retired Dev
Retired Dev


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

PostPosted: Sat May 18, 2002 7:28 am    Post subject: Reply with quote

that did not work, it was the first thing I tried. I just followed the gentoo manual, but java-config can't find my installation...
Back to top
View user's profile Send private message
bert
n00b
n00b


Joined: 20 Jun 2002
Posts: 11
Location: Amsterdam

PostPosted: Sat Jun 22, 2002 10:18 pm    Post subject: Reply with quote

I had to copy ant.jar from some jakarta-tomcat system (to /usr/share/ant/lib/ ) before ant worked and postgresql configure stopped complaining. After that emerge went fine.

O yes and I needed to fiddle with java-config, (blackdown was the only VM installed but not promoted to system VM) and ant somehow didn't end up as a java-config CLASSPATH package, so had to do that manually also. This is probably what somebody in the other thread got fixed by re-emerging ant.

My EUR .02,

Bert
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Sat Jun 22, 2002 10:33 pm    Post subject: Reply with quote

If you don't need java support with PostgreSQL (I didn't) you can always set your USE var to include -java and emerge PostgreSQL. It'll build find without it. Try:

Code:
USE="-java" emerge postgres


You can refer this and this on gentoo-user mailing list.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sat Jun 22, 2002 11:46 pm    Post subject: Reply with quote

hm... that doesn't seem very intuitive to do to me though
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