Re: Libraries to include while compiling my activemq-cpp code

2009-04-29 Thread Timothy Bish
On Wed, 2009-04-29 at 04:47 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > On Tue, 2009-04-28 at 08:35 -0700, nmittal wrote: > >> > >> > >> Timothy Bish wrote: > >> > > >> > > >> > It still appears if your environment is working against you. You need > >> > to spend some time figur

Re: Libraries to include while compiling my activemq-cpp code

2009-04-29 Thread nmittal
Timothy Bish wrote: > > On Tue, 2009-04-28 at 08:35 -0700, nmittal wrote: >> >> >> Timothy Bish wrote: >> > >> > >> > It still appears if your environment is working against you. You need >> > to spend some time figuring out what is installed and where. >> > >> >> /usr/bin/ld: skipping in

Re: Libraries to include while compiling my activemq-cpp code

2009-04-28 Thread Timothy Bish
On Tue, 2009-04-28 at 08:35 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > > > It still appears if your environment is working against you. You need > > to spend some time figuring out what is installed and where. > > > >> /usr/bin/ld: skipping incompatible /usr/lib/libuuid.so when s

Re: Libraries to include while compiling my activemq-cpp code

2009-04-28 Thread nmittal
Timothy Bish wrote: > > > It still appears if your environment is working against you. You need > to spend some time figuring out what is installed and where. > >> /usr/bin/ld: skipping incompatible /usr/lib/libuuid.so when searching >> for -luuid > > This error usually means that you don't

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread Timothy Bish
On Mon, 2009-04-27 at 13:09 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > On Mon, 2009-04-27 at 09:38 -0700, nmittal wrote: > > > > Most autoconf based packages install in /usr/local by default unless you > > pass the prefix argument to the configure script. > > > > Try './configure

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread nmittal
Timothy Bish wrote: > > On Mon, 2009-04-27 at 09:38 -0700, nmittal wrote: > > Most autoconf based packages install in /usr/local by default unless you > pass the prefix argument to the configure script. > > Try './configure --prefix=/usr' > > Reading the configure scripts help output can be

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread Timothy Bish
On Mon, 2009-04-27 at 09:38 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > On Mon, 2009-04-27 at 08:35 -0700, nmittal wrote: > > > > > > You apparently have v1.2.7. You can usually find out the version by > > using the config script installed with APR 'apr-1-config --version' will >

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread nmittal
Timothy Bish wrote: > > On Mon, 2009-04-27 at 08:35 -0700, nmittal wrote: > > > You apparently have v1.2.7. You can usually find out the version by > using the config script installed with APR 'apr-1-config --version' will > tell you. You can find out where its installed by 'which apr-1-con

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread Timothy Bish
On Mon, 2009-04-27 at 08:35 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > >>From problems you were having previously I'm assuming that you have an > > older version of APR installed somewhere on Path and that is getting > > found instead of the 1.3 version you built and installed in /usr

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread nmittal
Timothy Bish wrote: > >>From problems you were having previously I'm assuming that you have an > older version of APR installed somewhere on Path and that is getting > found instead of the 1.3 version you built and installed in /usr/local > most likely in /usr/lib. The best solution is to buil

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread Timothy Bish
On Mon, 2009-04-27 at 08:17 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > On Fri, 2009-04-24 at 14:05 -0700, nmittal wrote: > >> > >> > >> > It looks like its not using the correct version of APR, which is odd. > >> > The `apr_pool_create_unmanaged_ex' didn't exist until APR 1.3 so i

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread nmittal
Timothy Bish wrote: > > On Fri, 2009-04-24 at 14:05 -0700, nmittal wrote: >> >> >> > It looks like its not using the correct version of APR, which is odd. >> > The `apr_pool_create_unmanaged_ex' didn't exist until APR 1.3 so if >> > that's not being found then it seems as if you are getting a

Re: Libraries to include while compiling my activemq-cpp code

2009-04-24 Thread nmittal
> It looks like its not using the correct version of APR, which is odd. > The `apr_pool_create_unmanaged_ex' didn't exist until APR 1.3 so if > that's not being found then it seems as if you are getting an old APR. > Have you tried linking against the APR .so files you built instead of > the lib

Re: Libraries to include while compiling my activemq-cpp code

2009-04-24 Thread Timothy Bish
On Fri, 2009-04-24 at 14:05 -0700, nmittal wrote: > > > > It looks like its not using the correct version of APR, which is odd. > > The `apr_pool_create_unmanaged_ex' didn't exist until APR 1.3 so if > > that's not being found then it seems as if you are getting an old APR. > > Have you tried lin

Re: Libraries to include while compiling my activemq-cpp code

2009-04-24 Thread nmittal
nmittal wrote: > > > >> It looks like its not using the correct version of APR, which is odd. >> The `apr_pool_create_unmanaged_ex' didn't exist until APR 1.3 so if >> that's not being found then it seems as if you are getting an old APR. >> Have you tried linking against the APR .so files yo

Re: Libraries to include while compiling my activemq-cpp code

2009-04-24 Thread Timothy Bish
On Fri, 2009-04-24 at 13:52 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > Besides the activemq-cpp lib you need: > > > > libapr-1 > > libaprutil-1 > > > > and whatever libs that the APR scripts tell you > > apr-1-config --libs > > apu-1-config --libs > > > > Regards > > Tim. > > >

Re: Libraries to include while compiling my activemq-cpp code

2009-04-24 Thread nmittal
Timothy Bish wrote: > > Besides the activemq-cpp lib you need: > > libapr-1 > libaprutil-1 > > and whatever libs that the APR scripts tell you > apr-1-config --libs > apu-1-config --libs > > Regards > Tim. > > > Tim thanks. My Makefile looks like this... ifeq ($(UNAME), Linux) CPPLDFLAGS

Re: Libraries to include while compiling my activemq-cpp code

2009-04-24 Thread Timothy Bish
On Fri, 2009-04-24 at 12:45 -0700, manua wrote: > Hi All, > > I am writing my own producer and consumer code, but getting issues when > compiling my code. If I refer my cpp files in Makefile.am in the same format > as the example code, able to compile my code with make check. Kindly tell me > whic