problems in compiling source

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

problems in compiling source

Postby lombard » Mon Nov 05, 2012 4:32 pm

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.git
Initialized 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
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: problems in compiling source

Postby HoutanBastani » Tue Nov 06, 2012 10:22 am

What OS are you using?

Have you followed the instructions on this page for your OS:
http://www.dynare.org/DynareWiki/BuildingDynareFromSource
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: problems in compiling source

Postby lombard » Tue Nov 06, 2012 11:01 am

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
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: problems in compiling source

Postby HoutanBastani » Tue Nov 06, 2012 11:07 am

Yes, it's compiled every night in the snapshot, not to mention as we develop....

What version of automake are you using?
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: problems in compiling source

Postby lombard » Tue Nov 06, 2012 11:47 am

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.
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: problems in compiling source

Postby HoutanBastani » Tue Nov 06, 2012 12:00 pm

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/BuildingDynareFromSource

For 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
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: problems in compiling source

Postby HoutanBastani » Tue Nov 06, 2012 12:10 pm

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
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: problems in compiling source

Postby lombard » Tue Nov 06, 2012 12:23 pm

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
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: problems in compiling source

Postby MichelJuillard » Mon Nov 19, 2012 12:02 pm

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/AutoMake

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests