A Configure script is an executable script designed to aid in developing a program to be run on a wide number of different computers.
Questions tagged [configure]
208 questions
70
votes
9 answers
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 configure: error: "libevent not found", even…
volker
- 703
- 1
- 6
- 4
64
votes
5 answers
What is the correct syntax to add CFLAGS and LDFLAGS to "configure"?
I wish to install OpenVPN on OpenBSD 5.5 using OpenVPN source tarball.
According to the instructions here, I have to install lzo and
add CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
directives to "configure", since gcc will not find…
user66229
- 1,073
- 2
- 12
- 16
60
votes
1 answer
./configure: What is an insane build environment?
./configure always checks whether the build environment is sane...
I can't help but wonder what exactly a insane build environment is. What errors can this check raise?
sikerbela
- 616
- 7
- 16
50
votes
2 answers
Can not run configure command: "No such file or directory"
I'm trying to install a Debian package from source (via git). I downloaded the
package, changed to the package’s directory and ran ./configure command but
it returned bash: ./configure: No such file or directory. What can be the
problem? A…
Lexx Luxx
- 1,343
- 11
- 26
- 37
41
votes
3 answers
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 autoconf or make or something like those, but I'm…
strugee
- 14,723
- 17
- 73
- 119
28
votes
3 answers
What does `{ { (exit 1); exit 1; }; }` mean?
I quoted the next code snippet from config.status generated by configure.
if test ! -f "$as_myself"; then
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
echo "$as_me: error: cannot find myself; rerun with an…
MS.Kim
- 1,667
- 4
- 18
- 18
19
votes
1 answer
What is ac_nonexistent.h?
Examining a buildlog from a failed build, what does the following error mean,
fatal error: ac_nonexistent.h: No such file or directory #include
Here is some context.
configure:6614: $? = 0
configure:6627: result: none…
Evan Carroll
- 28,578
- 45
- 164
- 290
18
votes
4 answers
Package "fontconfig" not found despite having installed libfontconfig1-dev
Whilst attempting to compile poppler from source I get the error Package "fontconfig" not found.
I have found a lot of other resources advertising that this can be fixed by installing both pkg-config and libfontconfig1-dev to get the libraries, but…
M1ke
- 539
- 1
- 4
- 11
14
votes
1 answer
Why does configure take variables as arguments?
Is VAR=value ./configure the same as ./configure VAR=value?
In the first case, the shell sets the environment variable and in the second the configure script takes the string 'VAR=value' as an argument, and then presumably sets the variable. I…
spelufo
- 467
- 4
- 11
12
votes
1 answer
How to install R 3.3.1 in my own directory
This is a somewhat duplicate question (see How to set PATH for R installed in my directory ) but I did meet some new problem with new version of R.
I was trying install a new version of R (R 3.3.1) in my own directory.
I followed my previous…
Jun
- 531
- 4
- 8
- 20
10
votes
1 answer
"--with-x=yes (default) and X11 headers/libs are not available"
I am trying to install R in our cluster (the cluster is Red Hat Enterprise Linux 6), where I don't have root access. I tried:
$wget http://cran.rstudio.com/src/base/R-3/R-3.1.1.tar.gz
$ tar xvf R-3.1.1.tar.gz
$ cd R-3.1.1
$ ./configure…
Kryo
- 211
- 1
- 2
- 5
9
votes
2 answers
C compiler cannot create executables exit 77
I am using a RedHat linux environment where I do not have root permissions (I am on a paid server account).
Every time I try to run "./configure" on a new package that I am trying to set up and install, I run into an issue because of a problem with…
OMGitzMidgar
- 91
- 1
- 1
- 2
8
votes
2 answers
Alsa - how can I tell my default audio output is card 2 and device 0, not hdmi?
How can I tell my system default sound output is card 2 and device 0, and not card 2 device 3 or 7 or 1?
I did this, but no sound.
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device [C-Media USB Audio Device], device 0: USB Audio…
user11085
8
votes
1 answer
Where is program installed after ./configure
I'm installing a software using the following
wget
tar xzvf package.tar.gr
./configure package
cd package
make
make install
My problem is that the package is not installed in the working directory. Where is it installed by…
user179251
- 81
- 1
7
votes
3 answers
Verbose output of ./configure not verbose at all
I have a problem installing OpenOCD:
checking for ftd2xx.h... yes
checking for library containing FT_GetLibraryVersion... no
Said library is installed and tested.
In hopes of seeing where is configure looking for the library, I passed the verbose…
Vorac
- 2,957
- 8
- 36
- 53