On Wed, 2009-08-05 at 13:29 +0200, peter....@gmx.net wrote: > Hi, > > I'm trying to build activemq-cpp-2.2 on SUES 10 64bit. > autogen.sh, configure, 'make' and 'make install' works fine. When I try to > run 'make check' I get an error (details see below). > > Any ideas what's wrong? > > Cheers, > Pete > > activemq/connector/stomp/StompConnectorTest.cpp: In member function 'void > active > mq::connector::stomp::StompConnectorTest::testConsumers()': > activemq/connector/stomp/StompConnectorTest.cpp:99: error: expected > primary-expr ession before ')' token > activemq/connector/stomp/StompConnectorTest.cpp:99: error: > 'CPPUNIT_ASSERT_THROW _MESSAGE' was not declared in this > scope > make[2]: *** [activemq/connector/stomp/activemq_test-StompConnectorTest.o] > Error 1 > make[2]: Leaving directory > `/root/develop/apr-stuff/activemq-cpp-library-2.2/src > /test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > `/root/develop/apr-stuff/activemq-cpp-library-2.2/src > /test' > make: *** [check-recursive] Error 1 >
Do you have CPPUnit installed and if so, what version? This isn't a critical error, the library and example are built with the make default all target. You should be able to run all the examples in the ./src/examples folder. Are you using ActiveMQ-CPP v2.2 or the latest 2.2.6 release? You may also want to give 3.0 a try since that adds failover support to the client. Regards Tim. -- Tim Bish http://fusesource.com http://timbish.blogspot.com/