autoconf Questions
2
Solved
I have one project that can generate two diferent applications based on one define.
libfoo_la_CXXFLAGS = -DMYDEFINE
I have to modify the Makefile.am to set this define, so it is not automatic.
...
2
Solved
In a Makefile with
%.o: %.c
@echo Compiling $< ...
I'm getting the warning '%'-style pattern rules are a GNU make extension when I run autoreconf --install (of autoconf version 2.69). The w...
2
Solved
I'm just getting started with autotools, and have followed A. Duret-Lutz's tutorial closely to get a working C hello world that uses GNU gettext.
The AM_CFLAGS and AM_LDFLAGS are set appropriately...
3
Solved
General question: If I use a cross compiler, how can I tell the value of the "--host" option I should give when I run configure?
Specific: I'm using cross compiler for arm64 arch. What is the corr...
Trehalose asked 24/2, 2014 at 14:3
7
Solved
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 confi...
Spence asked 12/9, 2013 at 16:36
1
Solved
I'm trying to compile libbsd from source on Ubuntu 13.04. I'm using a toolchain to cross-compile, but automake is on the local machine. I have aclocal-1.13 in the PATH and everything, but I'm still...
Herat asked 10/3, 2014 at 5:48
2
I am trying to build a library with a different build system, but files in the library require a config.h header file that is generated after running the configure scripts generated by autoconf.
...
4
I'm creating a library libgdata that has some tests and non-installed programs. I am running into the problem that once I've installed the library once, the programs seem to be linking to the insta...
3
Solved
We recently moved from subversion to git, and then to Github, for several open source projects. Github was nice in that it provided a lot of functionality. One of the things I particularly like is ...
Warlike asked 1/4, 2013 at 14:41
4
Solved
When doing a a GNU-style " ./configure, make, and install " - with specific options, flags, etc... As you all know, sometimes this can be a black art.. and what works for one piece of software may ...
2
Solved
I'm trying to configure Postgres 9.5.4 for OpenSSL 1.1.0. Configure is dying because it can't find SSL_library_init in OpenSSL 1.1.0. OpenSSL 1.1.0 provides OPENSSL_init_ssl instead of SSL_library_...
6
Solved
I am trying to setup my machine with pecl_http and memcache and in both cases, I get similar errors. This is on MAC OS X 10.7.3 (lion) and I also have XCODE installed on it. I also installed Zend S...
Kopple asked 17/2, 2012 at 4:6
4
I am currently trying to create an installation package, using autoconf to generate the configure file. I have successfully managed to auto generate these, however, when I run ./configure, no makef...
4
Solved
I currently have a library written in C++, building with the GNU autotools, and I'd like to add a Python interface to it. Using SWIG I have developed the interface, but I'm having some trouble figu...
4
Solved
My program needs to load some files at run time, which will be installed into whatever folder is given to ./configure --datadir=/somewhere
As my program needs to know where this folder is at run t...
Examen asked 3/5, 2011 at 8:47
2
Solved
Various developers discourage the usage of the PKG_CHECK_MODULES (for example, in this answer) but there is no clear, comprehensive explanation of their reasons as far as I've looked for. So, I ask...
Possessive asked 19/4, 2012 at 2:41
9
Solved
Does someone know of any uses of m4 besides autoconf (preferably in a c or c++ environment) that is more than just an academic excerise, because it helped solve a problem that would otherwise...
Carlie asked 18/2, 2011 at 12:53
7
Autoconf scripts have trouble with a filename or pathname with spaces. For example,
./configure CPPFLAGS="-I\"/path with space\""
results in (config.log):
configure:3012: gcc -I"/path with spac...
2
Solved
I have a project with several sources directories :
src/A
/B
/C
In each, the Makefile.am contains
AM_CXXFLAGS = -fPIC -Wall -Wextra
How can avoid repeating this in each source folder ?
...
1
I am working though the Linux from scratch book when I encountered an error configuring Glibc (step 5.7):
checking for sysdeps preconfigure fragments... aarch64 alpha arm configure: error: Old ABI...
Norton asked 1/11, 2014 at 7:53
2
Solved
I'm sure this is a fairly simple problem. I have a very simple configure.ac file which I am using to just learn how autoconf & pkg-config work together. The confgure.ac file looks like:
AC_PRE...
Maible asked 20/12, 2011 at 15:54
1
Solved
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 ...
Street asked 22/9, 2015 at 23:6
1
Solved
we're developing a software package that uses autotools (autoconf 2.69 and automake 1.13.3 to be precise). This package needs wxwidgets and this library provides its own m4 file to allow testing th...
1
Solved
I am maintaining an autoconf package and wanted to integrate automatic testing. I use the Boost Unit Test Framework for my unit tests and was able to sucessfully integrate it into the package.
Tha...
Spaniard asked 18/4, 2015 at 9:37
3
Solved
configure scripts always include something like the following in the help message:
...
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can spe...
Vinita asked 21/8, 2010 at 19:57
© 2022 - 2024 — McMap. All rights reserved.