configure

C Compiler cannot create executables on SUA/Interix

末鹿安然 提交于 2019-12-07 13:14:28
Whenever I try to build an application with Interix's GCC on Windows, this is what happens: /tmp/grep-2.5.4-src/build$ ../configure --build=x86_64-pc-interix6 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ../install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-pc-interix6 checking host system type... x86_64-pc-interix6 checking for gawk... (cached) gawk checking for gcc... gcc checking for C compiler default output file name...

node.js - configure node to load functions into the global scope?

自作多情 提交于 2019-12-07 12:49:49
问题 in realier days I saw somewhere that we can configure node-js to execute a loaded module in the global scope, I can't find how to do that now. Why I'm asking? I have some legacy files that define language utilities that I want to use on both the server and on the client, however many of these utilities are defined as global scope functions. For example, I have functions like closure(fClosure) , module(fModule) , and many more that simply organize your code in readable definitive way, and

CMake Error: The following variables are used in this project, but they are set to NOTFOUND

爷,独闯天下 提交于 2019-12-07 06:09:18
问题 I am trying to configure the whalebot crawler with the tar file whalebot-0.02.00.tar.gz . I have extracted it correctly with: root@Admin1:~/dls# tar xvzf whalebot-0.02.00.tar.gz After that I want to configure it with: root@Admin1:~/dls/whalebot# ./configure It gives me error: bash: ./configure: No such file or directory also I have run the command: root@Admin1:~/dls/whalebot# cmake ./ It gives me the following result: root@Admin1:~/dls/whalebot# cmake ./ -- The C compiler identification is

GnuTLS Libnettle 3.4 was not found

狂风中的少年 提交于 2019-12-06 14:02:29
问题 When I try to configure GnuTLS I'm getting the error that Libnettle 3.4 was not found. I've nettle 3.4.1-1 installed and the library files are present in /usr/lib. Even when I specify the environment variable NETTLE_LIBS directly ( export NETTLE_LIBS="-L/usr/lib -R/usr/lib -lnettle" ) it always throws out that message. In the config.log is following more concrete message: Package dependency requirement 'nettle >= 3.4.1' could not be satisfied. Package 'nettle' has version '3.4', required

Force use gcc to compile (instead of cc) in ./configure under Solaris Sparc

人盡茶涼 提交于 2019-12-06 13:56:52
I want to build fossil code on Solaris. wget http://www.fossil-scm.org/index.html/tarball/tip.tar.xz tar xf tip.tar.xz ; cd tip.tar ./configure CC=gcc CXX=g++ C=gcc BCC=gcc # no error It will cause $make cc -o bld/translate ./src/translate.c /usr/ucb/cc: language optional software package not installed $which cc /usr/ucb/cc $which gcc /usr/local/bin/gcc $which g++ /usr/local/bin/g++ I'm sure my gcc/g++ are workable. After I add a dirty hack on replace the 'BCC = cc' line of Makefilewith 'BCC = gcc' after ./configure. It compilable. But I don't know how to fix the source code. I downloaded that

How to pass extra custom ./configure autotools options to a Buildroot package?

只谈情不闲聊 提交于 2019-12-06 12:06:28
E.g., I want to add the options --enable-foo --enable-bar to a ./configure command. Many ./configure options can be set indirectly through BR2_ configs, but many software have so many options that it would be infeasible to have one BR2_ config for every possible ./configure option. Is there a general mechanism that works for all autotools packages? I think there is no current general method as of 2017.02, since package/pkg-autotools.mk contains: # Configure package for target define $(2)_CONFIGURE_CMDS (cd $$($$(PKG)_SRCDIR) && rm -rf config.cache && \ $$(TARGET_CONFIGURE_OPTS) \ $$(TARGET

How to get a configure script to look for a library

二次信任 提交于 2019-12-06 09:19:02
问题 I'm trying to write a configure.ac file such that the resulting configure script searches for a library directory containing a given static library e.g. libsomething.a. How can I do this? At the moment I have it check just one location with: AC_CHECK_FILE([/usr/local/lib/libsomething.a],[AC_SUBST(libsomething,"-L/usr/local/lib -lsomething")],[AC_SUBST(libcfitsio,'')]) But I want it to try and find it automatically. And if the library isn't in one of the default locations, I'd like configure

including static library to ./configure

你离开我真会死。 提交于 2019-12-06 06:31:34
问题 how do i include two static library while executing the command ./configure . Ex: ./configure --prefix=/usr \ LDFLAGS="-L/home/lancy/dictionary/src/WordNet-3.0/lib -lWN" here only one static library is include. how do i add such another static library to LDFLAGS in the same command. 回答1: You can just add more linker switches, e.g. LDFLAGS="-L/path/1/ -lLib1 -L/path/2/ -lLib2" But you might do better editing these into the Makefile.in unless you need them for the configure checks too? 来源:

Check framework example giving me error when running './configure'

こ雲淡風輕ζ 提交于 2019-12-06 05:01:26
问题 I'm building the check framework example 'check_money', but it's not building on my machine. The error is: configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.." I've tried installing it using: libtoolize --force aclocal autoheader automake --force-missing --add-missing autoconf ./configure It's still giving me the same error. So, I copied the same directory to another directory and ran: autoreconf --install ./configure And it's still giving me the same error.

configure the left and right mac 'command' keys differently?

寵の児 提交于 2019-12-06 03:31:40
I'm wandering if I can set the right mac 'command' to act like the ctrl key, but keep the default functionality of the left 'command' key. Thanks. There is a really awesome application called Ukelele (free) that is, unfortunately, unable to distinguish between left and right command keys. However, there is an even better application I recently found called "ControllerMate" that lets you do exactly what you want. You can find it here: http://www.orderedbytes.com/controllermate/ If you have questions about how to use it... well that's a totally different topic. It took me literally 30 seconds to