Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autotools]

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

1
vote
1answer
16 views

`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 ...
1
vote
2answers
21 views

Autotools: Code snippet (AM_MAINTAINER_MODE)

As for this code snippet: AM_MAINTAINER_MODE if test "x$enable_maintainer_mode" = xyes; then AC_PATH_PROG(PERL,perl) if test -z "$PERL"; then AC_MSG_ERROR([perl not found]) fi fi ...
0
votes
0answers
21 views

How to use autoproject to generate c++ project

Ran autoproject and got the following: $ autoproject What is the program name? hello Please describe in one line what hello will do: hello The main program will be written in what language? ...
5
votes
2answers
368 views

./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,...
0
votes
1answer
54 views

Use pkg-config to test the version on an installed program?

I am working from a shell script (and not an Autotools script). According to the pkg-config(1) man page, "Return meta information about installed libraries". For example, here is a check of Nettle 3.4 ...
-1
votes
2answers
117 views

Is intltoolize obsolete? If so, is there any alternatives?

From GNOME page, it states: If you are still using the almost obsolete intltoolize, then add the following line immediately before autoreconf: intltoolize --force --copy --automake || exit 1 Is ...
0
votes
2answers
30 views

Invalid package name due to Bash array dereference [duplicate]

I'm trying to build Emacs from sources. When configure options were listed without an array Emacs configured properly. When I added a Bash array to add optional options it broke configure. Here is the ...
-1
votes
1answer
706 views

What does exactly does GNU make dep do?

I am trying to understand GNU Make and trying to understand some c code and GNU autotools. There's a folder let's say lib, with three subfolders and a makefile. lib ...libA ...---compile.sh ...---...
2
votes
1answer
878 views

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 ...
1
vote
0answers
32 views

Automake distcheck of symlinked sources

I maintain a "master" makefile for a project with many submodules, each of which has its own autotools structure. This project is tested in a number of configurations (e.g. built against different-...
0
votes
0answers
34 views

GCC build gmp not detecting correct cpp

I am trying to compile GCC using a prebuilt Gentoo toolchain. MPC and the other libraries should get installed automatically. When I trigger the build, it configures all these libraries. At the first ...
1
vote
1answer
371 views

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 ...
1
vote
1answer
500 views

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, ...
1
vote
1answer
642 views

How to set shell environment variable from autotools .am file?

I need to get the shell equivalent of export PYTHONHTTPSVERIFY=0 to work in an autotools .am file, but can't get it working. I currently have this declaration in my Makefile.am file: ...
0
votes
1answer
34 views

What is the reason that configure file is required for uninstalling an application installed via configure, make and make install?

In https://unix.stackexchange.com/a/141619/674 I wouldn't store just the makefile. While the uninstall target may not (or perhap, should not) need anything else to succeed, that's not a ...
2
votes
2answers
178 views

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 ...
2
votes
1answer
514 views

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 ...
6
votes
1answer
2k views

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 ...
4
votes
1answer
223 views

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 ...
4
votes
2answers
292 views

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: $ ...
9
votes
1answer
2k views

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 ...
1
vote
3answers
1k views

Install Mesa3D on Debian - LIBDRM not found by configure autoconf

I am trying to compile and install mesa3D from source. (ftp://ftp.freedesktop.org/pub/mesa/11.0.0/mesa-11.0.0-rc3.tar.gz) I am at the configure step ./configure \ CXXFLAGS="-O2 -g -...
2
votes
1answer
259 views

How to remove a license file when debian packaging using autotools automake?

My Debian package produces a lintian error: rhythmbox-plugin-alternative-toolbar: extra-license-file usr/lib/rhythmbox/plugins/alternative-toolbar/LICENSE This is because the source contains the ...
4
votes
5answers
18k views

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/\${ <-- ...
0
votes
3answers
7k views

bash: ./configure: no such file or directory

I am experimenting with Linux, and my work uses CentOS 6.5, so I am using that at home. I am following a tutorial, followed it closely I believe, yet I am hitting an error like the one mentioned in ...
1
vote
1answer
425 views

How to add a precompiled library in autotools?

I have a precompiled shared object that I need to distribute with the package I'm building, how do I get automake to copy the shared object to the lib/ folder where it places all of the rest of the ...
1
vote
1answer
354 views

'pkglibexecdir' is not a legitimate directory

I'm following some outdated instructions in an attempt to compile some proprietary, closed-source, unsupported, legacy code. Here is what a typical shell session looks like: $ autoreconf -fi src/...
1
vote
0answers
49 views

Moving to FHS 3: How to overwrite GNU Autotools directory variables?

In GNU Autotools, the directory variables $sharedstatedir and $localstatedir expand to $(prefix)/com and $(prefix)/var respectively. However the com and var directories don't exist anymore in FHS 3, ...
6
votes
2answers
829 views

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. ...
18
votes
2answers
79k views

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 ...
1
vote
2answers
160 views

Hardcoded /usr/bin/env in configure scripts

I'm building a Linux system that doesn't have a /usr directory. Getting the toolchain to work was surprisingly easy, but I'm hitting this irritation with a lot of auto* scripts: configure, etc. often ...
3
votes
0answers
267 views

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