"aclocal missing" error; suggested solution doesn't work
teo1978 opened this issue · 4 comments
# make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/temp/lib_mysqludf_preg/config/missing aclocal-1.13
/root/temp/lib_mysqludf_preg/config/missing: line 81: aclocal-1.13: command not found
WARNING: 'aclocal-1.13' 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/>
make: *** [aclocal.m4] Error 127
(I didn't manually modify any of the mentioned files, I just followed the installation instructions, i.e. ./configure and make)
So I made sure automake, autoconf, m4 and perl were installed (perl wasn't and I installed it), and yet I still get the same error.
Either something is broken or the above error message is incomplete.
I managed to get it working with the following:
git clone https://github.com/mysqludf/lib_mysqludf_preg.git
1076 ln -sf /usr/bin/aclocal-1.14 /usr/bin/aclocal-1.13
1077 ln -sf /usr/bin/automake-1.14 /usr/bin/automake-1.13
1078 cd lib_mysqludf_preg/
1086 automake --add-missing
1088 apt-get install libtool
1089 libtoolize
1090 aclocal
1091 autoheader
1092 ./configure
1093 make
1097 make install
1098 make MYSQL="mysql -p" installdb
1099 make test
On my Raspberry Pi, I managed to get it to work with:
sudo ln -sf /usr/bin/aclocal /usr/bin/aclocal-1.13
sudo ln -sf /usr/bin/automake /usr/bin/automake-1.13
(type the above lines into the terminal)
This creates symbolic links to the nonversioned (aclocal and automake) binaries so that any version will work, not just version 1.13.
autoconf && libtoolize && aclocal && autoheader && automake --add-missing && ./configure && make
I am having this same problem on my mac, has a solution been found for that?