Nov 29, 2010

MacPorts の "db46 requires the Java..." エラー

MacPorts でアップデートをしようとしたら以下の様なエラーが発生した。

$sudo port upgrade outdated
   (略)
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
Error: The following dependencies were not installed: python26 db46 gdbm rsync popt
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

メッセージの通り https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 から Java for Mac OS X 10.6 Update 3 Developer Package をダウンロード(要 Apple ID)し、インストールして一件落着。

TrackBack ping me at
http://www.in-vitro.jp/blog/index.cgi/Apple/20101129_01.trackback
Post a comment

writeback message: Ready to post a comment.