View previous topic :: View next topic |
Author |
Message |
blubber Retired Dev
Joined: 26 Apr 2002 Posts: 152 Location: Enschede, Netherlands
|
Posted: Sat May 18, 2002 6:29 am Post subject: [Postgresql] ant error |
|
|
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 |
|
|
blubber Retired Dev
Joined: 26 Apr 2002 Posts: 152 Location: Enschede, Netherlands
|
Posted: Sat May 18, 2002 7:23 am Post subject: |
|
|
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 |
|
|
c_kuzmanic Guru
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
|
Back to top |
|
|
blubber Retired Dev
Joined: 26 Apr 2002 Posts: 152 Location: Enschede, Netherlands
|
Posted: Sat May 18, 2002 7:28 am Post subject: |
|
|
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 |
|
|
bert n00b
Joined: 20 Jun 2002 Posts: 11 Location: Amsterdam
|
Posted: Sat Jun 22, 2002 10:18 pm Post subject: |
|
|
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 |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sat Jun 22, 2002 10:33 pm Post subject: |
|
|
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 |
|
|
niyogi Apprentice
Joined: 10 Apr 2002 Posts: 199 Location: Austin, TX
|
Posted: Sat Jun 22, 2002 11:46 pm Post subject: |
|
|
hm... that doesn't seem very intuitive to do to me though |
|
Back to top |
|
|
|