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

Compiling on Debian stable fails (aclocal-1.14 missing) #14

Closed
xuv opened this issue Apr 25, 2014 · 6 comments
Closed

Compiling on Debian stable fails (aclocal-1.14 missing) #14

xuv opened this issue Apr 25, 2014 · 6 comments
Assignees
Labels

Comments

@xuv
Copy link
Collaborator

xuv commented Apr 25, 2014

Running ./configure and then make.
Here is the error on make:

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/juego/inklingreader/missing aclocal-1.14 
/home/juego/inklingreader/missing: ligne81: aclocal-1.14 : commande introuvable
WARNING: 'aclocal-1.14' 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] Erreur 127

Googled a bit but can't find an answer to help me.
Do you have any suggestions?

@xuv
Copy link
Collaborator Author

xuv commented Apr 25, 2014

To be clear, this is only happening when I pull code from the repository.
I've compiled successfully the released version 0.6

@roelj
Copy link
Owner

roelj commented Apr 25, 2014

A temporary fix would be running:

make -k

It should go fine. The only problem you'll have is that you cannot re-run "./configure".
I'll look into this issue further.

@roelj
Copy link
Owner

roelj commented Apr 25, 2014

Sorry for the inconvenience. I tried on a clean Debian 7.14 install and had to do:

touch NEWS AUTHORS # Without these, autoreconf will fail..
autoreconf -i      # This will regenerate the configure script and Makefile
./configure        # Add your compiler flags here. (like: CFLAGS="-Wall -O2")
make               # Builds the program as usual

The move to using GNU Autotools is to improve the ease of compiling and making it portable on more systems. I also decided to move to GNU Autotools because I want to provide Debian packages in the future (and GNU Autotools makes it easier to package the program).

I'm still looking for a complete solution (for people who don't bother reading this).

roelj added a commit that referenced this issue Apr 25, 2014
@roelj
Copy link
Owner

roelj commented Apr 25, 2014

After adding aclocal.m4 to the repository I no longer needed to use the commands provided above to compile.

All I had to do is:

./configure
make

Does this work for you as well?

@xuv
Copy link
Collaborator Author

xuv commented Apr 25, 2014

After a fresh pull.
I tried

./configure
make

and got

cd . && /bin/bash /home/juego/inklingreader/missing automake-1.14 --gnu
/home/juego/inklingreader/missing: ligne81: automake-1.14 : commande introuvable
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/>
make: *** [Makefile.in] Erreur 1

So I installed Automake.
But it's version 1.11 on Debian repos.
So make was still throwing the same error.

So I did the

touch NEWS AUTHORS 
Autoreconf -i
etc.

And it compiled correctly.

@roelj roelj self-assigned this Apr 27, 2014
@roelj
Copy link
Owner

roelj commented Apr 29, 2014

The files NEWS and AUTHORS are now in the repository. Using

autoreconf -i
is now required. The problem was solved, and this solution solves it in the future too.

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

No branches or pull requests

2 participants