Opened 16 years ago

Closed 15 years ago

#19043 closed defect (worksforme)

sudo port selfupdate, error 1, C compiler, $PATH

Reported by: webguy@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.7.0
Keywords: compiler Cc:
Port:

Description (last modified by blb@…)

When I run

sudo port selfupdate

It gives me error 1, and says

no acceptable C compiler found in $PATH

I looked at config.log, but it gave me no more insight into what to do about this. Please advise.

Following is the complete output I get from

sudo port selfupdate:

MacPorts base version 1.700 installed
Downloaded MacPorts base version 1.710

Installing new MacPorts release in /opt/local as root:admin - TCL-PACKAGE in /Library/Tcl; Permissions: 0755

Error: /opt/local/bin/port: 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-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 && make && make install" returned error 1
Command output: checking build system type... i686-apple-darwin9.6.0
checking host system type... i686-apple-darwin9.6.0
checking target system type... i686-apple-darwin9.6.0
checking MacPorts version... 1.7.1
checking for sw_vers... sw_vers
checking Mac OS X version... 10.5.6
checking Xcode version... 3.1.2
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Change History (2)

comment:1 Changed 16 years ago by blb@…

Description: modified (diff)

Hmm, so it detects your Xcode (3.1.2) but doesn't see a cc or gcc? Did you disable Xcode's option for installing stuff under /usr/bin?

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Closing due to lack of response.

Note: See TracTickets for help on using tickets.