port selfupdate not working

Ryan Schmidt ryandesign at macports.org
Mon Apr 9 17:19:11 PDT 2012


On Apr 9, 2012, at 19:07, James Benstead wrote:

> Thanks Ryan, Jim.
> 
> I think I've now resolved the problem with the XCode location, but on attempting to run selfupdate again I'm hitting what appears to be a similar problem with the gcc compiler. What should I try next? From the log:
> 
> configure:2945: checking Xcode location
> configure:2948: result: /Developer/Library/Xcode
> configure:3036: checking for gcc
> configure:3063: result: /usr/bin/llvm-gcc-4.2
> configure:3292: checking for C compiler version
> configure:3301: /usr/bin/llvm-gcc-4.2 --version >&5
> ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory

Install the Xcode command line tools.

http://guide.macports.org/#installing.xcode.lion.43




More information about the macports-users mailing list