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 missing" error; suggested solution doesn't work #25

Open
teo1978 opened this issue Apr 10, 2016 · 4 comments
Open

"aclocal missing" error; suggested solution doesn't work #25

teo1978 opened this issue Apr 10, 2016 · 4 comments

Comments

@teo1978
Copy link

teo1978 commented Apr 10, 2016

# 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.

@goodprogrammer
Copy link

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

@thorlancaster
Copy link

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.

@evandrix
Copy link

evandrix commented Dec 6, 2018

autoconf && libtoolize && aclocal && autoheader && automake --add-missing && ./configure && make

@mcmenzer
Copy link

I am having this same problem on my mac, has a solution been found for that?

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

5 participants