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

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Locked
disciple
Posts: 6
Joined: Sun Sep 06, 2009 8:39 am
Operating System: Please select

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

Post by disciple » Mon Sep 07, 2009 10:53 am

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?

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

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

Post by steve » Mon Sep 07, 2009 9:14 pm

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".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

disciple
Posts: 6
Joined: Sun Sep 06, 2009 8:39 am
Operating System: Please select

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

Post by disciple » Tue Sep 08, 2009 3:04 am

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.

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

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

Post by steve » Tue Sep 08, 2009 7:54 pm

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/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

disciple
Posts: 6
Joined: Sun Sep 06, 2009 8:39 am
Operating System: Please select

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

Post by disciple » Thu Sep 10, 2009 5:28 am

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.

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

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

Post by steve » Fri Sep 11, 2009 1:52 pm

No worries mate. Do let us know if you find the answer.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked