Opened 10 years ago

Closed 10 years ago

#47239 closed defect (invalid)

gmp: No valid Xcode installation is properly selected

Reported by: purnesht@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gmp

Description (last modified by ryandesign (Ryan Carsten Schmidt))

My System,
OSX Yosemite (10.10.2 (14C109))

I am trying to install GCC47 but we are getting below error.Please suggest the same.

Error: 
Error: No valid Xcode installation is properly selected.
Error: Please use xcode-select to select an Xcode installation:
Error:     sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # version 6.2
Error: 
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for gcc47
--->  Dependencies to be installed: cloog gmp isl gcc_select ld64 ld64-latest libgcc libiconv libmpc mpfr ppl glpk
--->  Configuring gmp
Error: Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0/config.log
Error: org.macports.configure for port gmp returned: configure failure: command execution failed
Error: Failed to install gmp
Please see the log file for port gmp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log
Error: The following dependencies were not installed: cloog gmp isl gcc_select ld64 ld64-latest libgcc libiconv libmpc mpfr ppl glpk
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gcc47 failed

Change History (2)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Milestone: MacPorts Future
Priority: HighNormal

The Priority and Milestone fields are only for use by Macports committers, please do not set them.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Port: gmp added
Resolution: invalid
Status: newclosed
Summary: Failed to install gmp; Processing of port gcc47 failedgmp: No valid Xcode installation is properly selected
Type: updatedefect

As the error message says, you need to run this command:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Note: See TracTickets for help on using tickets.