Opened 11 years ago

Last modified 11 years ago

#41965 closed defect

par2 fails on configure step — at Version 3

Reported by: macports.ilsa@… Owned by: julian@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign@…
Port: par2

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

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

Change History (5)

Changed 11 years ago by macports.ilsa@…

Attachment: main.log added

main log

Changed 11 years ago by macports.ilsa@…

Attachment: config.log added

config file

comment:1 Changed 11 years ago by macports.ilsa@…

Cc: macports.ilsa@… added

Cc Me!

comment:2 Changed 11 years ago by macports.ilsa@…

I forgot to mention... This is running under 10.9.1.

Please let me know if you need any more info.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; macports.ilsa@… removed
Description: modified (diff)
Keywords: par2 configure removed
Owner: changed from macports-tickets@… to julian@…

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

Googling this error message, I foundthis 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.

Note: See TracTickets for help on using tickets.