configure

Compile PHP Error with freetype

荒凉一梦 提交于 2019-12-06 03:04:34
问题 I configured PHP myself, included all of the libraries I needed... but then realized I forgot the freetype library. So I went back to my php-5.3.2 directory and ran ./configure '--with-free-type=/usr/local/lib' PHP did the configure fine, no errors. But when I run make: collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Error 1 Something that comes up frequently: /php-5.3.2/ext/libxml/libxml.c:336: undefined reference to `ts_resource_ex' /php-5.3.2/ext/sqlite3/sqlite3.c:663:

How Configure EasyMock Class Extension 3.1?

廉价感情. 提交于 2019-12-06 01:05:50
I want to add EasyMock Class Extension 3.1 to my project and I have a problem with dependencies of EasyMock 3.1 CE. I add dependencies : cglib-2.2.2.jar and asm-4.0.jar and throws exception : java.lang.VerifyError: class net.sf.cglib.core.DebuggingClassWriter overrides final method visit.(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V When I use cglib-nodep-2.1_3.jar and asm-4.0.jar throws another exception: java.lang.NoClassDefFoundError: org/objenesis/ObjenesisHelper at org.easymock.internal.ObjenesisClassInstantiator.newInstance(ObjenesisClassInstantiator.java

Adding a custom installation directory option to Autoconf-generated configure scripts

倖福魔咒の 提交于 2019-12-06 00:20:10
问题 configure scripts always include something like the following in the help message: ... By default, `make install' will install all the files in `/usr/local/bin', `/usr/local/lib' etc. You can specify an installation prefix other than `/usr/local' using `--prefix', for instance `--prefix=$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir

`./configure` options for cross compile?

…衆ロ難τιáo~ 提交于 2019-12-05 12:42:02
As far as I know, ./configure script is generated with GNU Autoconf . I don't know about Autoconf at all. How do these tools work, and how can I use this ./configure script to make source to cross-compile? This is a pretty good little article to read on how to cross-compile: http://linux.bytesex.org/cross-compiler.html . The main part in cross-compiling is setting the configure flags for the compiler to poinst to the target architecture and platform: ./configure --target=sparc-linux --with-gnu-as i486-redhat-linux This might be outdated (modified copy & paste from that article), but the same

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

风流意气都作罢 提交于 2019-12-05 09:46:56
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 GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for

Configure JDBC driver in JBoss 7 - as a deployment OR as a module?

牧云@^-^@ 提交于 2019-12-05 04:09:27
问题 As mentioned in the article https://community.jboss.org/wiki/DataSourceConfigurationInAS7 JBoss 7 provides 2 main ways to configure a data source. What is the BEST practice of configuring a data source in JBoss 7 AS ? Is it As a module? As a deployment? (The same question has been asked in the thread https://community.jboss.org/thread/198023, but no one has provided an acceptable answer yet.) 回答1: The guide JBoss AS7 DS configuration says the recommended way is to configure the datasource by

What is config.log on osx and where does it live?

吃可爱长大的小学妹 提交于 2019-12-05 02:48:18
Can anyone explain what 'configure' is and does, where the config.log file can be found in general? This is in relation to a specific problem ( gcc not working - Xcode 3.2.6 - Snow Leopard ) but I thought this question might be of more general interest: When trying to install rubies with RVM, and I think possibly anything involving Xcode's gcc compiler, or possibly even more general than that, if there are errors then the logs usually refer to a config.log file. E.g. in my /yaml/configure.log I get: configure: error: in `/Users/duncanstuart/.rvm/src/yaml-0.1.4': configure: error: C compiler

Recompiling with -fPIC

蓝咒 提交于 2019-12-05 01:23:06
问题 I have MPICH 3.0.4 installed on my machine (Ubuntu 12.04). I am trying to install a library called Qthreads which I have worked with and successfully installed before (except with the MPICH2 package installed). The configuration works fine: ./configure --prefix=/usr/local/qthreads --enable-multinode --with-multinode-runtime=mpi --with-portals4=/usr/local/portals4 --with-hwloc=/usr/local/hwloc : ... ... ... System Characteristics: Target Style: unix Multi-node: yes, mpi Topology API: hwloc

GCC toolchain for LLVM

血红的双手。 提交于 2019-12-04 19:17:15
问题 I am running on an RHEL 6.x box, which of course has GCC 4.4 installed. I wish to have LLVM running on this machine. In order to do so, I must compile it from source. In order to do that , I need a more modern version of GCC. So, following the instructions, I have built GCC 4.8.2: [snip] % $PWD/../gcc-4.8.2/configure --prefix=$HOME/toolchains --enable-languages=c,c++ % make -j$(nproc) % make install I'm logged in as root, so $HOME/toolchains resolves to /root/toolchains . After satisfying

GnuTLS Libnettle 3.4 was not found

寵の児 提交于 2019-12-04 19:03:17
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 version is '>= 3.4.1' What I'am missing here? 来源: https://stackoverflow.com/questions/53790710/gnutls