configure

Recommended flags for a minimalistic Qt build

六月ゝ 毕业季﹏ 提交于 2019-12-03 02:45:58
I am trying to build Qt because it is required for Visual Studio 2010. The build script (configure.exe) is quite straightforward but by default it takes ages to compile. After waiting for an hour on a fast notebook with an SSD, I've given up (using no flags, just configure.exe). What are the recommended flags for a basic, lightweight Qt application? I mean for someone learning Qt, who doesn't need WebKit and so on. I've collected the most useful links I found: The reference page for Qt configure: http://doc.qt.io/qt-4.8/configure-options.html Ben's advice from this question: Building Qt 4.5

./configure with a specified version of g++

老子叫甜甜 提交于 2019-12-03 02:37:54
How to tell to a 'configure' file to compile with a specified version of g++ ? Thanks. In a bash shell you can do something like this: CC=gcc-2.95 ./configure There will be similar techniques for other shells but I couldn't help you with the specifics. If your project is C++ the variable you need to define is CXX. 来源: https://stackoverflow.com/questions/2621019/configure-with-a-specified-version-of-g

Setting up “configure” for openMP in R

泄露秘密 提交于 2019-12-03 00:30:51
I have an R package which is easily sped up by using OpenMP. If your compiler supports it then you get the win, if it doesn't then the pragmas are ignored and you get one core. My problem is how to get the package build system to use the right compiler options and libraries. Currently I have: PKG_CPPFLAGS=-fopenmp PKG_LIBS=-fopenmp hardcoded into src/Makevars on my machine, and this builds it with OpenMP support. But it produces a warning about non-standard compiler flags on check, and will probably fail hard on a machine with no openMP capabilities. The solution seems to be to use configure

Configuring Django to use SQLAlchemy [closed]

天涯浪子 提交于 2019-12-02 22:10:50
Closed . This question needs to be more focused. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it focuses on one problem only by editing this post . How can I configure Django with SQLAlchemy? Mihail Krivushin You can use SQLAlchemy within a Django project with Aldjemy: https://github.com/Deepwalker/aldjemy Check this: Replacing django orm alchemy? :) Google links: replacing-django-s-orm-with-sqlalchemy django-sqlalchemy googleGroups Please find this little tutorial on how to use SQLAlchemy with Django There are many benefits of using

How do I build into a specified directory using the “prefix” option of configure?

岁酱吖の 提交于 2019-12-02 21:54:21
问题 I am trying to build glibc 2.27 on Clear Linux, obtained here: https://www.gnu.org/software/libc/sources.html According to the help, I should build into a directory outside of the source folder using the prefix command. As far as I can tell, I am doing what is described in the installation help: Configuring and compiling the GNU C Library The GNU C Library cannot be compiled in the source directory. You must build it in a separate build directory. For example, if you have unpacked the GNU C

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

六月ゝ 毕业季﹏ 提交于 2019-12-02 17:39:53
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 changes. Is there a method to just modify the install path so that the 'make install' installs to a new location rather than the old one? CMake generated makefiles support the DESTDIR coding convention for makefiles. Thus you can override the default installation location by setting the DESTDIR variable upon invoking make: $ make install DESTDIR=/opt/local

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

半腔热情 提交于 2019-12-02 17:32:00
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? configure.ac and configure.in are two possible names for the master Autoconf source file, which is processed by autoconf to generate the configure shell script. configure.ac is preferred for new packages, configure.in is an older name which still works. (The .in suffix is now recommended to be used only for files which will be processed by config.status , which is the result of running configure .) Makefile.am is an Automake source file. Automake

Linux configure/make, --prefix?

时间秒杀一切 提交于 2019-12-02 17:25:37
Bear with me, this one's not very easy to explain... I'm trying to configure , make and make install Xfce into my buildroot build directory. When configuring I'm using --prefix=/home/me/somefolder/mybuild/output/target so that it builds to the right folder, however when it's compressed and run I get errors from various config files where it's looking for files in /home/me/somefolder/mybuild/output/target (which of course doesn't exist.) How do I set what folder to build into, yet set a different root directory for the config files to use? Do configure --help and see what other options are

Compiling ImageMagick as 64bit under OS X?

試著忘記壹切 提交于 2019-12-02 11:09:11
I'm trying to install moddims on OS X (see previous question ), an Apache module with a dependency on ImageMagick. As far as I can tell, the OS X Apache is compiled as 64 bit. My previous attempt to run the moddims module I had compiled gave the following error: httpd: Syntax error on line 117 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libmod_dims.so into server: dlopen(/usr/libexec/apache2/libmod_dims.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libmod_dims.so: mach-o, but wrong architecture I'm presuming that means I need to compile moddims as

How do I build into a specified directory using the “prefix” option of configure?

丶灬走出姿态 提交于 2019-12-02 08:18:47
I am trying to build glibc 2.27 on Clear Linux, obtained here: https://www.gnu.org/software/libc/sources.html According to the help, I should build into a directory outside of the source folder using the prefix command. As far as I can tell, I am doing what is described in the installation help: Configuring and compiling the GNU C Library The GNU C Library cannot be compiled in the source directory. You must build it in a separate build directory. For example, if you have unpacked the GNU C Library sources in '/src/gnu/glibc-VERSION', create a directory '/src/gnu/glibc-build' to put the object