下 sudo port selfupdate
會產生錯誤訊息
研究了一下
應該是沒有灌 Xcode 的關係
所以就去抓了 Xcode 回來
安裝了 gcc3.3 gcc4.0 DeveloperTools
但是還是有錯誤訊息如下:
代碼: 選擇全部
www:~ users$ sudo port selfupdate
Password:
DarwinPorts base version 1.310 installed
Downloaded DarwinPorts base version 1.320
Configuring, Building and Installing new DarwinPorts base
Error: /opt/local/bin/port: selfupdate failed: Error installing new DarwinPorts base: shell command "cd /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 77
Command output: checking build system type... powerpc-apple-darwin8.8.0
checking host system type... powerpc-apple-darwin8.8.0
checking target system type... powerpc-apple-darwin8.8.0
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
www:~ users$請大家幫忙看一下
謝謝