selfupdate fails

Joshua Root jmr at macports.org
Thu Jun 17 12:21:07 PDT 2010


On 2010-6-18 05:05 , Daniel J. Luke wrote:
> On Jun 17, 2010, at 2:58 PM, Marko Käning wrote:
>>> Well, can your C compiler create executables? Is Xcode properly installed? Check the config.log for more details!
>> up to now i never had problems with my macports and Xcode installation…
>>
>> config.log says this:
>> ---
>> configure:3002: checking for gcc
>> configure:3018: found /opt/local/bin/no_default_gcc/gcc
> 
> you don't want it to find this compile, you want to use the one installed by Xcode.
> 
> You probably have 'CC' set so AC_PROG_CC is finding this instead of the 'normal' Xcode installed compiler.
> 
> When normally installing ports, Macports sanitizes the environment so this isn't an issue, but I think that this doesn't happen for building macports (I could be wrong).

We do clean out the environment at startup. Marko must have CC in
extra_env or something, in which case it's just doing what he asked it to.

- Josh


More information about the macports-users mailing list