configure

No C compiler on EC2?

南楼画角 提交于 2019-11-28 03:42:09
问题 I've been trying to install Gearman on my EC2 instance, but when I try to ./configure gearmand, I get this: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/home/ec2-user/gearmand-1.1.3': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details Now,

Compile C lib for iPhone

纵饮孤独 提交于 2019-11-28 01:36:47
问题 I'm trying to compile ZeroMQ C binding in order to be able to use it on iPhone, here is my configure options: ./configure --host=arm-apple-darwin --enable-static=yes --enable-shared=no CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 CFLAGS="-pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=3.1.2 -gdwarf-2 -mthumb -I/Library/iPhone/include -isysroot /Developer

Build 32bit on 64 bit Linux using an automake configure script?

纵然是瞬间 提交于 2019-11-27 17:06:35
I'm using a 64bit system but want a set of 32bit binaries. What options must I pass to a configure script to generate a 32bit/x86 makefile? Passing the following argument to configure script allowed me to build the 32bit library on 64bit Linux ./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" Jack's answer is incomplete. You need compiler/libc support for 32-bit compilation. In some distros like Ubuntu, what you need to do is install packages gcc-multilib and/or g++-multilib : sudo apt-get install gcc-multilib g++-multilib Then you can call configure as you

Liferay: How to configure Liferay Portal

非 Y 不嫁゛ 提交于 2019-11-27 14:30:17
How to configure or to override Liferay portal properties with portal.properties ? Mark Liferay properties is powerful instrument that allows us to configure Portal behaviour without coding of hooks-, ext- and theme-plugin. By new requirement we proof at first for possibility to solve this requirement with change of Liferay configuration. The default properties configuration can be found at Liferay source code: https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties or in https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties or

Can CMake generate configure file?

匆匆过客 提交于 2019-11-27 13:23:30
问题 I need the configure file to transpile from C++ to JS, I'm trying to use emscripten in a project. Emscripte comes with a tool called emconfigure, that replaces the autoconf configure, But the project I'm building uses cmake as build system and currently (Jan-12) emscripten has only support for autoconf - so I'm bypassing it by generating the configure and doing a port on the make, so there a way to create the configure file from the cmake ?? I'm not talking about the make files.. but the

Append compile flags to CFLAGS and CXXFLAGS while configuration/make

谁说胖子不能爱 提交于 2019-11-27 12:38:49
The project that I am trying to build has default flags CFLAGS = -Wall -g -O2 CXXFLAGS = -g -O2 I need to append a flag -w to both these variables (to remove: 'consider all warnings as errors') I have a method to work it out, give make 'CFLAGS=-Wall -g -O2 -w'; 'CXXFLAGS=-g -O2 -w' OR Run ./configure and statically modify Makefile But I want to append my options with the existing options while running configure or make The post Where to add a CFLAG, such as -std=gnu99, into an autotools project conveniently uses a macro to achieve this. You almost have it right; why did you add the semicolon?

Android valgrind build fails

╄→尐↘猪︶ㄣ 提交于 2019-11-27 12:31:29
Hello I'm trying to build valgrind for android-arm. On Linux Mint 13 it fails with: $ make echo "# This is a generated file, composed of the following suppression rules:" > default.supp echo "# " exp-sgcheck.supp xfree-3.supp xfree-4.supp glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.X.supp >> default.supp cat exp-sgcheck.supp xfree-3.supp xfree-4.supp glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.X.supp >> default.supp make all-recursive make[1]: Entering directory `/home/matt/Desktop/valgrind/valgrind-3.8.1' Making all in include make[2]: Entering directory `/home

How to resolve configure guessing build type failure?

跟風遠走 提交于 2019-11-27 10:48:12
问题 When I configure (under cygwin environment), an error occurred, Message are following: $ ./configure ................. checking build system type... /bin/sh: ./config.guess: No such file or directory configure: error: cannot guess build type; you must specify one How to resolve it? Thanks!! 回答1: search for /usr/share/automake*/config.guess check the latest version of automake $ which automake $ automake --version find the appropriate automake folder in /usr/share/automake.1.11.1/config.guess

Confused about configure script and Makefile.in

我们两清 提交于 2019-11-27 10:08:22
问题 I'm currently learning how to use the autoconf / automake toolchain. I seem to have a general understanding of the workflow here - basically you have a configure.ac script which generates an executable configure file. The generated configure script is then executed by the end user to generate Makefile s, so the program can be built/installed. So the installation for a typical end-user is basically: ./configure make make install make clean Okay, now here's where I'm confused: As a developer, I

What does a typical ./configure do in Linux?

南笙酒味 提交于 2019-11-27 10:06:53
问题 Why is it necessary though everything is specified in a makefile ? 回答1: Typically the configure script when run will: Check some details about the machine on which the software is going to be installed. This script checks for lots of dependencies on your system. For the particular software to work properly, it may be requiring a lot of things to be existing on your machine already. If any of the major requirements are missing on your system, the configure script would exit and you cannot