configure

How to set queue max length for activemq

房东的猫 提交于 2019-12-12 16:18:35
问题 I'm wondering if I can configure a queue's max length on activemq, so that when the queue's length touch the limit, the enqueue operation will failed or throw exceptions. is anybody know about this question? any help will be very appreciated. Thanks a lot. 回答1: Take a look at Producer Flow Control http://activemq.apache.org/producer-flow-control.html It limits your queue on the amount of memory the queue takes so its not a numbers of messages approach but a memory sizing approach. You can

configure: error: CGAL library not found

断了今生、忘了曾经 提交于 2019-12-12 13:32:25
问题 My ultimate goal is to get python package graph_tool working on my system and also on ipynb if possible. I have already brew install graph-tool , as indicated here, but that's still insufficient. So I follow Anaconda instructions here, and I make decent progress, until the CGAL Library could not be found. Note: to comply with the Anaconda instructions, I installed anaconda3 and created a new conda environment (named py36env ) to conda install all the required packages (packages that must also

Using SCons TryCompile to examine compiler flag support on Windows

北城余情 提交于 2019-12-12 11:49:04
问题 With GCC and clang, I've been able to use SCons 'TryCompile' feature to build a simple configure check to determine if the currently configured compiler supports a given compile flag. Basically, clone the env, add the flag in question to CFLAGS, CCFLAGS, or CXXFLAGS, as appropriate, execute TryCompile, and if the TryCompile succeeds, then the flag is supported and we can add it to the real env. This works perfectly with gcc, because unknown flags are errors and the compiler exits with a non

Compiling gdb for remote debugging

给你一囗甜甜゛ 提交于 2019-12-12 07:56:53
问题 I'm trying to remote debug an application running on arm9 So far I've been able to cross compile and execute gdbserver on my device. get gdb (7.2) sources and extract them ./configure --target=arm-none-linux-gnueabi --with-expat=/usr/local/lib/ make cd gdb/gdbserver ./configure --host=arm-none-linux-gnueabi make tftp gdbserver to my device run and connect via gdb to the device gdbserver "seems" to start correctly and attach itself to my helloworld application When I try to gdb to the remote

Building pgadmin3-1.20.0 in CentOS 7 with PostgreSQL-9.4

荒凉一梦 提交于 2019-12-12 01:53:08
问题 I want to build pgadmin3-1.20.0 in CentOS 7, so I enter: ./configure But I got this error: configure: error: Could not find your PostgreSQL installation. You might need to use the --with-pgsql=DIR configure option And when I use following command: ./configure --with-pgsql=/usr/pgsql-9.4/ this error will be raised: configure: error: you must specify a valid PostgreSQL 8.4+ installation with --with-pgsql=DIR Pgsql is up and has not any problem. How can I fix this error. 回答1: have you tried to

configure script in xcode fails with exit code 1

寵の児 提交于 2019-12-11 13:36:07
问题 I'm running this script as an Xcode run script to build graphviz: if [ ! "${BUILT_PRODUCTS_DIR}/graphviz/Makefile" -nt "${SRCROOT}/graphviz/configure" ] then GVROOT="${SRCROOT}/graphviz" # figure out optimization OPT="${GCC_OPTIMIZATION_LEVEL}" if [ -z "${OPT}" ] then OPT="s" fi FLAGS="-fexceptions -gdwarf-2 -isysroot ${SDKROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} -mthumb -O${OPT}" # figure out architecture for ARCH in ${ARCHS} do FLAGS="${FLAGS} -arch ${ARCH}" done # figure

Forbidden error when accessing wamp from local network

て烟熏妆下的殇ゞ 提交于 2019-12-11 10:27:42
问题 Okay now, this problem has been driving me crazy for a week! I hope we will find a solution together. I am trying to configure my wamp server to run on a local network (be accessable from a local network). Specifically, I want to access a project saved in the /www folder from another computer using a local area connection. I am using Windows 7 for my wamp server. However, when I run "192.168.178.3:8080" from the other computer I get the following error: Forbidden: You don't have permissions

read Maven variable from properties file using profile

社会主义新天地 提交于 2019-12-11 10:22:10
问题 I want to read a maven variable for configure a build plugin from a properties file. It's not needed in and further project files e.g. context files. 1) made a profile (it works, can use mvn ... -P private) <profile> <id>private</id> <properties> <env>private</env> </properties> </profile> 2) created the filter file with this content (it works) foo.path=/home/foo/path 3) try to configure the plugin (does not work) <build> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>foo-plugin<

How to Configure Visual Studio 2008 for Compiling Drivers?

本秂侑毒 提交于 2019-12-11 05:52:04
问题 I configured visual studio 2008 for compiling drivers, but still showing lots of syntax errors for header file for ctype.h and excpt.h 回答1: I configured with following settings : Setup Visual Studio 2008. Setup ddk (wdk). Add to Visual Studio paths DDK include files, libs and bins, In VS goto tools ->options->Project and solutions->VC++ directories-> add path to your ddk Include files,Executeable file,Library file Create new empty "Win32 project" and add source file (i.e. Hello_World.c).

Statically linked gcc

大憨熊 提交于 2019-12-11 04:32:47
问题 Is there any method to build statically linked gcc compiler? If yes, what flags of configure/make should I use? I expect getting gcc and g++ binary files which should be "not a dynamic executable" (while checking with ldd tool, for example). 回答1: Disabling all shared options is a good start. Then using e.g. --with-stage1-ldflags and --with-boot-ldflags to set linker flags to link statically could be used. – Some programmer dude It worked! Here is used configure flags: ../configure --prefix=