Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 14172

Summary: can't compile postgres with java in USE-var (7.3.1)
Product: Gentoo Linux Reporter: Thomas Raschbacher <lordvan>
Component: New packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: java, lordvan, miles
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Raschbacher gentoo-dev 2003-01-19 06:33:03 UTC
i just re-installed my system and i got an error about /usr/bin/ant
(dev-java/ant) not working/there while configure (but it's installed)
(now compiling w/o but it'd be nice to have this fixed)

greetings
P.S.: i looked at the configure script but i got no clue what it's doing ..
Comment 1 Chris Trawick 2003-01-29 12:00:58 UTC
i ran into this when attempting to install postgresql while still running from 
the stage1 cd.  the ant build fails with a hotspot VM error but the package is 
installed anyway without ant.jar.  this causes a classnotfoundexception to 
occur when the postgresql install tries to configure itself.

what fixed it for me was to go through a basic stage 3 install, boot to the 
real system, and then install postgresql.

in any case, bugs should be filed for ant's "kinda-install" and the livecd's 
inability to consistently run java.  however, i'm happy enough with the 
workaround that i don't feel the urge to track them down.
Comment 2 Miles Barr 2003-03-20 08:14:17 UTC
I had this problem with postgresql 7.2 and ended up just downloading the precompiled JDBC drivers. I'm now trying to emerge 7.3.2 and having the same problem. Does the java USE flag just compile the JDBC drivers or is there something else?
Comment 3 Scott Brooks 2003-06-08 16:36:51 UTC
I just had this happen to me, I think it is from updating your JDK, but not logging out 
and back in again. 
 
To fix it for Postgresql 7.3.3 I changed my java-vm to from sun-jdk-1.4.1.02 to 
sun-jdk-1.4.1.03, ran etc-update, logged out, and then back in, and postgresql is 
compiling right now. 
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-07-25 12:38:33 UTC

*** This bug has been marked as a duplicate of 22875 ***