port selfupdate not working

James Benstead james.benstead at gmail.com
Mon Apr 9 17:07:40 PDT 2012


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
> configure:3312: $? = 127
> configure:3301: /usr/bin/llvm-gcc-4.2 -v >&5
> ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory
> configure:3312: $? = 127
> configure:3301: /usr/bin/llvm-gcc-4.2 -V >&5
> ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory
> configure:3312: $? = 127
> configure:3301: /usr/bin/llvm-gcc-4.2 -qversion >&5
> ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory
> configure:3312: $? = 127
> configure:3332: checking whether the C compiler works
> configure:3354: /usr/bin/llvm-gcc-4.2    conftest.c  >&5
> ./configure: line 3356: /usr/bin/llvm-gcc-4.2: No such file or directory


On 9 April 2012 22:50, Ryan Schmidt <ryandesign at macports.org> wrote:

>
> On Apr 9, 2012, at 13:39, James Benstead wrote:
>
> > Thanks Ryan. Logfile attached. The error message created this time is as
> follows (long):
> >
> > jims-mbp-2:~ jim$ sudo port -v selfupdate
> [snip]
> > checking Xcode location... xcode-select: Error: No Xcode folder is set.
> Run xcode-select -switch <xcode_folder_path> to set the path to the Xcode
> folder.
>
> Sounds like you should do what the error message says. This is mentioned
> in:
>
> https://trac.macports.org/wiki/ProblemHotlist#xcode43
>
> Ensure you've also read:
>
> http://guide.macports.org/#installing.xcode.lion.43
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120410/a805abd2/attachment.html>


More information about the macports-users mailing list