Ticket #36119 (closed defect: worksforme)
gcc47 @4.7.1_4 Build error - libtool version error
| Reported by: | kkchen@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| 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
Change History
comment:1 Changed 9 months ago by macsforever2000@…
- Owner changed from macports-tickets@… to jeremyhu@…
- Keywords mountainlion added; g++, gfortran, mountain lion removed
- Cc mww@… added
comment:2 Changed 8 months ago by jeremyhu@…
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.
Note: See
TracTickets for help on using
tickets.


Build log