configure result "checking whether the C compiler works... no"

Jeremy Huddleston jeremyhu at macports.org
Fri Aug 19 00:07:30 PDT 2011


On Aug 18, 2011, at 3:15 PM, Bradley Giesbrecht wrote:

> I'm trying to install MacPorts an a machine just upgraded from Snow Leopard to Lion. xCode is still at v3.x.
> 
> I add /Developer/usr/bin to my path:
> 
> base brad$ which gcc
> /Developer/usr/bin/gcc

You didn't install XCode as required by MacPorts.  You need to select the UNIX Development and System Tools packages (which should be enabled by default).  If you do so, you'll get /usr/bin/gcc, etc.



More information about the macports-dev mailing list