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

48
votes
7answers
29k 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 ...
39
votes
1answer
2k 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
4k 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 ...
11
votes
2answers
40k 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 ...
9
votes
3answers
9k 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 ...
7
votes
2answers
229 views

building Debian package with non-standard options

I would like to build Debian package from source, using dpkg-buildpackage. I have downloaded package source: apt-get -t wheezy-backports source gnucash Inside the file gnucash-2.6.9/configure I ...
6
votes
2answers
140 views

scripted configuring of a linux kernel

Given a list of kernel features, I want to create a minimal linux configuration supporting all given features (and the corresponding dependencies) but nothing else. Is there a way to create a ...
5
votes
3answers
687 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 ...
5
votes
1answer
4k 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 ...
4
votes
2answers
9k 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 ...
4
votes
1answer
3k 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 ...
4
votes
1answer
366 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
4k 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
141 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 ...
4
votes
2answers
226 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 ...
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
336 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
1answer
731 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 ...
3
votes
1answer
1k 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... ...
3
votes
1answer
222 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 ...
3
votes
1answer
814 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
251 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
2answers
26k 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 ...
2
votes
1answer
6k 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
4k 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
2k 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
3answers
279 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
108 views

How to configure a two-factor-enabled Gmail account to work as sendmail on a Debian Jessie?

I am interested to get email notifications from my server to my Gmail account - the same notifications that the server gets in the /var/mail/root - either by forwarding the messages, or or directly ...
2
votes
1answer
350 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
1answer
625 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 ...
2
votes
1answer
39 views

Fresh build and install of bison with custom --prefix is not looking for its data where I expect

I'm trying to get a fresh build of bison to run from a custom install directory specifiied with ./configure --prefix=, but it doesn't seem to be able to find the files it needs to run. Instead of ...
2
votes
0answers
127 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 ...
2
votes
0answers
74 views

GCC configure 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
1k 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
172 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
775 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
56 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
4answers
1k views

Configure rm command

I want to configure rm command. When one types rm to delete a file, then instead of deleting it right away, the file has to be transferred to the .trash of home folder. Can someone help me ?
1
vote
2answers
2k views

Dropbox install problems on Scientific Linux

I am trying to install nautilus-dropbox-1.6.2.tar.bz2. I ran ./configure, but got the error configure: error: Package requirements (libnautilus-extension >= 2.16.0) were not met: No package ...
1
vote
2answers
55 views

Resuming the Linux Kernel Configuration

I am configuring a Linux kernel before I compile the code. However, after I was thirty minutes into answering the many questions concerning various kernel settings, I accidentally pressed Ctrl+C. I do ...
1
vote
1answer
135 views

configure: error: Package requirements were not met. But i have already installed those packages in my system

[root@localhost rpm-ostree]# ./configure checking for library containing rpmsqSetInterruptSafety... no checking for PKGDEP_GIO_UNIX... yes checking for PKGDEP_RPMOSTREE... no configure: error: ...
1
vote
1answer
28 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
80 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
2k views

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 ...
1
vote
1answer
327 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
862 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
342 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
189 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
31 views

php links against system libxml instead of version specified by ./configure --with-libxml-dir

I'm trying to build php-5.5.33 from source on a Debian 8 system; configure and make both run successfully, but when I run make install I get the following error: Installing PEAR environment: ...