Questions tagged [configure]

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

A Configure script is an executable script designed to aid in developing a program to be run on a wide number of different computers. It matches the libraries on the user's computer, with those required by the program, just before compiling it from its source code.

As a common practice, all configure scripts are named "configure". Usually, configure scripts are written in Bash syntax, but they may be written for execution in any desired shell.

1550 questions
43
votes
5 answers

how to modify the install-path without running the configure script/cmake again

I am working on a project which takes considerable time to build (10-15) minutes. I have recompiled to verify if there is a compilation error. Now I want to change the install directory so that I have a new version of executable with the new…
A. K.
  • 34,395
  • 15
  • 52
  • 89
40
votes
3 answers

How to set the style of line comment in phpstorm

How to change the default style of line comment in PHPStorm to at indentation level rather than at first column? if ($condition) { // At first column. // At indentation level }
Tranch Xiao
  • 525
  • 1
  • 5
  • 10
39
votes
1 answer

What configure options were used when building gcc / libstdc++?

After reading about the problem of passing empty std::string objects between DLLs and EXEs, I am concerned about the configure options used to build my gcc / libstdc++. More specific I want to know if --enable-fully-dynamic-string was used during…
OK.
  • 2,374
  • 2
  • 17
  • 20
37
votes
2 answers

Autotools: how to cleanup files created by "./configure" in lighttpd project?

I'm trying out lighttpd for an embedded Linux project. I got the latest source package and started writing a master Makefile encapsulating all configure, compile, install (for testing) etc stuff. And vice-versa, I want to cleanup every step. After…
Andi
  • 888
  • 2
  • 10
  • 24
33
votes
1 answer

Any difference between configure.ac and configure.in, and Makefile.am and Makefile.in?

I have seen both in different things I have configured. What I the difference? Is it notable to use only one? Or does it not matter which one to use?
Mohit Deshpande
  • 53,877
  • 76
  • 193
  • 251
31
votes
2 answers

What is the job of autogen.sh when building a c++ package on Linux

I saw a common pattern when installing a c/c++ package from source on Linux (Ubuntu 16.04): ./autogen.sh ./configure make make install I understand make and make install, and I guess configure creates a Makefile based on user preferences, but I…
Elad Weiss
  • 3,662
  • 3
  • 22
  • 50
30
votes
4 answers

How do you "echo" the last configure/make build --options within a source directory?

When doing a a GNU-style " ./configure, make, and install " - with specific options, flags, etc... As you all know, sometimes this can be a black art.. and what works for one piece of software may not for any other... Now, imagine that you had…
Alex Gray
  • 16,007
  • 9
  • 96
  • 118
30
votes
1 answer

Configuring Django to use SQLAlchemy

How can I configure Django with SQLAlchemy?
nazmul hasan
29
votes
2 answers

where is a good tutorial on creating an R package with C++ source code?

I'm at a loss when I start looking at configure scripts. I'm not sure how to go about creating an R package which has several functions built from C/C++ in such a way that it's portable between Windows & Linux. My attempts to modify the guts of…
M. Tibbits
  • 8,400
  • 8
  • 44
  • 59
29
votes
2 answers

How to static link Linux software that uses ./configure?

I would like to compile NRPE static, so I can copy the compiled binary to an OmniOS server, where I don't want gcc to be installed on. I would prefer to install NRPE with SSl support from a repository, but such doesn't seam to exist, so I would like…
Sandra Schlichting
  • 25,050
  • 33
  • 110
  • 162
27
votes
3 answers

configure does not recognize androideabi

I am trying to compile a library using android-ndk-r5 standalone toolchain and autotools. When doing a ./configure, it fails with: $ ./configure --host=arm-linux-androideabi ...snip... checking host system type... Invalid configuration…
larvyde
  • 811
  • 1
  • 6
  • 19
26
votes
3 answers

change eclipse shortcuts to match Visual Studio

Is there a way to change keyboard shortcuts in Eclipse to match those in Visual Studio 2010? I am a C# developer and I am used to Visual Studio shortcuts. I am now using Eclipse to do some Java programming. It is fun, but painful because my brain is…
BrokeMyLegBiking
  • 5,898
  • 14
  • 51
  • 66
26
votes
3 answers

How can the linux kernel be forced to enumerate the PCI-e bus?

Linux kernel 2.6 I've got an fpga that is loaded over GPIO connected to a development board running linux. The fpga will transmit and receive data over the pci-express bus. However, this is enumerated at boot and as such, no link is discovered…
reign_man
  • 569
  • 2
  • 8
  • 21
23
votes
1 answer

./configure with a specified version of g++

How to tell to a 'configure' file to compile with a specified version of g++ ? Thanks.
Oodini
  • 1,092
  • 6
  • 11
  • 22
22
votes
3 answers

configure error installing R-3.3.2 on Ubuntu: checking whether bzip2 support suffices... configure: error: bzip2 library and headers are required

Trying to install R-3.3.2 but when I use $./configure, I keep getting the error: checking whether bzip2 support suffices... configure: error: bzip2 library and headers are required
InformaticsLad
  • 221
  • 1
  • 2
  • 6