Opened 12 years ago

Closed 12 years ago

#36546 closed defect (invalid)

Port complaining Xcode not present, when it is

Reported by: mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: gcc45

Description

Hope this is enough info:

[joe@jdbmbp:~/Installs/OpenFOAM/OpenFOAM-2.1.1] $ sudo port install gcc45
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build.
Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information.
Error: Unable to open port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
Error: Unable to execute port: upgrade libiconv failed

[joe@jdbmbp:~/Installs/OpenFOAM/OpenFOAM-2.1.1] $ xcodebuild -version
Xcode 4.5.1
Build version 4G1004

Change History (2)

comment:1 Changed 12 years ago by mail@…

Cc: mail@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: mail@… removed
Keywords: xcode removed
Resolution: invalid
Status: newclosed

Trac is not for tech support. Please use the Macports-Users Mailing List for follow-up.

You need to install the command line tools.

Note: See TracTickets for help on using tickets.