Opened 15 years ago

Last modified 15 years ago

#19043 closed defect

sudo port selfupdate, error 1, C compiler, $PATH — at Initial Version

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

Description

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 (0)

Note: See TracTickets for help on using tickets.