A Configure script is an executable script designed to aid in developing a program to be run on a wide number of different computers.

learn more… | top users | synonyms

47
votes
6answers
22k 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 ...
34
votes
1answer
1k views

./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?
30
votes
3answers
3k views

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 ...
24
votes
6answers
3k views

Why is it risky to give sudo vim access to ordinary users?

I'd like to create a new user and give him sudo access. To be specific, I want him to use sudo vim and edit httpd.conf. I wrote this in sudoers: user ALL=(ALL) /usr/bin/vim ...
8
votes
2answers
20k views

What is the correct syntax to add CFLAGS and LDFLAGS to “configure”?

I am a Unix/OpenBSD beginner and wish to install OpenVPN on OpenBSD 5.5 using OpenVPN source tarball. According to the instructions here, I have to install lzo and add ...
7
votes
3answers
5k 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 ...
4
votes
1answer
220 views

What is xterm's --enable-double-buffer configure option?

When running xterm's ./configure --help there is an option --enable-double-buffer enable double-buffering I've searched the web and came across the X11 Double Buffer Extension, the Introduction of ...
4
votes
1answer
3k views

Does `make install` overwrite files?

I've taken some time to install a newer version of Apache2.x on my Mac Os X 10.6.8. When configuring apache through ./configure I specified the Darwin layout. This layout assumes the path setup of ...
4
votes
2answers
136 views

Find out extension of executable files?

When I am building software from source on a GNU+Linux system, during the ./configure stage I frequently see the following line: checking for suffix of executables... How do I create such a check ...
4
votes
1answer
3k views

Building 32-Bit on a 64-Bit system

I'm trying to build the PHP memcache extension (v2.2.6) for i386 (32bit) on my x86_64 Ubuntu 11.04. ./configure uses config.guess by default (which outputs x86_64-unknown-linux-gnu on my system) but ...
3
votes
2answers
4k views

yum - list configure flags/options used to compile package

How can I see a list of flags/options used to configure and compile a certain package in yum, without having to install it first? Say apache, for example. $ yum list available httpd Available ...
3
votes
1answer
268 views

Which library are LO headers belonging to?

I'm trying to configure liquidsoap and compile it from source. The ./configure process gets stuck at this point: checking lo/lo.h usability... no checking lo/lo.h presence... no checking for ...
3
votes
3answers
550 views

Output compiler options from SSH

How can I list the configuration options that ssh/sshd was compiled with? I'm attempting to troubleshoot a SELinux configuration issue, and want to make sure that SSH was compiled with ...
3
votes
1answer
714 views

GVim compiled from source does not use gtk2

I have two HP-UX machines say A and B with HP-UX 11.11 and 11.31 respectively. I'have compiled gvim 7.3 from source an B, and gvim 7.0 on A. On A, gvim uses "version with GTK GUI", Compilation with ...
3
votes
0answers
223 views

target/build CFLAGS mixup when cross-emerging due to bug or my stupidity?

I'm trying to emerge LLVM using emerge from a crossdev (for ARM) overlay in Gentoo. I've set the CFLAG of the overlay to optimise for arm (-march=armv6j), which seems to make ./configure fail on the ...
2
votes
1answer
5k views

ncurses.h is not found, even though it is on the search path

I have installed ncurses package from source, and now I have $HOME/local/include/ncurses/curses.h $HOME/local/include/ncurses/ncurses.h on my filesystem. I have also set up the search pathes so ...
2
votes
2answers
3k views

How to make apr available for subversion install?

I try to install subversion from source, but on ./configure receive: configure: error: no suitable apr found I have download apr source and installed: libraries have been installed in: ...
2
votes
1answer
1k views

./configure, syntax error: unexpected token (lighttpd)

I want to build a modified version of lighttpd. I follow this tutorial: Downloading and building the H264 Streaming Module for Lighttpd (version 2) This is what I've done so far: apt get install ...
2
votes
1answer
42 views

CInt Configure Script: Syntax error at left parenthesis

I am trying to install CInt. When running ./configure, I get the following error: ./configure: 23: ./configure: Syntax error: "(" unexpected Here is the relevant section of configure: # configure ...
2
votes
1answer
481 views

compiling PHP fails cause of libpcre

I'm trying to compile PHP myself as I want to use PHPBrew to switch between multiple versions of PHP. I already solved a ton of problems in the process, but with this particular one I can't get any ...
2
votes
2answers
4k views

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 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 ...
2
votes
1answer
2k views

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 ...
2
votes
3answers
246 views

How do I compile wxWidgets with the same options as the package as the repository?

I am compiling wxWidgets as a pre-step to compiling the newest version of pgAdmin3 since there isn't a deb version in the repository that supports version postgres 9.2. I am having troubles and ...
2
votes
1answer
439 views

Using a specific version of program in configure

I would like to install bison to a machine where I don't have root privileges. When I tried to use configure then I got the following error: checking for GNU M4 that supports accurate traces... ...
2
votes
1answer
170 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 ...
2
votes
1answer
228 views

ocaml seems to be broken

I tried to compile Opa web framework from source on Sabayon, because their main server has a hardware failure. However, when I tried to use configure I got: "Your ocaml installation seems broken, ...
2
votes
0answers
57 views

GCC cofigure error

When I'm trying to install GCC for SLED 11 SP3, the terminal show me this error: configure: error: cannot compute suffix of object files: cannot compile. Before to intall GCC, I installed the GMP ...
2
votes
1answer
720 views

Gcc configuration error

I am trying to build GNU toolchain for OpenRISC by following the guide given at http://openrisc.net/toolchain-build.html#_stage_1_gcc on Fedora Virtual Box Image. I am getting error saying ...
2
votes
1answer
115 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, ...
2
votes
0answers
660 views

Missing Firmware for Wired NIC on Debian

I'm trying to install debian 64bit from a debian live image using YUMI on my usb drive. I'm installing it on an Inspiron 6400, and there is missing firmware. I can't connect to the internet ...
2
votes
1answer
53 views

./configure, how to provide a different executable during the checking phase

I am trying to install the MonoDevelop IDE from source. One of its prerequisites is Mono 2.10. Unfortunately the preinstalled mono runtime on my current Ubuntu system is 2.6.7. I managed to make a ...
1
vote
2answers
13k views

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 ...
1
vote
1answer
19 views

Organize local builds

A common thing for people who work on machines without having root rights is to locally build your own little suit of your favorite tools. The workflow goes a little something like this: tar xvzf ...
1
vote
1answer
68 views

After apt-get update and upgrade, do I need to recompile and re-install software that I did not install via apt-get install?

In particular, I noticed that my OpenSSL has been upgraded after a system update via sudo apt-get update and sudo apt-get upgrade. As I installed my Squid server by manually compiling, configuring ...
1
vote
2answers
1k views

Compiling PHP and installing it under one directory

I have to compile a few versions of PHP in work but I need an apache service for each version running like we have on Windows. However the configure options seem to have different folders for ...
1
vote
1answer
26 views

How to Cross Compile elfutils

My system (uname --all) Linux shyamdaramubtnb 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux My target ARM Cortex A7 I am in the process of cross ...
1
vote
1answer
598 views

building pidgin-otr-4.0.0 on CentOS 7: can't find pidgin and purple

I have built pidgin from source on CentOS 7. This is because there is no package available yet. This went well, however, pidgin-otr-4.0.0 cannot find the headers for pidgin and purple. They reside in ...
1
vote
1answer
562 views

Why doesn't Ruby's configure script detect my executables and header files?

I'm trying to compile Ruby and really understanding what's going on while doing so. I've used and written Makefiles before, but not autoconf's configure.in files, so maybe the result I'm getting is by ...
1
vote
1answer
313 views

Scribes Editor and Slackware64 13.37 — PyGTKSpell Cannot Be Found

I am trying to build Scribes in Slackware64 13.37 with XFCE and I am having a lot of troubles with the Python Binding for GTK Spell. I have gtkspell-2.0.16-x86_64-1 and pygtkspell-2.25.3-i486-3sl ...
1
vote
1answer
184 views

configure not adding line-continuation characters to makefile

This is, perhaps, a bit of a bizarre one but I don't even know where to start looking so if anyone can point me in the right direction, I'll be very grateful. I've just done a fresh install of my ...
1
vote
0answers
43 views

Automatic solution to reduce Linux kernel package size at compile time

Are there automatic solutions to disable unused Linux kernel parts (in particular unused modules) before compilation to fasten compilation? A daemon, that logs used kernel functions (or modules) at ...
1
vote
1answer
36 views

How the Python suffixes obtained by imp.get_suffixes() are set (in particular in Debian Jessie)?

The command python -c "import imp; print(imp.get_suffixes())" prints a list of tuples with suffixes used when importing modules (see the doc of imp.get_suffixes). Usually it is simply: [('.so', ...
1
vote
0answers
47 views

How to make a port recalculate dependencies

I am trying to install mail/pine-pgp-filters on my FreeBSD box, but I am running into a problem. I first tried to install it without having GPG installed, and it listed security/gpg1 as a dependency. ...
1
vote
0answers
212 views

configure error when trying to install LASH: “configure: error: C compiler cannot create executables”

Following the LASH manual step by step, got stuck trying to run the configure script. (LASH's dependencies are ALSA, JACK, libuuid, libxml2, GNU Readline lib, and some derivatives require GTK+2. I ...
1
vote
0answers
614 views

“the geoip2 module requires the maxminddb library” but the library is installed

I am trying to compile nginx with a module: https://github.com/leev/ngx_http_geoip2_module. Before the nginx compilation, this library: https://github.com/maxmind/libmaxminddb needs to be installed. I ...
1
vote
0answers
364 views

Building HDF5 with GCC 4.7 and OpenMPI

I am trying to install hdf5 with GCC 4.7 from binary, because I do not have root permissions, using following script on a machine using CentOS release 5.6(AMD64bit): module purge module unload ...
1
vote
0answers
735 views

ERROR: Failed to build linux

While compiling linux, I get following error: [ALL ] CC drivers/usb/otg/ulpi_viewport.o [ALL ] LD drivers/usb/phy/built-in.o [ALL ] LD drivers/usb/storage/built-in.o [ALL ] ...
1
vote
0answers
25 views

configure package in non-standard way and resolve library requirements

I am installing a package (dia-0.96.1) in non-standard way on opensuse-11 system which I don't have root access. When I start to configure the package with command: ./configure ...
1
vote
0answers
578 views

Problem with configure - cannot find -lgcc_s

I want install Argos 0.5 to Debian 3.12.6-2 (2013-12-29) x86_64 GNU/Linux. I had to install gcc 3.4 because Argos call for it. Now I have gcc 3.4 and gcc 4.8.2-2 too. Problem is that ./configure ...
1
vote
2answers
52 views

Cross compiling libSDL

I'm trying to cross-compile libSDL version 1.2 for a custom made, Debian based Linux system. The toolchain I'm using is already configured properly so that I just run gcc/g++ on the desired code and ...