Opened 17 years ago
Closed 17 years ago
#12973 closed defect (invalid)
No acceptable C Compiler found
Reported by: | cjohn1965@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | cjohn1965@…,markd@… | |
Port: |
Description
I have just installed Macports and I am trying to update but keep getting the following.
Downloaded MacPorts base version 1.520 Configuring, Building and Installing new MacPorts base DEBUG: permissions OK DEBUG: Setting owner: root group: admin DEBUG: Install in: /opt/local as root : admin - TCL-PACKAGE in /Library/Tcl checking build system type... i686-apple-darwin8.10.1 checking host system type... i686-apple-darwin8.10.1 checking target system type... i686-apple-darwin8.10.1 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. DEBUG: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... i686-apple-darwin8.10.1 checking host system type... i686-apple-darwin8.10.1 checking target system type... i686-apple-darwin8.10.1 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
while executing
"macports::selfupdate [array get global_options]" Error: /opt/local/bin/port: selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... i686-apple-darwin8.10.1 checking host system type... i686-apple-darwin8.10.1 checking target system type... i686-apple-darwin8.10.1 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
Change History (2)
comment:1 Changed 17 years ago by markd@…
Cc: | cjohn1965@… markd@… added |
---|
comment:2 Changed 17 years ago by markd@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
It sounds like you don't have Xcode Tools installed. Do that and try again.
http://geeklair.net/new_macports_guide/#installing.xcode