Created
October 20, 2013 11:54
-
-
Save janodev/7068572 to your computer and use it in GitHub Desktop.
Macports + Mavericks + Xcode 5.0.1 GM. From http://www.ghostwheel.com/merlin/Personal/notes/2013/10/05/macports-on-mavericks/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Xcode 5.0.1 GM seed, open it, install Command Line Tools. | |
# Uninstall macports, see https://www.macports.org/guide/chunked/installing.macports.uninstalling.html | |
# Run the following: | |
curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.2.0.tar.bz2 | |
tar jxvf MacPorts-2.2.0.tar.bz2 | |
cd MacPorts-2.2.0 | |
CC=/usr/bin/cc ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline \ | |
--with-tclpackage=/Library/Tcl \ | |
--with-tcl=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework \ | |
--with-tclinclude=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework/Headers | |
sudo make | |
sudo make install | |
export PATH=/opt/local/bin:$PATH # add this to your ~/.profile if you still didn't | |
sudo port -dv selfupdate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment