Questions tagged [autotools]

Autotools, or the GNU build system, is a set of tools used to generate a configure script that generates a Makefile.

Autotools mainly contain the following components:

  • : Generates Makefile.in from Makefile.am for to process.
  • : Generates a script from configure.ac (or configure.in). The script can be later run by users to generate a Makefile suitable for his/her system.
  • : A script that handles the compilation of various libraries.
  • : A C library for compatibility.

There is also a program to run those generation tools automatically.

38 questions
50
votes
2 answers

Can not run configure command: "No such file or directory"

I'm trying to install a Debian package from source (via git). I downloaded the package, changed to the package’s directory and ran ./configure command but it returned bash: ./configure: No such file or directory. What can be the problem? A…
Lexx Luxx
  • 1,343
  • 11
  • 26
  • 37
14
votes
1 answer

Why does configure take variables as arguments?

Is VAR=value ./configure the same as ./configure VAR=value? In the first case, the shell sets the environment variable and in the second the configure script takes the string 'VAR=value' as an argument, and then presumably sets the variable. I…
spelufo
  • 467
  • 4
  • 11
7
votes
1 answer

What does `minix/config.h` do?

Many times when I run configure, I get this message: checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no configure runs without errors or warnings, but getting a message every time and…
cozyconemotel
  • 173
  • 1
  • 5
6
votes
2 answers

./configure : Show all missing packages at once

I have compiled a package that uses autotools as build system (autoreconf, ./configure, make, make install). ./configure stops when a package is missing. For each missing package, I look up its name, then either I do apt install package or I compile…
Bilow
  • 594
  • 2
  • 7
  • 18
6
votes
2 answers

What is the Linux equivalent of Inno Setup on Windows?

Looking to create a Linux installer that will work similar to Inno Setup on Windows (which is a great little tool to create installers on Windows). My project is really simple (just a couple of folders) so I think that using autotools or cmake is…
6
votes
2 answers

How to prevent automake from overwriting INSTALL?

I'm working on a project that has a custom INSTALL file. Running automake --add-missing (or more precisely, autoreconf -i) will generate the GNU default INSTALL file, and overwrite our file with it. How can I prevent this behavior? I want it to…
Emil Laine
  • 545
  • 4
  • 11
5
votes
3 answers

automake error: Unescaped left brace in regex is deprecated

After compiling and installing GNU automake 1.15, I get this error whenever I run automake: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake line…
ISlimani
  • 179
  • 1
  • 1
  • 6
4
votes
2 answers

How to build a specific file from a GNU Automake package?

Given a source package that uses GNU Automake, the typical build goes like this: cd ${srcdir} ./congigure ./make To build a single file rather than everything, make would normally accept this: $ make path/to/file However, that returns an…
starfry
  • 7,302
  • 6
  • 47
  • 69
3
votes
2 answers

`openocd` configure script cannot find `libusb`

I'm installing OpenOCD on my Debian stretch system. When I run ./configure it reports it cannot find libusb. ... checking for LIBUSB1... no configure: WARNING: libusb-1.x not found, trying legacy libusb-0.1 as a fallback; consider installing…
Zak
  • 951
  • 8
  • 10
3
votes
2 answers

Problems packing a .deb from autotools. (checkinstall, debhelper, ...)

I'm currently building a large project that contains sources written in few languages such as C,C++ & Python. I recently managed to (painfuly) handle autotools to make a proper install. Next step is to create .deb because our project is meant to run…
Neah-Ko
  • 123
  • 1
  • 10
3
votes
1 answer

Using *Autotools*, how do I save the compiler listing on a file by file basis?

Please understand I'm using Autotools / Automake / Autoconf, and I can not use redirection because it needs to be applied command by command in the make file generated by autotools. I need a way for to have autotools create a make file which has…
HiTechHiTouch
  • 881
  • 1
  • 7
  • 15
3
votes
0 answers

An obscure autotools error with Epson iscan project

I'm seeing the following error when attempting to build iscan using the master branch on Debian wheezy. This project provides support for Epson scanners, in cases when SANE doesn't. This project appears to be an unofficial fork of the Epson project…
Faheem Mitha
  • 34,649
  • 32
  • 119
  • 183
2
votes
2 answers

GNU autotools configure autoreconf

I have a question when working with autotools, specifically when working with generating configure scripts by running autoreconf -fi I'll get these warnings: libtoolize: putting auxiliary files in '.'. libtoolize: copying file…
user1610950
  • 759
  • 2
  • 9
  • 22
2
votes
1 answer

Building packages from source on Arch linux

I've recently set up Arch linux on my desktop PC as a project over the summer, and I'm trying to figure out how to install programs from source. From what I've gathered I have to get the tarball file, extract it, run ./configure, then make, and…
spood
2
votes
1 answer

Specify script to run with install command automake

I'm currently building a large package which is handled with automake. Package is composed by C,C++ and Python. So far i have good results with C/C++ but i'm blocked when it comes to python dependencies. I personnaly run a script when i'm…
Neah-Ko
  • 123
  • 1
  • 10
1
2 3