autoconf Questions
3
Trying to use AX_CXX_COMPILE_STDCXX_11 in my configure.ac file like this:
...
AX_CXX_COMPILE_STDCXX_11(, optional)
...
However, results in error:
./configure: line 16126: syntax error near unex...
2
Solved
The project that I am trying to build has default flags
CFLAGS = -Wall -g -O2
CXXFLAGS = -g -O2
I need to append a flag -w to both these variables (to remove: 'consider all warnings as errors'...
6
I am trying to do an installations of Linux Mint 16 'petra' on both 32 and 64 bit installs.
I have no internet connection on my pc so have to install all additional software manually. Being a deve...
22
Solved
I have the following in configure.ac:
AC_CHECK_PROGS(MAKE,$MAKE make gmake,error)
if test "x$MAKE" = "xerror" ;then
AC_MSG_ERROR([cannot find a make command])
fi
This has been in our project fo...
3
Solved
I may need to add a lot of AC_ARG_ENABLE, currently I'm using the syntax below which is the only I got working, but I wonder if there's already some m4 macro for a simple action-if-given test as I'...
2
Solved
When cross compiling tools, you will often have to provide "a target triplet". Example given
i686-pc-linux-gnu
arm-none-linux-gnueabi
powerpc-unknown-linux
and so on...
These triplets, which a...
Depreciatory asked 11/12, 2012 at 11:54
2
Solved
I encounter such errors when trying to build libnice-0.1.10. For solution, I am following possibly undefined macro: AC_MSG_ERROR, but still not getting there.
some program version
uname: 3.5.0-23-g...
2
I'm trying to test our Autotools stuff on Cygwin. When I open a prompt:
$ autoreconf --install --force
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm ...
5
Solved
I'm trying to build ZooKeeper on a RedHat Linux box. (Exactly what ZooKeeper is is probably not important :-)
When I follow the package instructions, I get:
$ autoreconf -if
aclocal:configure.ac...
Trait asked 15/9, 2009 at 22:12
6
Solved
I need a place to install libraries in a linux box I have no su access to. I'm using ~/local[/bin,/lib,/include], but I don't know how can I tell ./configure to look for libraries there (particular...
6
Solved
I understand that CFLAGS (or CXXFLAGS for C++) are for the compiler, whereas CPPFLAGS is used by the preprocessor.
But I still don't understand the difference.
I need to specify an include path f...
2
Solved
can anybody tell me if there is a way to insert a conditional block to Makefile.am so that it will be passed further to a Makfile created by autotools?
Here is an example:
ifeq "$(SOMEVAR)" ""
SO...
Attractant asked 23/11, 2010 at 13:45
3
Solved
The Autoconfig manual states that comment lines can start with either dnl or #.
Is there any difference between them, any reason to use one rather than the other in any circumstance? Or is it pure...
Namedropper asked 30/7, 2010 at 12:7
2
Solved
I'm trying to debug an autotools problem for an open-source project, which is failing at the configure step. I'd like to see the code/executable that configure is trying to run.
However, the conf...
4
Solved
I'm trying to update Automake on a really old CentOS machine. The build is failing with:
$ make -j 4
...
MAKEINFO doc/automake.info
/home/scripts/automake-1.15.1/lib/missing: line 81: makeinfo: ...
Thies asked 3/1, 2018 at 4:40
2
Solved
I get the following error
./configure: line 11162: PKG_PROG_PKG_CONFIG: command not found
when this is code is executed in (kivy-ios/tools-build-sdlmixer.sh)
if [ ! -f libtremor/tremor/.libs/li...
Herr asked 13/6, 2013 at 14:37
3
Solved
I'm working on a configuration script for a JNI wrapper. One of the configuration parameters is the path to jni.h. What's a good quick-and-dirty Autoconf test for whether this parameter is set corr...
Seasonseasonable asked 2/10, 2008 at 18:8
3
Solved
Unfortunately, I am having difficulty cross-compiling Git for the ARMv6 architecture.
But before I begin describing the steps I've taken and commands I've entered, I should briefly describe the bu...
Seneca asked 20/3, 2013 at 5:41
2
Solved
I get following message when I run automake --foreign --add-missing for my C program compiling.
mylib/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
mylib/Makefile.am:1: The...
1
I'm experimenting with using libhttpserver and, by extension, libmicrohttpd from inside a Bazel build. The build process for these libraries seems to go:
./bootstrap
mkdir build
cd build
../config...
Geraldo asked 3/2, 2020 at 23:15
2
Solved
I'm currently learning how to use the autoconf/automake toolchain. I seem to have a general understanding of the workflow here - basically you have a configure.ac script which generates an executab...
4
Solved
I'm not talking about making portable code. This is more a question of distribution. I have a medium-sized project. It has several dependencies on common libraries (eg openssl, zlib, etc). It compi...
2
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 ...
Concentre asked 16/12, 2016 at 10:21
2
Solved
Why do conditional statements in autoconf scripts prefix their variables with "x"? For example, the macro provided by GNU to test for Boost has conditionals such as
if test "x$want_boost" = "xyes"...
Aught asked 29/6, 2012 at 16:50
4
Solved
i'm trying to build libxml2 from source on my mac.
so i have autoconf, libtool, and automake installed using macports
autoconf and automake seem to be working fine as expected.
i try running autoge...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.