[MacPorts] #54267: While trying to install a port I got "Error: Failed to configure lbzip2"

MacPorts noreply at macports.org
Thu Jun 1 14:59:21 UTC 2017


#54267: While trying to install a port I got "Error: Failed to configure lbzip2"
---------------------------+-------------------
  Reporter:  SchmollTroll  |      Owner:
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.4.1
Resolution:                |   Keywords:
      Port:  lbzip2        |
---------------------------+-------------------

Comment (by raimue):

 The log points to a problem with your Xcode installation:

 {{{
 :info:configure checking whether the C compiler works... no
 :info:configure configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_lbzip2/lbzip2/work/lbzip2-2.5':
 :info:configure configure: error: C compiler cannot create executables
 :info:configure See `config.log' for more details
 }}}

 The `config.log` in the directory mentioned might contain more clues. You
 could also just try running `/usr/bin/clang --version` from a shell. Have
 you installed Xcode and the Command Line Tools?

--
Ticket URL: <https://trac.macports.org/ticket/54267#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list