Skip to content

Instantly share code, notes, and snippets.

@passingloop
Created August 25, 2011 02:03
Show Gist options
  • Save passingloop/1169792 to your computer and use it in GitHub Desktop.
Save passingloop/1169792 to your computer and use it in GitHub Desktop.
MacPorts 2.0.1 インストールログ
~/work % curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.0.1.tar.bz2 (1)
~/work % bzip2 -cd MacPorts-2.0.1.tar.bz2 | tar xf - (2)
~/work/MacPorts-2.0.1 % CC=/Developer/usr/bin/llvm-gcc PATH=/sbin:/usr/sbin:$PATH ./configure --prefix=/opt/macports (3)
~/work/MacPorts-2.0.1 % nice -20 make -j4 (4)
~/work/MacPorts-2.0.1 % sudo make install (5)
~/work/MacPorts-2.0.1 % id macports | cut -d ' ' -f 1-2 (6)
uid=504(macports) gid=503(macports)
~/work/MacPorts-2.0.1 % alias sport (7)
sport='sudo CC=/Developer/usr/bin/llvm-gcc CXX=/Developer/usr/bin/llvm-g++ TMPDIR=/opt/tmp port'
~/work/MacPorts-2.0.1 % sport selfupdate (8)
Warning: No index(es) found! Have you synced your source indexes?
---> Updating the ports tree
---> Updating MacPorts base sources using rsync
MacPorts base version 2.0.1 installed,
MacPorts base version 2.0.1 downloaded.
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
@passingloop
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment