[MacPorts] #27680: Error: Target org.macports.configure returned: missing Java headers
#27680: Error: Target org.macports.configure returned: missing Java headers ----------------------------------------+----------------------------------- Reporter: torstensteinert@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: missing java headers, db64 | Port: ----------------------------------------+----------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/27680> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ------------------------------------+--------------------------------------- Comment(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? -- Ticket URL: <https://trac.macports.org/ticket/27680#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27680: db46: alternate solution for missing Java headers -------------------------------------+-------------------------------------- Reporter: torstensteinert@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: wontfix | Keywords: Port: db46 | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => wontfix Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/27680#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27680: db46: alternate solution for missing Java headers -------------------------------------+-------------------------------------- Reporter: torstensteinert@… | Owner: blair@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: db46 | -------------------------------------+-------------------------------------- Changes (by cionzo@…): * status: closed => reopened * resolution: wontfix => Comment: Replying to [comment:1 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? -- Ticket URL: <https://trac.macports.org/ticket/27680#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27680: db46: alternate solution for missing Java headers -------------------------------------+-------------------------------------- Reporter: torstensteinert@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: wontfix | Keywords: Port: db46 | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => wontfix Comment: Ask for help via the [http://www.macports.org/contact.php appropriate channels] (not the bug tracker). -- Ticket URL: <https://trac.macports.org/ticket/27680#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts