Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PostreSQL configure problem
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
bobtheclown
n00b
n00b


Joined: 21 May 2003
Posts: 13
Location: Provo, Utah

PostPosted: Thu May 29, 2003 11:17 pm    Post subject: PostreSQL configure problem Reply with quote

While attempting to emerge PostgreSQL, I ran into the following problem
Code:

root@spock hkw2 # emerge postgresql
...
checking for jakarta-ant... no
checking for ant... /usr/bin/ant
checking whether /usr/bin/ant works... no
configure: error: ant does not work
 
!!! ERROR: dev-db/postgresql-7.3.2 failed.
!!! Function src_compile, Line 81, Exitcode 1
!!! (no error message)
 
root@spock hkw2 #


Ant installed just fine (although I'm not sure why it is required), but apprently postgres chokes when trying to use it. I've tried running an `USE="-ant" emerge postgresql`, but to no avail. Any help would be great!

Thanks.
Back to top
View user's profile Send private message
SmegTheLight
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2002
Posts: 97
Location: 3rd Planet

PostPosted: Fri May 30, 2003 12:32 am    Post subject: Reply with quote

Not exactly sure what is causing your problem, but chances are Ant is getting installed because you have the "java" use variable, and postgresql wants to make the JDBC drivers.

re-emerge with
USE="-java" emerge postgresql

and that should bypass (but not solve) your problem.

If in the future you need jdbc, you can also get them from the jdbc-postgresql packages (under the dev-java portage tree).
Back to top
View user's profile Send private message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Fri May 30, 2003 1:56 am    Post subject: Reply with quote

Often such is related to JDK 1.4.1 which is bad. Try to use JDK 1.3.1. And/or downgrade ant. Later you can upgrade both jdk and ant and use JDBC without problems.
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