We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [autoconf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
29 views

Something removes the IP address from a downed interface

If a network interface goes down by me, all of its IP addresses go with it away. This is not what I want - I want the interface to keep the IP address, even if it is down ("NO-CARRIER" in ip addr ...
0
votes
1answer
9 views

autoconf: continue after package check failure

In my configure.ac script, I have a basic check for X11: PKG_CHECK_MODULES(X11, x11 > 1.6.4, [AC_DEFINE(HAVE_X11)], []) If this fails, I still want to continue. I thought since I added a blank ...
0
votes
1answer
39 views

./configure checking whether vs checking if

./configure script outputs checking if and checking whether on execution how the two results are different for checking conditions?
4
votes
1answer
325 views

double square bracket in 'case' in 'configure.ac' i[[3456]]86

I am trying to understand the following code snippet. host_cpu='i386' case "$host_cpu" in i[[3456]]86) echo "host_cpu=i386" ;; x86_64) echo "host_cpu=x86_64" ;; *) ...
0
votes
2answers
99 views

Why has there been so little innovation with autoconf configure scripts in the Unix and Linux ecosystem? [closed]

A great deal of time is lost at the time of ./configure; especially when dependencies are missing and the subsequent calling thereof. I've read many topics on this subject citing that caching the ...
3
votes
1answer
293 views

How to make autoconf use “install” instead of “mkdir -p”?

When I run sudo make install on a compiled package from the GNU archive, it uses mkdir -p to create the destination directories. I'd prefer it to use mkdir -p -m 0755 or install -d -m 0755 instead in ...
1
vote
0answers
115 views

Problem compiling autoconf

I am experiencing problems with compiling autoconf and they probably are related to the version of the M4 that I am using. I will put part of the result of running both ./configure as running ./make ...
2
votes
1answer
133 views

make unable to recurse for autoconf-like projects

I've built a Linux system running on an ARMv7 chip and it works surprisingly well, but I have run into a problem with native builds. First I bootstrapped by cross-compiling on an x86-64 system, and ...
4
votes
1answer
91 views

GNU autotooling, where to install shell functions?

I have a tiny project that configures and installs some shell scripts using GNU autotools. Now, the scripts will have to source a common file containing some shell functions. Where should this file ...
0
votes
1answer
461 views

Building autoconf-2.69 without root access on Centos 7 machine

I am using a Centos 7 machine, and I don't have root access. For this reason I have to compile everything locally, and hold them under my .local/ directory. I need to compile autoconf, and I compile ...
1
vote
0answers
201 views

Locally built zsh can't find its own function files

Okay, so the Linux server I use at work doesn't have Zsh installed on it and I don't have root access, so I manually built and installed zsh to "$HOME/usr" (I've done this with other programs such as ...
4
votes
2answers
533 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: $ ...
1
vote
1answer
305 views

autoconf tried to invoke "exec -m' under bash, but -m is not a legal operand for exec

This question may really be about where to get help, rather than help for the problem itself. Please forgive the wordiness! I'm trying to build gcc to run on Win32 and produce code for AVR. I've ...
1
vote
1answer
1k views

Autoconf - setting compiler flags for checks

I am trying to use autoconf to create a configure script. However, some of the headers I want to check for require additional compiler flags (e.g. c++11). I can get partly there with the answer here ...
0
votes
1answer
240 views

How can I get self-compiled packages to play nice with packages managers (e.g. apt-get, yum) [duplicate]

Suppose I want to: compile and install my own custom application which requires downloading, compiling and installing the source for newest version of libthrift which requires downloading, compiling ...
1
vote
0answers
57 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, ...
1
vote
1answer
715 views

To stop auto generated IPv6 link local address

How can I stop assigning of link local IPv6 address? I have tried to do it by disabling the accept_ra and autoconf options, but it is not working.
1
vote
1answer
93 views

Loop through m4's dumpdef

Is it possible to loop through the list of macro names given by dumpdef? I want to process certain macros which have a certain prefix in their name.
1
vote
0answers
198 views

Compiling drivers for armada 370

I am trying to compile usb_serial drivers for a Mirabox with armada 370. I first tried as followes : Install linux source for 3.2 (running kernel is 3.2.36) Install linux headers for 3.2 Edit the ...
6
votes
3answers
733 views

What is the preferred way to build software in the BSDs?

I was wondering what the preferred way of building software in the BSDs is and if they are actively using and encouraging the use of GNU autotools. I found the following section about GNU autoconf in ...
12
votes
2answers
44k views

autoreconf fails with 'Can't exec “libtoolize”'

I wanted to learn about autotools, so I just started watching some tutorials on YouTube. I made a folder named hello and then made a configure.ac file: AC_INIT([hello],[.01]) AC_OUTPUT I saved it ...
5
votes
0answers
1k views

How can I install M4 on Linux, avoiding the dependency loop with Automake and Autoconf?

I am trying to install GNU M4 on my Chromebook using the 1.4.17 tarball, but when I run ./configure and thenmake I get an error related to aclocal, which is apparently part of the GNU Automake package....
3
votes
1answer
308 views

Build bash (or alternate linux package) with custom binary/doc name

I am trying to build Bash 4.2 as an RPM package for use on Enterprise Linux 5 systems, which come by default with 3.2.25. This works successfully, however, I want both versions to co-exist on the ...
0
votes
1answer
1k views

Tell autoconf to use different version of gcc

OpenBSD installs newer version of gcc as egcc. I am trying to compile some software that requires gcc 4.4+ and can't seem to convince autoconf to use the newer versions of gcc... I have tried: # ...
28
votes
3answers
32k views

What are .in files?

Sometimes in the sources of projects I see "*.in" files. For example, a bunch of "Makefile.in"s. What are they for and/or what does the ".in" part mean? I assume that this has something to do with ...
2
votes
1answer
603 views

Nested packages for different subdirectories in autoconf?

I have different subdirectories that need to be compiled in different ways. For example, some files needs to include some others using CFLAGS. However, CFLAGS can only be set in configuration files, ...
1
vote
1answer
498 views

Autotools does not detect my architecture correctly. How to handle?

I am trying to build the latest ffmpeg from the git repo. However, as you can see below, autotools does not detect correctly that my box has 64-bit architecture (Ubuntu 12.04). Consequently, during ...
4
votes
1answer
664 views

autoconf save ./configure command line to config.h

Some binaries save the command line used to configure them inside the binary (I don't remember any that do, otherwise I'd check the source). Is there a way to obtain the command line used as a macro ...
3
votes
2answers
403 views

Bind locally installed library

I have no root access on a machine and I'm trying to install a library called GiNaC locally in my home folder. I use this tutorial http://www.ginac.de/tutorial/Configuration.html#Configuration. At ...
56
votes
4answers
44k views

Some M4 macros don't seem to be defined

I am trying reinstall pacman on my Arch Linux distribution. When I run the configure script "configure.ac", I get a bunch of undefined macros: error: possibly undefined macro: AM_INIT_AUTOMAKE. If ...
68
votes
8answers
49k views

Why can't gcc find libevent when building tmux from source?

I want to install tmux on a machine where I don't have root access. I already compiled libevent and installed it in $HOME/.bin-libevent and now I want to compile tmux, but configure always ends with ...
6
votes
1answer
40k views

how to make PKG_CONFIG_PATH variable to refer an installed library?

I am in the process of installing the required libraries for FireFox 3.6 on a Redhat Linux Nash 4.x system. I already have successfully installed the glib2.12.0 library, but When I ./configure the ...