Automake - difficulty with installing version 'automake-1.14.1'

空扰寡人 提交于 2019-12-10 17:15:18

问题


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?


回答1:


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.




回答2:


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.




回答3:


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.


来源:https://stackoverflow.com/questions/27721869/automake-difficulty-with-installing-version-automake-1-14-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!