Changes between Initial Version and Version 1 of Ticket #27680


Ignore:
Timestamp:
Dec 15, 2010, 9:53:35 AM (10 years ago)
Author:
ryandesign (Ryan Schmidt)
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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27680

    • Property Owner changed from macports-tickets@… to blair@…
    • Property Keywords missing java headers db64 removed
    • Property Summary changed from Error: Target org.macports.configure returned: missing Java headers to db46: alternate solution for missing Java headers
    • Property Port db46 added
  • Ticket #27680 – Description

    initial v1  
    11Configuring 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:
    22
    3 
     3{{{
    44--->  Configuring db46
    55Error: db46 requires the Java for Mac OS X development headers.
     
    88Error: Failed to install db46
    99Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
    10 
     10}}}
    1111
    1212After searching the web, the problem solves by creating a link:
    1313
     14{{{
    1415sudo ln -s /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers
     16}}}