Opened 13 years ago

Closed 13 years ago

#27680 closed defect (wontfix)

db46: alternate solution for missing Java headers

Reported by: torstensteinert@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: db46

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (5)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: missing java headers db64 removed
Owner: changed from macports-tickets@… to blair@…
Port: db46 added
Summary: Error: Target org.macports.configure returned: missing Java headersdb46: alternate solution for missing Java headers

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.

comment:2 Changed 13 years ago by torstensteinert@…

As far as I understand, I already had the Java developer package installed. Else I would not have been able to fix this by creating the link (see ticket-description). Could the directory of the header files have changed in the last java version?

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

We're not going to modify /System. Yes, the last Java update removed the headers and you need to install the corresponding developer package update to get them back.

comment:4 in reply to:  1 Changed 13 years ago by cionzo@…

Resolution: wontfix
Status: closedreopened

Replying to ryandesign@…:

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.

Hi, I tried to apply the proposed solution, but it doesn't work. What should I do?

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: reopenedclosed

Ask for help via the appropriate channels (not the bug tracker).

Note: See TracTickets for help on using tickets.