Opened 11 years ago

Closed 11 years ago

#41965 closed defect (invalid)

par2 fails on configure step

Reported by: macports.ilsa@… Owned by: julian@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
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

Attachments (2)

main.log (21.7 KB) - added by macports.ilsa@… 11 years ago.
main log
config.log (8.7 KB) - added by macports.ilsa@… 11 years ago.
config file

Download all attachments as: .zip

Change History (8)

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.

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

This is also in our FAQ.

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

Ack! That was stupid of me. I missed that part entirely. Thank you, everything compiles fine now.

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

Resolution: invalid
Status: newclosed

Ok, glad you got it working.

Note: See TracTickets for help on using tickets.