Questions tagged [autoconf]

GNU Autoconf creates a shell script `configure` that is used to configure software for compilation for UNIX-like operating systems.

GNU Autoconf creates a shell script configure that is used to configure software for compilation for UNIX-like operating systems. It is extensible through the use of shell script and m4 macros. It is frequently used with GNU Automake and GNU Libtool (collectively known as Autotools).

1135 questions
0
votes
2 answers

Is there a standard Autoconf macro for log4cplus?

I am considering using log4cplus in a project built with the GNU Autotools. For other library dependencies (such as boost) I've been able to find reasonable canonical M4 macros to test for those dependencies. After a bit of looking I'm still unable…
phs
  • 10,687
  • 4
  • 58
  • 84
0
votes
2 answers

gcc error cannot compile exectables while installing xapian-core

Iam getting the error while installing the gem xapian-core . It was saying that "configure: error: C compiler cannot create executables See `config.log' for more details " Here is the log file generated. This file contains any messages produced…
Ranzit
  • 1,327
  • 2
  • 13
  • 32
0
votes
0 answers

How to handle white space in command line?Like: GOMAKE=${GOGO}(white space here) build

I want to compile thrift 0.8 to support go1(golang version 1) .Before go1,there are two command:goinstall and gomake,so lines in configure script like this: GOMAKE=${GOBIN}/gomake GOINSTALL=${GOBIN}/goinstall but as of go1,"go install" and "go…
Alex Luya
  • 9,412
  • 15
  • 59
  • 91
0
votes
1 answer

autoconf substitute path in script

I have a project where there are several helper scripts that call the main executable with different command-line options. Right now, the scripts assume the executable is in the same directory, so the calls to the executable in the script look like…
Nick
  • 499
  • 5
  • 13
0
votes
2 answers

Automake: different install to target and to toolchain

Maybe I am asking a silly question, but is there any way I can tell automake to put my project include files when I do a "make dist" but not when I do a "make install"? Maybe I am not acting the right way, so to make it clearer I will tell what I…
j4x
  • 3,595
  • 3
  • 33
  • 64
0
votes
1 answer

Ubuntu issue setting up autoconf and automake

I am trying to install the autoconf and automake tools on the latest Ubuntu but I am having problems finding anything online that will help me do this, I've tried to do apt-get update but I am having no luck. I need these tools in order to install…
Ferdinand
  • 241
  • 3
  • 12
0
votes
1 answer

configure.ac not finding dependencies under cygwin

I'm using an autoconf/automake configure script on cygwin, and I have the problem that it doesn't fin my dependencies. For example I do, in my configure.ac: AC_CHECK_LIB(mp3lame,lame_init,,AC_MSG_ERROR(Required library LAME not…
Mikael Lindqvist
  • 775
  • 5
  • 21
0
votes
1 answer

Make dist doesn't include makefile.in files from subdirectories

I have a Makefile.am file in my source folder and some makefile.in in some subdiretories. Everything works fine but I've noticed that when I do a make dist the tarball doesn't include the makefile.in in the subdirectories. Also because of this, make…
Gabi
  • 13
  • 2
0
votes
2 answers

What directory should I use for "error: 'extra_PROGRAMS' is used but 'extradir' is undefined"?

I have a autoconf/automake system that has a stand-alone target called stand. I don't want stand to be normally built, so I have this in my Makefile.am: bin_PROGRAMS = grace extra_PROGRAMS = stand ... stand_SOURCES = stand.cpp barry.cpp ... This…
vy32
  • 28,461
  • 37
  • 122
  • 246
0
votes
1 answer

library found during configure, but not make

I'm trying to bundle up a small C++ program using automake and autotools. In my current setup, a required library is installed in a location that the configure script is able to find, but is not found when invoking g++ from make. I can fix this by…
ChrisB
  • 4,628
  • 7
  • 29
  • 41
0
votes
3 answers

what does $(brickval_VALASOURCES:.vala=.h) do?

I found the following line in an automake script brickval_SOURCES = \ $(brickval_VALASOURCES:.vala=.c) \ $(brickval_VALASOURCES:.vala=.h) the whole thing is here I actually have a very good guess as to what it does, expand…
user615457
  • 817
  • 1
  • 7
  • 13
0
votes
3 answers

Building c++ project in Ubuntu Linux with Makefile.am/Makefile.in

I am new in Ubuntu/Linux and I've been working with java using the NetBeans IDE, so I don't have much experience with building c++ projects. But now I have to provide a proof of concept and I need to connect a C++ client with my ActiveMQ server. I…
0
votes
1 answer

How do I make an AC_CACHE_CHECK critical?

I perform some checks during configure, which i set up with autoconf using the AC_CACHE_CHECK macro. Some checks are critical, so if they donÄt pass, I want configure to fail. How can I achieve this? Thanks, Steffen
steffen
  • 8,572
  • 11
  • 52
  • 90
-1
votes
2 answers

lib path on mac osx

I did install the libnfc 1.5.1 in the default directory (/usr/loca/ lib). if i do an ls i see the libs there: foo:libnfc-1.5.1 bar$ ls -l /usr/local/lib/libnfc* -rwxr-xr-x 1 root wheel 62092 Nov 23 09:05 /usr/local/lib/libnfc.2.dylib…
VP.
  • 5,122
  • 6
  • 46
  • 71
-1
votes
2 answers

How to add options to ntpd

I'd like to add a new option to ntpd however I couldn't find how to generate ntpd/ntpd-opts{.c, .h} after adding some lines to ntpd/ntpdbase-opts.def e.g., $ git diff ntpd/ntpdbase-opts.def diff --git a/ntpd/ntpdbase-opts.def…
sira
  • 281
  • 3
  • 10
1 2 3
75
76