Questions tagged [autoreconf]

Linux command to update generated configuration files

From the man page:

Run ‘autoconf’ (and ‘autoheader’, ‘aclocal’, ‘automake’, ‘autopoint’ (formerly ‘gettextize’), and ‘libtoolize’ where appropriate) repeatedly to remake the GNU Build System files in the DIRECTORIES or the directory trees driven by CONFIGURE-AC (defaulting to ‘.’).

By default, it only remakes those files that are older than their predecessors. If you install new versions of the GNU Build System, running ‘autoreconf’ remakes all of the files by giving it the ‘--force’ option.

43 questions
26
votes
1 answer

Difference between autoconf and autoreconf

I'm trying to learn how to use autotools and I can't seem to find a good beginner-friendly answer to this question. What's the difference between autoconf and autoreconf.
audiFanatic
  • 2,296
  • 8
  • 40
  • 56
22
votes
2 answers

Why is "autoreconf" not used often?

I am newbie of Autotools. From my understanding, one would use the following basic steps to build software using Autotools: autoreconf --install ./configure make However, I noticed that most open source software packages (on Linux) does not need…
user1783732
  • 1,599
  • 5
  • 22
  • 44
19
votes
7 answers

User of autotools-generated tarball gets error message: aclocal-1.13: command not found

I am distributing a tarball with installation scripts generated by autoconf version 2.69. Works fine on many different machines. Now a user, working on a fresh Arch Linux system, reports that configure executes properly, but make immediately…
Joachim W
  • 7,290
  • 5
  • 31
  • 59
7
votes
1 answer

needed packages to run autoreconf and configure on debian wheezy

What are the .deb packages needed to run these commands on a debian wheezy Linux? cd software_that_builds_with_autotools autoreconf --install &&\ ./configure --prefix=/opt/foo/bar &&\ make && make install I tried installing the following, but it…
719016
  • 9,922
  • 20
  • 85
  • 158
6
votes
2 answers

possibly undefined macro: AC_SUBST

I am trying to build a project and it throws me an error : autoreconf: running: /usr/bin/autoconf --force configure.ac:19: error: possibly undefined macro: AC_SUBST If this token and others are legitimate, please use m4_pattern_allow. …
5
votes
3 answers

autoreconf: 'configure.ac' or 'configure.in' is required

I followed the instructions to install FB Machine Learning tools. One of the libraries installation instructions are cd ~/libraries git clone https://github.com/facebook/folly.git cd folly/folly/ autoreconf -ivf ./configure cp -R…
batuman
  • 7,066
  • 26
  • 107
  • 229
5
votes
1 answer

Detect preprocessor macro in another library with Autoconf

I have an installed library we'll call it "custom_lib" which I am linking against. I want to check if that library was installed with a specific option. The options.h header file in that library has a list of pre-processor macros like so: #undef…
Kaleb
  • 591
  • 4
  • 17
4
votes
1 answer

autoreconf fails with "possibly undefined macro: AM_PATH_GLIB_2_0"

While modifying this source code I got this error from autoreconf: $ autoreconf configure.ac:240: warning: macro 'AM_PATH_GLIB_2_0' not found in library configure.ac:246: warning: macro 'AM_PATH_GTK_2_0' not found in library configure.ac:240: error:…
Dean Schulze
  • 9,633
  • 24
  • 100
  • 165
4
votes
1 answer

How to configure autoreconf to use a different compiler than GCC

I am trying to compile the code for one of the projects and the source file uses autoreconf for generating the makefiles. " autoreconf --verbose --force --make " The problem is that this somehow generates the makefiles that uses the compiler as GCC.…
user4089193
3
votes
2 answers

Please install double-conversion library when building redex

I am trying to build redex - unfortunately it fails with: checking for ceil in -ldouble-conversion... no configure: error: Please install double-conversion library But I installed this library: ➜ double-conversion git:(master) ✗ sudo scons install…
ligi
  • 39,001
  • 44
  • 144
  • 244
3
votes
2 answers

Autoreconf stops with "non-POSIX variable name"

I created a Makefile.in where I read the content out of a file and pass it to CFLAGS. Calling ./configure ... the Makefile will be generated an all works well. Makefile.in: ... MY_REVISION_FILE=my-revision.txt MY_REVISION=$(shell cat…
Oliver
  • 43
  • 1
  • 4
3
votes
1 answer

autogen.sh does not (re)generate po/Makefile.in.in

I'm trying to use autogen.sh (http://buildconf.brlcad.org/) with gummi (http://dev.midnightcoding.org/projects/gummi), so that when I make changes to, e.g., configure.ac, my patch doesn't also have to include changes to configure. If I download the…
Jason Gross
  • 5,928
  • 1
  • 26
  • 53
2
votes
0 answers

error /usr/src/app/node_modules/gifsicle: Command failed. Exit code: 1 Command: node lib/install.js

error /usr/src/app/node_modules/gifsicle: Command failed. Exit code: 1 Command: node lib/install.js Arguments: Directory: /usr/src/app/node_modules/gifsicle Output: ⚠ connect ETIMEDOUT 49.44.79.236:443 ⚠ gifsicle pre-build test failed ℹ…
2
votes
0 answers

node_modules\gifsicle: Command failed

node_modules\gifsicle: Command failed. Exit code: 1 Command: node lib/install.js Arguments: Directory: D:\Project\PFS\pfs-portal\node_modules\gifsicle Output: ‼ connect ETIMEDOUT 49.44.79.236:443 ‼ gifsicle pre-build test failed i compiling from…
2
votes
1 answer

autoreconf failed with exit status 1

I am trying to install a program by cloning it with git. I am running in an Ubuntu 14.04.4 LTS. I get the source code correctly with "git clone" but autoreconf fails giving the following error: xray@silvia-desktop:~/Software/Gitsrc/simput$…
P. Eleazar
  • 21
  • 1
  • 1
  • 4
1
2 3