Forum_general

General

At this page you can post questions or start discussions on general topics related to Delft3D Flexible Mesh.

Please select a proper category below (if possible), to post your message or reply to an existing post. Please add tags to your posts to simplify searching.

 

** PLEASE TAG YOUR POST! **

 

 

 

 


Message Boards

Automake Error Solution on DFM Installation

SP
Santosa Putra, modified 6 Years ago.

Automake Error Solution on DFM Installation

Youngling Posts: 0 Join Date: 9/16/13 Recent Posts
I am trying to install DFM under Linux.

When doing make command, I got an error as:

make[5]: Entering directory `/mirror/MyProgram-environment/MyProgram-1.1.92/utils_lgpl/MyVendor_common/packages/MyVendor_common/src'
cd ../../../../.. && /bin/bash /mirror/MyProgram-environment/MyProgram-1.1.92/config/missing --run automake-1.11 --foreign utils_lgpl/MyVendor_common/packages/MyVendor_common/src/Makefile
configure.ac:16: version mismatch.  This is Automake 1.11.3,
configure.ac:16: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:16: comes from Automake 1.11.1.  You should recreate
configure.ac:16: aclocal.m4 with aclocal and run automake again.
WARNING: 'automake-1.11' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.


What is the solution?
SP
Santosa Putra, modified 6 Years ago.

RE: Automake Error Solution on DFM Installation (Answer)

Youngling Posts: 0 Join Date: 9/16/13 Recent Posts
First of all, make sure that you had do this steps:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libtool


(My recommendation)

Afterwards:

There’s two approaches you could take:

1. The preferred one: use the tar.gz file and follow the instructions on:
http://publicwiki.deltares.nl/display/DFLOWFM/Building+on+Linux
steps 2b and 3b. You should not get any errors about automake, since automake/autoconf should not be run at all, the ./configure script in the root should be all you need. If you do get errors, I can think of two reasons:
* did you change something in a Makefile.am or maybe in configure.ac?
* if not, then please send us a full log of: 1. Make a new test directory, untar the archive, and configure + make. SO that we can have a detailed look at it.

2. If you want to change something in the Makefile.am/configure.ac, run ./autogen.sh, so your latest automake version will be used and all scripts (aclocal.m4 with aclocal, etc.) will be regenerated.


Answered by Mr. Arthur van Dam

In addition, I also did sudo apt-get install libtool autoconf before running the autogen.sh