[gmx-developers] CVS installation problem: error: m4_require: circular dependency of AC_LANG_COMPILER(C++).eml
Roland Schulz
roland at utk.edu
Fri Aug 1 05:51:07 CEST 2008
Hi Arjun,
automake 1.9.6 should work. I have a system were it does work. I find it a
little bit tricky to install automake as non-root user because if you are
not careful it uses the macro files from the default location (and thus the
old version). I so expect you have that problem.
So either be careful to install it with correct paths or do the bootstrap on
another machine.
When you do cvs co you get the current version. Without specifying tags (see
manual) you don't get a spefic version with a version number but instead the
current state of that day. So if you want to compare different CVS versions
you should compare the date of checkout/update.
Roland
On Thu, Jul 31, 2008 at 8:48 PM, Arjun Narayanan <arjun.nufc at gmail.com>wrote:
> thanks Roland. however, when i installed automake 1.9.6, i got the same
> errors. i updated my path to use the new executables and made sure that it
> was using the new versions of aclocal and automake and using autoconf
> 2.6.1. after automake 1.9 didn't work for you on Lonestar, did you then
> update your automake and successfully use bootstrap? were there any other
> updates you had to make and also, do you know what cvs version you had so
> that i can try with that if it's different than the version i have ( and, by
> the way, how do i check what version i have? )
>
> thanks
> arjun
>
>
> On Thu, Jul 31, 2008 at 3:37 PM, Roland Schulz <roland at utk.edu> wrote:
>
>> Hi Arjun,
>>
>> this error comes from aclocal which is part of autmake. Lonestar the only
>> TACC machine I have access to also only has automake 1.9 installed and gives
>> this error. You can either install a newer version of automake, request them
>> to install a newer version or you run bootstrap on another machine and copy
>> the whole directory afterwards on Ranger. In case you do the last approach
>> you will have to recopy the folder when you do "cvs up" later and there are
>> changes in configure.ac or Makefile.am.
>>
>> Let us know how well you can scale on Ranger. On the similar Jaguar (Cray
>> XT4) I can scale to about 175 atoms/core.
>>
>> Roland
>>
>> On Thu, Jul 31, 2008 at 5:54 PM, Arjun Narayanan <arjun.nufc at gmail.com>wrote:
>>
>>> hi everyone,
>>>
>>> i am trying to install the latest CVS version of gromacs to take
>>> advantage of the better scaling to make use of supercomputer time for a
>>> pretty large simulation ( > 200,000 atoms ). this is what i get when i do
>>> "uname -a" where i am compiling:
>>> Linux login4.ranger.tacc.utexas.edu 2.6.9-67.0.7.EL_lustre.1.6.5.1smp #1
>>> SMP Wed Jun 18 19:11:05 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> i first tried installation with the automake and autoconf they had -
>>> versions 1.9 and 2.59, respectively. i then tried installation with
>>> autoconf 2.61 and m4 1.4.11 ... both times i got errors ( at the bottom of
>>> this message ) when trying to run ./bootstrap .
>>>
>>> i looked around the web and couldn't find anything that helped me, and
>>> nothing for Gromacs about this. i found the following two mails that may be
>>> relevant, but i don't know how to translate what they are saying about their
>>> own autoconf problems to what i need to do to get the gromacs cvs
>>> installation working.
>>>
>>> http://www.mail-archive.com/libtool@gnu.org/msg08627.html
>>> http://thread.gmane.org/gmane.comp.gnu.libtool.bugs/6337
>>>
>>> thanks in advance for your help,
>>> arjun
>>>
>>> ERROR MESSAGE FROM ./bootstrap
>>>
>>> configure.ac:588: error: m4_require: circular dependency of
>>> AC_LANG_COMPILER(C++)
>>> ../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded
>>> from...
>>> ../../lib/autoconf/general.m4:2359: AC_COMPILE_IFELSE is expanded from...
>>> ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
>>> ../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
>>> ../../lib/autoconf/headers.m4:195: AC_CHECK_HEADERS is expanded from...
>>> ../../lib/autoconf/programs.m4:211: _AC_TOOL_WARN is expanded from...
>>> ../../lib/autoconf/programs.m4:270: AC_CHECK_TOOLS is expanded from...
>>> ../../lib/autoconf/c.m4:763: AC_PROG_CXX is expanded from...
>>> ../../lib/autoconf/c.m4:736: AC_LANG_COMPILER(C++) is expanded from...
>>> ../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded
>>> from...
>>> ../../lib/autoconf/general.m4:2405: AC_LINK_IFELSE is expanded from...
>>> ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
>>> ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
>>> ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
>>> ../../lib/autoconf/libs.m4:121: AC_CHECK_LIB is expanded from...
>>> configure.ac:588: the top level
>>> autom4te: /share/home/01017/anarayan/utils/bin//m4 failed with exit
>>> status: 1
>>> aclocal: autom4te failed with exit status: 1
>>> configure.ac:588: error: m4_require: circular dependency of
>>> AC_LANG_COMPILER(C++)
>>> ../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded
>>> from...
>>> ../../lib/autoconf/general.m4:2359: AC_COMPILE_IFELSE is expanded from...
>>> ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
>>> ../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
>>> ../../lib/autoconf/headers.m4:195: AC_CHECK_HEADERS is expanded from...
>>> ../../lib/autoconf/programs.m4:211: _AC_TOOL_WARN is expanded from...
>>> ../../lib/autoconf/programs.m4:270: AC_CHECK_TOOLS is expanded from...
>>> ../../lib/autoconf/c.m4:763: AC_PROG_CXX is expanded from...
>>> ../../lib/autoconf/c.m4:736: AC_LANG_COMPILER(C++) is expanded from...
>>> ../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded
>>> from...
>>> ../../lib/autoconf/general.m4:2405: AC_LINK_IFELSE is expanded from...
>>> ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
>>> ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
>>> ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
>>> ../../lib/autoconf/libs.m4:121: AC_CHECK_LIB is expanded from...
>>> configure.ac:588: the top level
>>> autom4te: /share/home/01017/anarayan/utils/bin//m4 failed with exit
>>> status: 1
>>> autoheader: '/share/home/01017/anarayan/utils//bin/autom4te' failed with
>>> exit status: 1
>>> configure.ac:588: error: m4_require: circular dependency of
>>> AC_LANG_COMPILER(C++)
>>> ../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded
>>> from...
>>> ../../lib/autoconf/general.m4:2359: AC_COMPILE_IFELSE is expanded from...
>>> ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
>>> ../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
>>> ../../lib/autoconf/headers.m4:195: AC_CHECK_HEADERS is expanded from...
>>> ../../lib/autoconf/programs.m4:211: _AC_TOOL_WARN is expanded from...
>>> ../../lib/autoconf/programs.m4:270: AC_CHECK_TOOLS is expanded from...
>>> ../../lib/autoconf/c.m4:763: AC_PROG_CXX is expanded from...
>>> ../../lib/autoconf/c.m4:736: AC_LANG_COMPILER(C++) is expanded from...
>>> ../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded
>>> from...
>>> ../../lib/autoconf/general.m4:2405: AC_LINK_IFELSE is expanded from...
>>> ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
>>> ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
>>> ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
>>> ../../lib/autoconf/libs.m4:121: AC_CHECK_LIB is expanded from...
>>> configure.ac:588: the top level
>>> autom4te: /share/home/01017/anarayan/utils/bin//m4 failed with exit
>>> status: 1
>>> automake: autoconf failed with exit status: 1
>>> configure.ac:588: error: m4_require: circular dependency of
>>> AC_LANG_COMPILER(C++)
>>> ../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded
>>> from...
>>> ../../lib/autoconf/general.m4:2359: AC_COMPILE_IFELSE is expanded from...
>>> ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
>>> ../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
>>> ../../lib/autoconf/headers.m4:195: AC_CHECK_HEADERS is expanded from...
>>> ../../lib/autoconf/programs.m4:211: _AC_TOOL_WARN is expanded from...
>>> ../../lib/autoconf/programs.m4:270: AC_CHECK_TOOLS is expanded from...
>>> ../../lib/autoconf/c.m4:763: AC_PROG_CXX is expanded from...
>>> ../../lib/autoconf/c.m4:736: AC_LANG_COMPILER(C++) is expanded from...
>>> ../../lib/autoconf/lang.m4:297: AC_LANG_COMPILER_REQUIRE is expanded
>>> from...
>>> ../../lib/autoconf/general.m4:2405: AC_LINK_IFELSE is expanded from...
>>> ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
>>> ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
>>> ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
>>> ../../lib/autoconf/libs.m4:121: AC_CHECK_LIB is expanded from...
>>> configure.ac:588: the top level
>>> autom4te: /share/home/01017/anarayan/utils/bin//m4 failed with exit
>>> status: 1
>>>
>>> _______________________________________________
>>> gmx-developers mailing list
>>> gmx-developers at gromacs.org
>>> http://www.gromacs.org/mailman/listinfo/gmx-developers
>>> Please don't post (un)subscribe requests to the list. Use the
>>> www interface or send it to gmx-developers-request at gromacs.org.
>>>
>>
>>
>> _______________________________________________
>> gmx-developers mailing list
>> gmx-developers at gromacs.org
>> http://www.gromacs.org/mailman/listinfo/gmx-developers
>> Please don't post (un)subscribe requests to the list. Use the
>> www interface or send it to gmx-developers-request at gromacs.org.
>>
>
>
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>
--
Center for Molecular Biophysics ORNL/UT cmb.ornl.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20080731/e798dbf3/attachment.html>
More information about the gromacs.org_gmx-developers
mailing list