CurrentJDK -> 1.5 in directory /System/Library/Frameworks/JavaVM.framework/Versions By running
sudo rm CurrentJDK, then sudo ln -s 1.5 CurrentJDK Clearly this leaves your Java installation broken for anything requiring
1.6!
CurrentJDK -> 1.5 in directory /System/Library/Frameworks/JavaVM.framework/Versions sudo rm CurrentJDK, then sudo ln -s 1.5 CurrentJDK 1.6!
the move from Leopard to Snow Leopard can be slippery
emacs-app won't compile; different versions of python fall over each other; NLTK won't build ...Here are some tips others have found helpful:
% sudo port selfupdate % port installed % sudo port uninstall installed
sudo port selfupdateport installedsudo port uninstall installedI had some problems when I moved to snow leopard, so I also removed all trace of macports
sudo rm -rf /opt/local \ /Applications/MacPorts \ /Applications/DarwinPorts \ /Library/Tcl/macports1.0 \ /Library/Tcl/darwinports1.0 \ /Library/LaunchDaemons/org.macports.* \ /Library/StartupItems/DarwinPortsStartup \ /Library/Receipts/MacPorts*.pkg \ /Library/Receipts/DarwinPorts*.pkg \ ~/.macports
use the Snow Leopard MacPorts disk image
% sudo port selfupdate
which ports are available for snow-leopard? before you decide which ports to install.
% sudo port install <????>
sudo port install <????><????> should be a space- separated list of port names,< >There is a problem with emacs-app—and we can't work without emacs...
emacs-app To install emacs-app, first download emacs-app-Portfile-snow-leopard.patch
and
emacs-23.1-snow-leopard.patch
% sudo port clean emacs-app % sudo port install emacs-app % cd $(port dir emacs-app) % sudo patch -p0 < ~/Downloads/emacs-app-Portfile-snow-leopard.patch % sudo cp ~/Downloads/emacs-23.1-snow-leopard.patch ./files/ % sudo port -D . install
Works for me, but your mileage may vary ....