mru00 / crane_gps_watch

Linux and Windows client for the crane gps watch
GNU General Public License v2.0
29 stars 15 forks source link

`make` fails with automake-1.15 #25

Open andreaskern opened 8 years ago

andreaskern commented 8 years ago

following the installation instructions on Ubuntu 15.10 results in an error while running make

/tmp/git-clone/crane_gps_watch$ make
 cd . && /bin/bash /tmp/gpswatch/crane_gps_watch/missing automake-1.14 --gnu
/tmp/gpswatch/crane_gps_watch/missing: line 81: automake-1.14: command not found
WARNING: 'automake-1.14' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' 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:337: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1

I have automake-1.15 installed so running

$ aclocal
$ automake
$ make
...

results in a correct build.

as quick fix I'd add the those commands to the Readme.md instructions

mru00 commented 8 years ago

Sorry for the late reply, business was keeping me busy. I very much appreciate your input and merged your PR.  I would like to test if the new files work with an older automake. Could you please add the files on a new branch and push them, so I can test them? Br, rudi

-- Rudolf Mühlbauer

-------- Original message -------- From: andreaskern notifications@github.com Date: 04/03/2016 09:41 (GMT+01:00) To: mru00/crane_gps_watch crane_gps_watch@noreply.github.com Subject: [crane_gps_watch] make fails with automake-1.15 (#25)

following the installation instructions on Ubuntu 15.10 results in an error while running make

/tmp/git-clone/crane_gps_watch$ make cd . && /bin/bash /tmp/gpswatch/crane_gps_watch/missing automake-1.14 --gnu /tmp/gpswatch/crane_gps_watch/missing: line 81: automake-1.14: command not found WARNING: 'automake-1.14' is missing on your system. You should only need it if you modified 'Makefile.am' or 'configure.ac' or m4 files included by 'configure.ac'. The 'automake' 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:337: recipe for target 'Makefile.in' failed make: *\ [Makefile.in] Error 1

I have automake-1.15 installed so running

$ aclocal $ automake $ make ...

results in a correct build.

as quick fix I'd add the those commands to the Readme.md instructions

— Reply to this email directly or view it on GitHub.

TomHW commented 2 years ago

i had the same problem. autoreconf -f -i did the job for me. Then proceed with ./configure. See https://stackoverflow.com/questions/33278928/how-to-overcome-aclocal-1-15-is-missing-on-your-system-warning