[MacPorts] #47239: gmp: No valid Xcode installation is properly selected (was: Failed to install gmp; Processing of port gcc47 failed)

MacPorts noreply at macports.org
Mon Mar 23 23:38:14 PDT 2015


#47239: gmp: No valid Xcode installation is properly selected
-------------------------+--------------------------------
  Reporter:  purnesht@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:  invalid     |   Keywords:
      Port:  gmp         |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: ryandesign@… (added)
 * type:  update => defect
 * resolution:   => invalid
 * port:   => gmp


Old description:

> 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

New description:

 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
 }}}

--

Comment:

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

 {{{
 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47239#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list