Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#27077 closed defect (invalid)

port install ntop

Reported by: olivier.servas@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: blair (Blair Zajac)
Port: db46

Description (last modified by jmroot (Joshua Root))

--->  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
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
Error: The following dependencies failed to build: gd2 xpm xorg-libXext xorg-libX11 xorg-libxcb python26 db46 gdbm openssl readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice libevent libgeoip libpcap rrdtool glib2 dbus intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils p5-xml-parser pango Xft2 xrender xorg-renderproto cairo libpixman tcl wget libidn
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (3)

comment:1 Changed 10 years ago by jmroot (Joshua Root)

Cc: blair@… added
Description: modified (diff)
Port: db46 added
Resolution: invalid
Status: newclosed

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

The error message tells you exactly what you need to do. Do it.

comment:2 Changed 10 years ago by alej.chow@…

I just came across the same problem. If you go to the said URL, it will give you the download link for "Java for Mac OS X 10.6 Update 3." This, I already have installed.

The problem here is that the latest update puts the header files in different directories. To fix, you must make a symbolic link to the Headers directory like so:

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:3 in reply to:  2 Changed 10 years ago by jmroot (Joshua Root)

Replying to alej.chow@…:

If you go to the said URL, it will give you the download link for "Java for Mac OS X 10.6 Update 3."

No, it will give you the download link for "Java for Mac OS X 10.6 Update 3 Developer Package".

Note: See TracTickets for help on using tickets.