Fwd: package installation fails with Homebrew

Elmar Stellnberger estellnb at gmail.com
Sun Apr 15 02:36:33 PDT 2012


Now; that hasn`t helped:
root:/Applications> ln -s Utilities/Xcode.app/ .

Ports simply seems to refuse any work as soon as you have installed a different
gcc like homebrew in the root path (xcode-select -switch /).



Am 14. April 2012 12:32 schrieb Rainer Müller <raimue at macports.org>:
> On 2012-04-14 11:26 , Elmar Stellnberger wrote:
>> Excuse me, but there is something completely messed with ports.
>> It should take the path out of xcode-select, shouldn`t it.
>>
>> root:/> xcode-select -print-path
>> /Applications/Utilities/Xcode.app/Contents/Developer
>
> Is your Xcode.app really in Utilities?
>
  Yes; in deed it is. This is not a developer`s machine and we don`t really
wanna have it in /Applications, directly.

> This should be /Applications/Xcode.app/Contents/Developer/ for a default
> installation.
>
>> root:/> xcodebuild -version
>> Xcode 4.3.2
>> Build version 4E2002
>> root:/> echo $PATH
>> /Applications/Utilities/Xcode.app/Contents/Developer/usr/bin/:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/X11R6/bin
>> root:/> port install sshfs
>> Error: The installed version of Xcode (2.0orlower) is too old to use
>> on the installed OS version. Version 4.1 or later is recommended on
>> Mac OS X 10.7.
>> Error: Status 1 encountered during processing.
>> To report a bug, see <http://guide.macports.org/#project.tickets>
>
> MacPorts ignores your PATH and sets its own according to the binpath
> option in macports.conf.
However I haven`t really found anything like an xcode-select path to give
the path for Xcode.app or the Console tools in macports.conf.

>
> Do you have /usr/bin/xcodebuild and /usr/bin/xcode-select?
  Yes, they are here.

>
> Also please make sure you have at least Mac OS X 10.7.3 for use with
> Xcode >= 4.3 as these tools were moved from the Xcode package to OS X
> base in this update.
  Yes, we have.

>
> Rainer
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev


More information about the macports-dev mailing list