Macports 入れる(1)
まず、port selfupdate
してみたところ。。。
$ sudo port selfupdate
Warning: Failed to copy com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences: could not set owner for file "/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist": user "macports" does not exist
Warning: No index(es) found! Have you synced your source indexes?
---> Updating MacPorts base sources using rsync
MacPorts base version 2.1.0 installed,
MacPorts base version 2.1.3 downloaded.
---> Updating the ports tree
---> MacPorts base is outdated, installing new version 2.1.3
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed
user "macports" does not exist
ってなんだ?
とりあえず、XCode4 で、Command Line Tools を入れましょう。
で、もう一度、port selfupdate
を実行。
$ sudo port selfupdate
Warning: Failed to copy com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences: could not set owner for file "/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist": user "macports" does not exist
---> Updating MacPorts base sources using rsync
MacPorts base version 2.1.0 installed,
MacPorts base version 2.1.3 downloaded.
---> Updating the ports tree
---> MacPorts base is outdated, installing new version 2.1.3
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated