Opened 11 years ago

Last modified 11 years ago

#39208 closed defect

libstdcxx +universal: configure failure — at Version 2

Reported by: alex.caldas@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: jeremyhu@…
Port: libstdcxx

Description (last modified by larryv (Lawrence Velázquez))

Hi,

I'm trying to install the libstdcxx.
I tried to remove the ld, so when i install the libstdcxx it'll be a dependence.
I tried to install the gcc 4.7 ad 4.8.
I tried to compile with the clang3-3

I saw some posts talking about this problem, but i wasn't able to find a solution.

Now the problem is (i compiled by hand after the error).

r/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin12/bin/ -B/opt/local/x86_64-apple-darwin12/lib/ -isystem /opt/local/x86_64-apple-darwin12/include -isystem /opt/local/x86_64-apple-darwin12/sys-include   
checking for suffix of object files... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/work/build/x86_64-apple-darwin12/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make: *** [all] Error 2

How can i solve it?

Change History (2)

comment:1 Changed 11 years ago by alex.caldas@…

The log returns

:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libstdcxx/work/build" && ../gcc-4.8.0/configure --prefix=/opt/local --build=x86_64-apple-darwin12 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-languages=c++ --disable-bootstrap --with-pkgversion="MacPorts gcc48 4.8.0_0+universal" 
:info:configure Exit code: 77
:error:configure org.macports.configure for port libstdcxx returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed

comment:2 in reply to:  description Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: jeremyhu@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…
Port: libstdcxx added
Summary: Error compiling sudo port install libstdcxx +universallibstdcxx +universal: configure failure

Replying to alex.caldas@…:

I tried to remove the ld, so when i install the libstdcxx it'll be a dependence.

What do you mean by “remove the ld”? What exactly did you do?

Note: See TracTickets for help on using tickets.