Fwd: package installation fails with Homebrew

Rainer Müller raimue at macports.org
Sat Apr 14 03:32:21 PDT 2012


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.
> 
> root:/> xcode-select -print-path
> /Applications/Utilities/Xcode.app/Contents/Developer

Is your Xcode.app really in Utilities?

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.

Do you have /usr/bin/xcodebuild and /usr/bin/xcode-select?

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.

Rainer


More information about the macports-dev mailing list