[MacPorts] #41965: par2 fails on configure step

MacPorts noreply at macports.org
Sun Dec 29 13:32:48 PST 2013


#41965: par2 fails on configure step
------------------------------+----------------------
  Reporter:  macports.ilsa@…  |      Owner:  julian@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.2.1
Resolution:                   |   Keywords:
      Port:  par2             |
------------------------------+----------------------
Changes (by ryandesign@…):

 * keywords:  par2 configure =>
 * cc: macports.ilsa@… (removed)
 * cc: ryandesign@… (added)
 * owner:  macports-tickets@… => julian@…


Old description:

> When building par2, I get the following error:
> :info:configure checking build system type... i686-apple-darwin13.0.0
> :info:configure checking host system type... i686-apple-darwin13.0.0
> :info:configure checking for a BSD-compatible install... /usr/bin/install
> -c
> :info:configure checking whether build environment is sane... yes
> :info:configure checking for gawk... no
> :info:configure checking for mawk... no
> :info:configure checking for nawk... no
> :info:configure checking for awk... awk
> :info:configure checking whether make sets $(MAKE)... yes
> :info:configure checking for C++ compiler default output file name...
> configure: error: C++ compiler cannot create executables
> :info:configure See `config.log' for more details.
> :info:configure Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_par2/par2/work/par2cmdline-0.4"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> :info:configure Exit code: 77
> :error:configure Failed to configure par2, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_par2/par2/work/par2cmdline-0.4/config.log

New description:

 {{{
 When building par2, I get the following error:
 :info:configure checking build system type... i686-apple-darwin13.0.0
 :info:configure checking host system type... i686-apple-darwin13.0.0
 :info:configure checking for a BSD-compatible install... /usr/bin/install
 -c
 :info:configure checking whether build environment is sane... yes
 :info:configure checking for gawk... no
 :info:configure checking for mawk... no
 :info:configure checking for nawk... no
 :info:configure checking for awk... awk
 :info:configure checking whether make sets $(MAKE)... yes
 :info:configure checking for C++ compiler default output file name...
 configure: error: C++ compiler cannot create executables
 :info:configure See `config.log' for more details.
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_par2/par2/work/par2cmdline-0.4"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
 :info:configure Exit code: 77
 :error:configure Failed to configure par2, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_par2/par2/work/par2cmdline-0.4/config.log
 }}}

--

Comment:

 You don't need to Cc yourself when you're the reporter. But you should Cc
 the maintainer of the port. I've assigned the ticket to him now.

 The config.log says the reason why the C++ compiler cannot create
 executables is:

 {{{
 configure:1950: /opt/local/bin/llvm-g++-4.2 -Os -arch x86_64
 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names
 -arch x86_64 conftest.cc  >&5
 ld: library not found for -lcrt1.10.6.o
 }}}

 [https://www.google.com/search?rls=en&q=%22library+not+found+for+-lcrt1.10.6.o%22&ie=UTF-8&oe=UTF-8
 Googling this error message], I
 found[http://stackoverflow.com/questions/19555312/ld-library-not-found-
 for-lcrt1-10-6-o-after-running-intel-icc-compiler-on-os-m this Stack
 Overflow post] which says this could be caused by not installing the Xcode
 command line tools, so please ensure you've done that by running `xcode-
 select --install`.

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


More information about the macports-tickets mailing list