啥也没写
分类: LINUX
2011-05-07 20:41:38
oday, I tried to do a ‘sudo port selfupdate’ and ‘sudo port upgrade outdated’. I say ‘tried’ because it failed when it tried to upgrade db46:
---> Configuring db46
Error: db46 requires the Java for Mac OS X development headers.
Error: Download the Java Developer Package from: <
Error: Target org.macports.configure returned: missing Java headers
So I opened that link just to see that I need a developer account to be able to log in and download. On reading the error message the second time, I noticed that it said “missing Java headers”. Searching the web for both this message and a few other keywords like macports and db46, I found the : You have to symlink the actual headers directory to another dir (this is not done with the current Java version I guess):
sudo ln -s /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers
So I checked for the first directory being there and linked it to the other place. Now db46 built correctly and I can use ffmpeg again \o/