Page 1 of 1
problems in compiling source
Posted:
Mon Nov 05, 2012 4:32 pm
by lombard
Hi,
I'm trying to compile Dynare from source and I get the following errors
bash-4.1$ git clone
http://www.dynare.org/git/dynare.gitInitialized empty Git repository in /jobdata/git/dynare/.git/
bash-4.1$ cd dynare
bash-4.1$ ls
configure.ac doc examples m4 matlab NEWS preprocessor tests
contrib dynare++ license.txt Makefile.am mex osx scripts windows
bash-4.1$ autoreconf -s -i
configure.ac:58: warning: macro `AM_PROG_AR' not found in library
configure.ac:62: warning: macro `AM_PROG_AR' not found in library
configure.ac:62: error: possibly undefined macro: AM_PROG_AR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Any idea why AM_PROG_AR seems to be missing
Best regards
Gianni
Re: problems in compiling source
Posted:
Tue Nov 06, 2012 10:22 am
by HoutanBastani
What OS are you using?
Have you followed the instructions on this page for your OS:
http://www.dynare.org/DynareWiki/BuildingDynareFromSource
Re: problems in compiling source
Posted:
Tue Nov 06, 2012 11:01 am
by lombard
I'm using Red Hat 64bit.
I managed to compile successfully some months ago. Then the server crashed and have to re-build.
Has anybody successfully compiled the recent unstable version using the commands quoted above?
Is there any new prerequisite for the newest (unstable) versions?
Best
Gianni
Re: problems in compiling source
Posted:
Tue Nov 06, 2012 11:07 am
by HoutanBastani
Yes, it's compiled every night in the snapshot, not to mention as we develop....
What version of automake are you using?
Re: problems in compiling source
Posted:
Tue Nov 06, 2012 11:47 am
by lombard
We have automake 1.11.1.
A colleague in IT has pointed out to me that you seem to be using a very recent one (not yet in Red Hat depository).
G.
Re: problems in compiling source
Posted:
Tue Nov 06, 2012 12:00 pm
by HoutanBastani
You can see the version requirements for the programs you need to compile Dynare in section 1.1 of the wiki page I referenced above. Again, for convenience:
http://www.dynare.org/DynareWiki/BuildingDynareFromSourceFor automake, it is 1.11.2, which was released on 22-Dec-2011.
As it's free software, you can always install a newer version of automake from source if your distribution doesn't support it:
http://ftp.gnu.org/gnu/automake
Re: problems in compiling source
Posted:
Tue Nov 06, 2012 12:10 pm
by HoutanBastani
One more thing. Are you really interested in using the unstable branch or do you want to use the stable version of Dynare? If it's the latter, you can always download the source snapshot, for which you won't need autotools (automake or autoconf). You can download it by clicking the Dynare 4.3.1 source link from here:
http://www.dynare.org/download/dynare-stable
Re: problems in compiling source
Posted:
Tue Nov 06, 2012 12:23 pm
by lombard
Unfortunatley we cannot install new packages that easily.
I'll stick to the stable version that compiles fine (hopefully this is the one that fixes the bug with missing observations...)
Thanks a lot for your help
Best
Gianni
Re: problems in compiling source
Posted:
Mon Nov 19, 2012 12:02 pm
by MichelJuillard
Hi Gianni,
I have added a page to the wiki showing how to install an updated version of automake/autoconf in your own personal directory in Linux:
http://www.dynare.org/DynareWiki/AutoMakeBest
Michel