Peter Kačur
Peter Kačur

Reputation: 131

Automake - difficulty with installing version 'automake-1.14.1'

I have problem with installing automake 1.14.1 on Rapbian (2014-09-09-wheezy-raspbian) distro. I wrote sh ./configure and then I wrote make then terminal wrote me that:

$ make    
CDPATH="${ZSH_VERSION+.}:" && cd . && "/home/pi/LIBRARY/automake-1.14./twrap/aclocal-1.14"
Can't locate /home/pi/LIBRARY/automake-1.14.1/bin/aclocal in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5usr
/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at 
/home/piLIBRARY/automake-1.14.1/t/wrap/aclocal-1.14 line 29.Makefile:2493: recipe 
for target 'aclocal.m4' failed make: *** [aclocal.m4] Error 2

I don't know what does it mean. Can you help me what to do next?

Upvotes: 4

Views: 7748

Answers (3)

Peter Kačur
Peter Kačur

Reputation: 131

I found out what is problem in. I use filezilla to transport automake to Raspberry Pi (running on Raspbian) in unpacked form. When I transported packed automake.tar through fillezila and then unpacked it on RPi and did installation of this one then I have no problem. However many thanks for all your answers and an effort to help me.

Upvotes: 3

Vladimir Kunschikov
Vladimir Kunschikov

Reputation: 1763

I have successfully built on the same raspbian the automake-1.14.1 from ftp.gnu.org/gnu/automake source tarball. The bin/aclocal script should be created at 'make' stage. Makefile.in is already included in the tarball. There can be several reasons to such errors as you typed in your message:

  • Wrong distribution source is being used: use any from ftp.gnu.org/gnu/automake, http://ftp.gnu.org/gnu/automake/automake-1.14.1.tar.xz

  • you don't have space enough to create bin/aclocal stage at 'make' stage, check df output

  • there are problems with fs consistency, read dmesg.

Upvotes: 0

jgr208
jgr208

Reputation: 3066

recipe for target 'aclocal.m4' failed make: *** [aclocal.m4] Error 2

Is saying where the failure occurred. So the failure is occurring when the make file calls aclocal.m4. This is due to that Can't locate /home/pi/LIBRARY/automake-1.14.1/bin/aclocal so check out if /home/pi/LIBRARY/automake-1.14.1/bin/aclocal can be found and if not then install what is needed to resolve the error.

Upvotes: 0

Related Questions