Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] gcc 4.7.0 failing on configure

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Sukneet Basuta <sukneet AT gmail.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] gcc 4.7.0 failing on configure
  • Date: Thu, 10 May 2012 00:25:40 -0400

Fixed with commit 83eae7337dc46e3c89ec815f44620b9bc028fc8a

As stated in the commit message, my fix is more of a hack (I just
added -Wno-extra-portability), so if you or someone else has time
please check if upstream's fix
(https://gforge.inria.fr/scm/viewvc.php/trunk/configure.ac?r1=1156&r2=1126&pathrev=1156&root=mpc&view=patch)
works for you. In my case it tried to run the ar-lib lib script, which
doesn't exist in the tarball. Running automake --add-missing fixes
that, but that doesn't seem like a good fix to me. From my
understanding, ar-lib should only run if the detected archiver is
Microsoft lib.

FYI, this happens because automake 1.12 enables -Wextra-portability by
default, whereas it did not before.

On Wed, May 9, 2012 at 10:14 PM, Robin Cook <rcook AT wyrms.net> wrote:
> Tried to cast libmpc and it doesn't work either....
>
> Unpacking source file mpc-0.9.tar.gz for spell libmpc.
> patching file configure.ac
> /usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of
> AM_PATH_XDELTA
> /usr/share/aclocal/xdelta.m4:7:   run info Automake 'Extending aclocal'
> /usr/share/aclocal/xdelta.m4:7:   or see
> http://www.gnu.org/software/automake/manual/automake.html#Extending-acloc
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
> m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
> m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
> m4/libtool.m4:138: _LT_SETUP is expanded from...
> m4/libtool.m4:67: LT_INIT is expanded from...
> m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
> configure.ac:93: the top level
> automake: warnings are treated as errors
> /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libmpc.la': linking
> libtool libraries using a non-POSIX
> /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
> in 'configure.ac'
> src/Makefile.am:4:   while processing Libtool library 'libmpc.la'
> /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libmpc-tests.la':
> linking libtool libraries using a non-POSIX
> /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
> in 'configure.ac'
> tests/Makefile.am:17:   while processing Libtool library
> 'libmpc-tests.la'
> autoreconf: automake failed with exit status: 1
>
> CuZnDragon
> Robin Cook
>
>
> On Wed, 2012-05-09 at 00:37 -0400, Sukneet Basuta wrote:
>> You want to cast libmpc, not mpc.
>> Casting the devel branch of gmp (5.x, which is stable btw) may also help.
>>
>> On Tue, May 8, 2012 at 11:44 PM, Robin Cook <rcook AT wyrms.net> wrote:
>> > checking for the correct version of gmp.h... yes
>> > checking for the correct version of mpfr.h... yes
>> > checking for the correct version of mpc.h... yes
>> > checking for the correct version of the gmp/mpfr/mpc libraries... no
>> > configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC
>> > 0.8.0+.
>> > Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
>> > their locations.
>> >
>> > gmp:
>> > 4.3.2
>> > mpfr:
>> > 3.1.0
>> > mpc:
>> > 0.22
>> >
>> >
>> > I have recast the above with the same error.
>> >
>> > currently have gcc 4.6.3 : C, C++, and FORTRAN
>> >
>> >
>> > _______________________________________________
>> > SM-Discuss mailing list
>> > SM-Discuss AT lists.ibiblio.org
>> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>> >
>> _______________________________________________
>> SM-Discuss mailing list
>> SM-Discuss AT lists.ibiblio.org
>> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>>
>
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>




Archive powered by MHonArc 2.6.24.

Top of Page