Page 1 of 1

Make fails with `line 52: aclocal-1.10: command not found`

Posted: Mon Sep 07, 2009 10:53 am
by disciple
Building on Puppy Linux with local taglib, make fails like this:

Code: Select all

make[2]: Leaving directory `/tmp/audacity-src-1.3.9/lib-src/libnyquist'
ln -sf libnyquist/libnyquist.a libnyquist.a
make -C taglib
make[2]: Entering directory `/tmp/audacity-src-1.3.9/lib-src/taglib'
cd . && /bin/sh /tmp/audacity-src-1.3.9/lib-src/taglib/admin/missing --run aclocal-1.10 
/tmp/audacity-src-1.3.9/lib-src/taglib/admin/missing: line 52: aclocal-1.10: command not found
WARNING: `aclocal-1.10' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/sh /tmp/audacity-src-1.3.9/lib-src/taglib/admin/missing --run automake-1.10 --foreign 
/tmp/audacity-src-1.3.9/lib-src/taglib/admin/missing: line 52: automake-1.10: command not found
WARNING: `automake-1.10' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
 cd . && perl admin/am_edit 
cd . && perl admin/am_edit Makefile.in
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[3]: Entering directory `/tmp/audacity-src-1.3.9/lib-src/taglib'
configure.in:45: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:62: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:66: error: possibly undefined macro: AC_CHECK_COMPILERS
configure.in:73: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:77: error: possibly undefined macro: AC_ENABLE_STATIC
configure.in:119: error: possibly undefined macro: AM_CONDITIONAL
make[3]: *** [configure] Error 1
make[3]: Leaving directory `/tmp/audacity-src-1.3.9/lib-src/taglib'
make[2]: *** [configure] Error 2
make[2]: Leaving directory `/tmp/audacity-src-1.3.9/lib-src/taglib'
make[1]: *** [taglib-recursive] Error 2
make[1]: Leaving directory `/tmp/audacity-src-1.3.9/lib-src'
make: *** [audacity] Error 2
I definitely haven't modified `acinclude.m4' or `configure.in'. I have aclocal-1.9, but like it says, I shouldn't need aclocal.

If I run make again, it fails with

Code: Select all

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
./configure: line 1437: syntax error near unexpected token `taglib,1.4'
./configure: line 1437: `AM_INIT_AUTOMAKE(taglib,1.4)'
make[2]: *** [config.status] Error 2
make[2]: Leaving directory `/tmp/audacity-src-1.3.9/lib-src/taglib'
make[1]: *** [taglib-recursive] Error 2
make[1]: Leaving directory `/tmp/audacity-src-1.3.9/lib-src'
make: *** [audacity] Error 2
Any suggestions?

Re: Make fails with `line 52: aclocal-1.10: command not foun

Posted: Mon Sep 07, 2009 9:14 pm
by steve
As I said in the other thread, I think you need a later version of tag-lib

I don't know if this would work, but you could try running configure with:

Code: Select all

  --with-lib-preference   whether to use local and/or system libraries, in
                          order of preference (default="system local")
and changing the order to "local system".

Re: Make fails with `line 52: aclocal-1.10: command not foun

Posted: Tue Sep 08, 2009 3:04 am
by disciple
As I said in the other thread, I don't have any system taglib, so it is supposed to be building audacity with a "local" taglib.

Re: Make fails with `line 52: aclocal-1.10: command not foun

Posted: Tue Sep 08, 2009 7:54 pm
by steve
disciple wrote:As I said in the other thread, I don't have any system taglib,
That's the trouble with splitting a topic - people (me) don't remember everything that was in the other topic.
disciple wrote:so it is supposed to be building audacity with a "local" taglib.
I would have thought so, but I really don't know enough about this kind of stuff.
It may be worth e-mailing the "feedback" address and asking about it there.
http://audacityteam.org/contact/

Re: Make fails with `line 52: aclocal-1.10: command not foun

Posted: Thu Sep 10, 2009 5:28 am
by disciple
That's the trouble with splitting a topic - people (me) don't remember everything that was in the other topic.
Yeah, sorry about that. I thought it was worth posting a second topic as my first error wasn't reported in the other thread.

Re: Make fails with `line 52: aclocal-1.10: command not foun

Posted: Fri Sep 11, 2009 1:52 pm
by steve
No worries mate. Do let us know if you find the answer.