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
22
votes
7 answers

Configuring Maven for Windows 7, Files\Java\jdk1.6.0_23"" was unexpected at this time error

I am trying to configure Maven on my Win 7 machine. I am following these steps: http://maven.apache.org/download.cgi I downloaded Maven into folder c:\Program Files\Apache Software Foundation\apache-maven-3.0.5\ I set all environmental variables as…
Andrei
  • 801
  • 2
  • 10
  • 27
21
votes
2 answers

Scala sbt: Multiple dependencies in sbt

I am a new user to Scala, following the way to create a scala sbt project. https://www.youtube.com/watch?v=Ok7gYD1VbNw After adding libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.4" % "test" to build.sbt, and refreshed the…
Eason Caizhen Liu
  • 459
  • 1
  • 5
  • 12
21
votes
5 answers

common.gypi not found error in node.js

I am trying to "node-gyp configure" to try to get the ms sql server driver. However, initially it said binding.gypi was missing or something to that effect. Now however it is saying common.gypi not found. So I created a text document relabelled it…
21
votes
1 answer

How do I specify LDFLAGS and CPPFLAGS for ./configure?

I am using a Mac running OS X 10.8.3. I am trying to compile cgminer 3.0.0. On my first run of ./configure I got the message: checking for LIBCURL... no checking for LIBCURL... no configure: error: Missing required libcurl dev >= 7.18.2 So I…
Ben Harold
  • 6,242
  • 6
  • 47
  • 71
20
votes
5 answers

Disable -Werror in 'configure' file

While making a project with Makefile, I get this error: error: implicit declaration of function ‘fatal’ [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors The ./configure --help shows: Optional Features: …
mahmood
  • 23,197
  • 49
  • 147
  • 242
19
votes
4 answers

Can CMake generate a configure file?

I need the configure file to transpile from C++ to JS, I'm trying to use emscripten in a project. Emscripten comes with a tool called emconfigure, that replaces the autoconf configure, But the project I'm building uses cmake as build system and…
canesin
  • 1,967
  • 2
  • 18
  • 30
19
votes
6 answers

Where to put struts.xml

With Struts2 we have to have struts.xml in the class path, so it no longer works to have it under WEB-INF. So the way I got my project to deploy was to stick it under WEB-INF/classes and have it include ../struts2.xml 2 Problems: Eclipse cleans out…
ariso
  • 1,433
  • 6
  • 21
  • 35
18
votes
3 answers

Idiomatic config management in clojure?

What is an idiomatic way to handle application configuration in clojure? So far I use this environment: ;; config.clj {:k1 "v1" :k2 2} ;; core.clj (defn config [] (let [content (slurp "config.clj")] (binding [*read-eval* false] …
18
votes
2 answers

Best practices for CFLAGS handling in configure scripts?

I'm not a fan of autoconf, but in the interest of principle of least surprise, I'm trying to make my (non-autoconf) configure scripts behave as closely as possible to what users expect from an autoconf-based build system. The GNU coding standards…
R.. GitHub STOP HELPING ICE
  • 208,859
  • 35
  • 376
  • 711
17
votes
2 answers

How was my running php compiled?

I'm trying to compile a new instance of PHP (5.4.0) from the source code and want to keep compatibility with the one (PHP 5.3.6-13ubuntu3.6) already installed from the distro, Ubuntu-11.10. That is, I want to run ./configure with the same directives…
Al_
  • 1,481
  • 1
  • 11
  • 22
17
votes
2 answers

How to set a define through "./configure" with Autoconf

I have one project that can generate two diferent applications based on one define. libfoo_la_CXXFLAGS = -DMYDEFINE I have to modify the Makefile.am to set this define, so it is not automatic. Can I set this define somehow through the configure…
Luiz Antonio
  • 223
  • 1
  • 2
  • 6
15
votes
1 answer

Is adding AddMvc() Service twice in ConfigureServices() a good practice in Asp.Net Core?

I'm creating a Nuget Package for Asp.Net Core. I want to make it simple to configure. So I decided to give a fluent way approach to add my Nuget to the service collection in ConfigureServices() in Asp.Net Core. This is what I'm planning to…
fingers10
  • 6,675
  • 10
  • 49
  • 87
15
votes
4 answers

Disable network manager for a particular interface

I would like to disable network manager service for particular interface(s). "/etc/init.d/NetworkManager stop" is not going to serve my purpose since will stop the service. Please let me know how to achieve this. Please suggest commands/code only -…
Souvik
  • 601
  • 1
  • 8
  • 16
15
votes
2 answers

'configure: error: cannot compute sizeof (long long)' on scientific linux when installing ruby

I'm trying to update my version of ruby, running on Scientific Linux, but the command: $ rvm install ruby-2.1.6 fails with this error: checking size of long long... configure: error: in `/localdisk/home/user/.rvm/src/ruby-2.1.6': configure: error:…
Eilidh Troup
  • 163
  • 1
  • 4
15
votes
1 answer

autotools syntax error with ax_check_compile_flag

I am using autotools for building my C++ application. In my configure.ac I have the following line: AX_CHECK_COMPILE_FLAG([-Wall], [CPPFLAGS="$CPPFLAGS -Wall"]) which causes the following error when executing ./configure (after running autoreconf…
user32323
  • 299
  • 1
  • 3
  • 11