Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aclocal.m4 failed - raspberrypi #11

Closed
hepaestus opened this issue Oct 13, 2017 · 6 comments
Closed

aclocal.m4 failed - raspberrypi #11

hepaestus opened this issue Oct 13, 2017 · 6 comments

Comments

@hepaestus
Copy link

I keep getting the following error trying to build:

pi@raspberrypi:~/lol_dht22 $ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/pi/lol_dht22/missing aclocal-1.15
/home/pi/lol_dht22/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
http://www.gnu.org/software/automake
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
http://www.gnu.org/software/autoconf
http://www.gnu.org/software/m4/
http://www.perl.org/
Makefile:313: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127

@hepaestus hepaestus changed the title aclocal.m4 failed aclocal.m4 failed - raspberrypi Oct 13, 2017
@hepaestus
Copy link
Author

@steve-techno
Copy link

sorry but found that answer confusing how do you run the script?

I too have run this on Rasbian Wheezy before with am2320b sensors and had it working. But having flattened the SD-card to try and get the vivarium working on a raspberry pi zero. I now get the same error message have even gone back as far as Noobs 1.5.0, 1.9.0, 2.2 and 2.4.4 on both a raspberry pi2 and 3 all have the same issue on cloning , make /install have given up on trying the www.raspiviv.com tutorial too many errors following the instructions when using rasbian stretch missing dependencies or depreciated files doesn't help not knowing programming or linux very well.

would the install fail if no sensors were giving data do they need to be fitted to achieve the install mine are on a pluggable header

@technion
Copy link
Owner

technion commented Nov 8, 2017

I'm not sure of exactly what various distributions call the various toolings, but you may want to try some variation of:

sudo apt-get install autoconf automake

@steve-techno
Copy link

try this works for me using raspbian 8 for raspberry pi

dpkg-query -l automake
sudo apt-get install automake autotools-dev
git clone https://github.com/technion/lol_dht22
cd lol_dht22
cp configure.in configure.ac
aclocal
automake --add-missing -c
./configure
sudo make install

@stevecook3dw
Copy link

for those trying to follow this project
http://www.raspiviv.com/raspberry-pi-vivarium-controller/sensors
and getting the error, Steve-techno 14NOV2017 solution above worked for me.
I did get this warning, but it didn't seem to cause a problem:

aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: 'configure.ac' and 'configure.in' both present.
aclocal: proceeding with 'configure.ac'

thanks!

@technion
Copy link
Owner

Regarding that link supplied, please don't ever, ever use PHP variables in an SQL query like this.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants