Hi Tim, I managed to build and run:
test-integration/ simple_producer example for version 2.2 test-integration example for version 3.0.1 The simple_producer (version 3.0.1) freezes during runtime. I suppose it has something to do with the fact I couldn't run ./autogen.sh with the old libs of autoconf, automake and libtool. Cheers, Pete -------- Original-Nachricht -------- > Datum: Wed, 05 Aug 2009 10:23:31 -0400 > Von: Timothy Bish <tabish...@gmail.com> > An: users@activemq.apache.org > Betreff: Re: Make check fails when building activemq-cpp-2.2 on SUES 10 > On Wed, 2009-08-05 at 16:11 +0200, peter....@gmx.net wrote: > > Ok. That requires another 'make check' I suppose. I will do that again. > > > > Yes, you have to build the tests once when you change those URIs. Not > ideal but it works. > > > Is there any simple way to run the SimpleProducer example using the > makefile provided in the directory? > > No, we don't have targets in the Makefiles for running the examples. > There aren't any arguments to those examples if I recall correctly, so > its just a matter of running the simple_producer executable. > > generally I create a build dir in my activemq-cpp folder and from there > run the configure and the make for example: > > ./autogen.sh > mkdir build > cd ./build > ../configure > make check > ./src/examples/simple_producer > > or > > ./src/test-integration/activemq-test-integration > > This way when I want to nuke the build I just rm -rf ./build > > Regards > Tim. > > > Regarding the problems with version 2.2 I will try to get an autoconf > version 2.61 installed on the machine in order to have active-cpp lib 3.x. > > > > Cheers, > > Pete > > > > > > > > -------- Original-Nachricht -------- > > > Datum: Wed, 05 Aug 2009 10:01:20 -0400 > > > Von: Timothy Bish <tabish...@gmail.com> > > > An: users@activemq.apache.org > > > Betreff: Re: Make check fails when building activemq-cpp-2.2 on SUES > 10 > > > > > On Wed, 2009-08-05 at 15:54 +0200, peter....@gmx.net wrote: > > > > Hi, > > > > > > > > I solved the problem. The cppunit version from SuSE does not work > with > > > the activemq-cpp lib. I installed a current version which works. > > > > > > > > One problem left to solve: I can't run any examples because the > request > > > broker is installed on a remote machine. Is there an easy way to run > the > > > tests e.g. the simple producer? I just want to know if everything > works. > > > > > > > > > > > > > > The only way to change the url that the tests use is to modify the url > > > in the IntegrationCommon.cpp file in the > test-integration/activemq/util > > > folder > > > > > > The code looks something like this: > > > > > > > //////////////////////////////////////////////////////////////////////////////// > > > IntegrationCommon::IntegrationCommon() { > > > > > > this->urlCommon = "tcp://localhost:"; > > > this->stompURL = this->urlCommon + "61613?wireFormat=stomp"; > > > this->openwireURL = this->urlCommon + "61616?wireFormat=openwire"; > > > } > > > > > > You may want to browse through the issues list for the 2.2.x line and > > > make sure you won't be affected by anything that was fixed in later > 2.2 > > > releases. > > > > > > Regards > > > Tim. > > > > > > > > > > > > > Cheers, > > > > Pete > > > > > > > > > > > > -------- Original-Nachricht -------- > > > > > Datum: Wed, 05 Aug 2009 09:16:20 -0400 > > > > > Von: Timothy Bish <tabish...@gmail.com> > > > > > An: users@activemq.apache.org > > > > > Betreff: Re: Make check fails when building activemq-cpp-2.2 on > SUES > > > 10 > > > > > > > > > On Wed, 2009-08-05 at 15:02 +0200, peter....@gmx.net wrote: > > > > > > Hi, > > > > > > > > > > > > just moved the build directory to a different location. Now the > > > build > > > > > process finished without any problem. > > > > > > Still I can't run any example because the make did not build the > > > > > examples e.g. I can't find the file ./activemq-test-integration as > > > mentionend in > > > > > the docs. > > > > > > > > > > > > SUES 10 comes also with separate devel packages for CPUnit. > > > > > > > > > > > > Cheers, > > > > > > Pete > > > > > > > > > > You won't get the unit or integration tests built until you solve > the > > > > > CPPUnit errors problem as both are part of the make check target. > The > > > > > example dir in 2.2 contains only one example app called, 'exmaple' > > > that > > > > > should be built by the default make. You need both the main > CPPUnit > > > > > package installed and the devel package installed in order to > build > > > the > > > > > tests. > > > > > > > > > > Regards > > > > > Tim. > > > > > > > > > > > > > > > -- > > > > > Tim Bish > > > > > http://fusesource.com > > > > > http://timbish.blogspot.com/ > > > > > > > > > > > > > > > > > -- > > > Tim Bish > > > http://fusesource.com > > > http://timbish.blogspot.com/ > > > > > > > > -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01