[MacPorts] #27680: db46: alternate solution for missing Java headers (was: Error: Target org.macports.configure returned: missing Java headers)
MacPorts
noreply at macports.org
Wed Dec 15 01:53:35 PST 2010
#27680: db46: alternate solution for missing Java headers
------------------------------------+---------------------------------------
Reporter: torstensteinert@… | Owner: blair@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: db46
------------------------------------+---------------------------------------
Changes (by ryandesign@…):
* keywords: missing java headers, db64 =>
* owner: macports-tickets@… => blair@…
* port: => db46
Old description:
> Configuring db64 fails due to missing Java header files. The files are
> not really missing, but rather in a different directory than searched
> for. Here is the output:
>
> ---> Configuring db46
> Error: db46 requires the Java for Mac OS X development headers.
> Error: Download the Java Developer Package from:
> <https://connect.apple.com/cgi-
> bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719>
> Error: Target org.macports.configure returned: missing Java headers
> Error: Failed to install db46
> Log for db46 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
>
> After searching the web, the problem solves by creating a link:
>
> sudo ln -s
> /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers
New description:
Configuring db64 fails due to missing Java header files. The files are not
really missing, but rather in a different directory than searched for.
Here is the output:
{{{
---> Configuring db46
Error: db46 requires the Java for Mac OS X development headers.
Error: Download the Java Developer Package from:
<https://connect.apple.com/cgi-
bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719>
Error: Target org.macports.configure returned: missing Java headers
Error: Failed to install db46
Log for db46 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
}}}
After searching the web, the problem solves by creating a link:
{{{
sudo ln -s
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers
}}}
--
Comment:
The solution we have thus far recommended is the one you quoted in the
error message, i.e., download and install the Java developer package from
Apple.
P.S: Please remember WikiFormatting.
--
Ticket URL: <https://trac.macports.org/ticket/27680#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list