Re: configure error message: ./configure: line 1752: `AM_INIT_AUTOMAKE(dia, 0.96+svn)'



On Sat, Dec 27, 2008 at 7:50 AM, Paul Sanfilippo <pjsanfil gmail com> wrote:

I ran automake and got a configure file, but received an error message
when running the configure file.  The error message is (the following
2 lines):

It is not enough to run automake. Run ./autogen.sh instead, which
handles all the appropriate actions.

./configure: line 1752: syntax error near unexpected token `dia,0.96+svn'
./configure: line 1752: `AM_INIT_AUTOMAKE(dia,0.96+svn)'

The lines in question in the configure file are:
AC_INIT(dia,0.96+svn)
AM_INIT_AUTOMAKE(dia,0.96+svn)

The ./configure script is not supposed to contain anything other than
portable shell commands. Running ./autogen.sh should correctly
translate all the AM_ and AC_ macros into appropriate commands.

Sameer.
-- 
http://www.it.iitb.ac.in/~sameerds/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]