Opened 13 years ago
Closed 13 years ago
#30826 closed defect (invalid)
configure: error: no acceptable C compiler found in $PATH — at Version 1
Reported by: | leedavis@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.0.1 |
Keywords: | Cc: | ||
Port: |
Description (last modified by jmroot (Joshua Root))
I found https://trac.macports.org/ticket/30375 and so went to the AppStore, did an install of Xcode, and rebooted my system.
My complete noob guess is the new way of installing Xcode, via the App Store, does not set up some shell variable? What is the workaround?
I still got
sudo port -v selfupdate Password: ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/ receiving file list ... done ./ sent 59 bytes received 535190 bytes 214099.60 bytes/sec total size is 29518864 speedup is 55.15 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/ports Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 8176 ---> Updating MacPorts base sources using rsync receiving file list ... done ./ deleting config.log sent 42 bytes received 6779 bytes 4547.33 bytes/sec total size is 2960227 speedup is 433.99 MacPorts base version 1.9.1 installed, MacPorts base version 2.0.1 downloaded. ---> MacPorts base is outdated, installing new version 2.0.1 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl checking build system type... i386-apple-darwin11.0.0 checking host system type... i386-apple-darwin11.0.0 checking target system type... i386-apple-darwin11.0.0 checking MacPorts version... 2.0.1 checking for sw_vers... /usr/bin/sw_vers checking for defaults... /usr/bin/defaults checking for xcode-select... no checking Mac OS X version... 10.7 checking Xcode version... 3.2.4 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 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 --enable-readline && make && make install" returned error 1 Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed
Change History (1)
comment:1 Changed 13 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|---|
Description: | modified (diff) |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Please remember to preview and use WikiFormatting.
You don't appear to have installed Xcode 4.1. As shown in the output,
xcodebuild -version
is returning 3.2.4. One possibility is that you didn't run the Xcode installer after downloading it from the App Store.