Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3744 - Postgresql 7.2.1 refuses to compile with JDK 1.4 even with USE-"-java"
Summary: Postgresql 7.2.1 refuses to compile with JDK 1.4 even with USE-"-java"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 18:37 UTC by Leigh Dyer
Modified: 2007-09-22 22:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leigh Dyer 2002-06-14 18:37:42 UTC
 
Comment 1 Leigh Dyer 2002-06-14 18:42:58 UTC
I accidentally hit the Commit button without putting in the description, so I'll
do it here.

I have Sun's 1.4.0 JDK installed. When trying to emerge postgresql 7.2.1, it
wanted to install 1.3.1, which is fine - apparently there are compile problems
with 1.4.0. However, I then tried to emerge postgresql with USE="-java". The
1.3.1 JDK dependency went away, but postgresql fails with the following message:

* Cannot build with Sun JDK 1.4.0, use an 1.3.x JDK instead.

Looking in the ebuild, this check is in pkg_setup(), but it's run regardless of
whether java is wanted in the ebuild or not.
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-06-16 23:06:17 UTC
Thanks for that catch... Should be fixed now.