[MacPorts] #19043: sudo port selfupdate, error 1, C compiler, $PATH

MacPorts noreply at macports.org
Sun Mar 29 11:09:19 PDT 2009


#19043: sudo port selfupdate, error 1, C compiler, $PATH
-------------------------------------+--------------------------------------
 Reporter:  webguy@…                 |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  base                     |     Version:  1.7.0                                
 Keywords:  compiler                 |        Port:                                       
-------------------------------------+--------------------------------------
 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/19043>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list