Opened 12 years ago
Closed 12 years ago
#36119 closed defect (worksforme)
gcc47 @4.7.1_4 Build error - libtool version error
Reported by: | kkchen@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | mountainlion | Cc: | mww@… |
Port: | gcc47 |
Description
I'm running Mac OS 10.8.1 with Xcode 4.4.1. Upon doing a port install gcc47
, I get
---> Computing dependencies for gcc47 ---> Building gcc47 Error: org.macports.build for port gcc47 returned: command execution failed Please see the log file for port gcc47 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/main.log
In the log file, the first error that pops up is
:info:build /bin/sh ./libtool --tag=CC --mode=compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/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 -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.1/libgomp -I../../../gcc-4.7.1/libgomp/config/bsd -I../../../gcc-4.7.1/libgomp/config/posix -I../../../gcc-4.7.1/libgomp -Wall -Werror -Wc,-pthread -g -pipe -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c -o alloc.lo ../../../gcc-4.7.1/libgomp/alloc.c :info:build ./libtool: line 533: CDPATH: command not found :info:build libtool: Version mismatch error. This is libtool 2.2.7a, but the :info:build libtool: definition of this LT_INIT comes from an older release. :info:build libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a :info:build libtool: and run autoconf again. :info:build make[5]: *** [alloc.lo] Error 63
The full log is attached.
Attachments (1)
Change History (5)
Changed 12 years ago by kkchen@…
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Cc: | mww@… added |
---|---|
Keywords: | mountainlion added; g++ gfortran mountain lion removed |
Owner: | changed from macports-tickets@… to jeremyhu@… |
comment:2 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Have you done something "special" with your system wrt libtool?
Please 'sudo port -v clean gcc47' and try again. If it fails, attach the full build log.
comment:3 Changed 12 years ago by kkchen@…
That seems to have fixed it; thanks.
Originally I had only done
port -fp uninstall installed port install gcc47
but I forgot about the cleaning step.
comment:4 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Build log