Error when running autoreconf

680 views
Skip to first unread message

Simon H.

unread,
May 21, 2014, 6:15:41 AM5/21/14
to open-l...@googlegroups.com
Hello,

I am getting the following error when running autoreconf -i (after making changes to configure.ac) with the 0.9.0 tar ball.

sh: ./version.sh: No such file or directory
configure.ac:12: error: AC_INIT should be called with package and version arguments
/opt/local/share/aclocal-1.14/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:12: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Apparently version.sh is missing. Can anyone help?

Thanks,
Simon

Simon Newton

unread,
May 21, 2014, 10:08:16 AM5/21/14
to open-lighting
What version of autoconf are you running? The version of
AM_INIT_AUTOMAKE where you passed package and version arguments has
been deprecated for a while.

Simon
> --
> The Open Lighting Group: open-l...@googlegroups.com, #openlighting
> (irc.freenode.org)
> To unsubscribe from this group, send email to
> open-lightin...@googlegroups.com
> For more options, visit https://groups.google.com/groups/opt_out?hl=en

Simon Newton

unread,
May 21, 2014, 10:11:26 AM5/21/14
to open-lighting
On Wed, May 21, 2014 at 3:15 AM, Simon H. <jaz...@gmail.com> wrote:
> Hello,
>
> I am getting the following error when running autoreconf -i (after making
> changes to configure.ac) with the 0.9.0 tar ball.
>
> sh: ./version.sh: No such file or directory

Is version.sh in the top level ola directory?


> configure.ac:12: error: AC_INIT should be called with package and version
> arguments
> /opt/local/share/aclocal-1.14/init.m4:29: AM_INIT_AUTOMAKE is expanded
> from...
> configure.ac:12: the top level
> autom4te: /opt/local/bin/gm4 failed with exit status: 1
> aclocal: error: echo failed with exit status: 1
> autoreconf: aclocal failed with exit status: 1
>
> Apparently version.sh is missing. Can anyone help?
>
> Thanks,
> Simon
>

Simon H.

unread,
May 21, 2014, 12:06:04 PM5/21/14
to open-l...@googlegroups.com
I am using autoconf version 2.69, which appears to be the latest version (installed thru MacPorts).

There is no versions.sh file after extracting the original ola-0.9.0 tar ball.

Simon Newton

unread,
May 21, 2014, 12:32:08 PM5/21/14
to open-lighting
On Wed, May 21, 2014 at 9:06 AM, Simon H. <jaz...@gmail.com> wrote:
> I am using autoconf version 2.69, which appears to be the latest version
> (installed thru MacPorts).
>
> There is no versions.sh file after extracting the original ola-0.9.0 tar
> ball.

Ah yes, it was accidentally omitted from the 0.9.0 release. Try
grabbing the script from the git repo.

Simon

Simon H.

unread,
May 21, 2014, 1:47:24 PM5/21/14
to open-l...@googlegroups.com
Great, that works! Thanks a lot!

Simon
Reply all
Reply to author
Forward
0 new messages