You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by smartdog <jw...@gmail.com> on 2014/04/08 23:49:37 UTC

Re: How to config c++ broker persistence

Thanks for the reply.

This is what I have.
cmake ..
-- Qpid proton found, amqp 1.0 support enabled
-- Legacystore requires BerkeleyDB for C++ which is absent.
-- Legacystore is excluded from build.
-- Linearstore requires BerkeleyDB for C++ which is absent.
-- Linearstore is excluded from build.

How can I get Legacystore built?

I installed libdb-dev.
apt-get install libdb-dev

Thanks



--
View this message in context: http://qpid.2158936.n2.nabble.com/How-to-config-c-broker-persistence-tp7605544p7606576.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: How to config c++ broker persistence

Posted by smartdog <jw...@gmail.com>.
I am able to get persistence working. Thanks guys.



--
View this message in context: http://qpid.2158936.n2.nabble.com/How-to-config-c-broker-persistence-tp7605544p7606970.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: How to config c++ broker persistence

Posted by Andrew Stitcher <as...@redhat.com>.
On Mon, 2014-04-14 at 09:46 -0700, smartdog wrote:
> Thanks Frase. I installed libdb5.1++dev, after that cmake shows
> 
> cmake ..
> -- Found BerkeleyDB: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
> -- BerkeleyDB for C++, libaio and uuid found, Legacystore support enabled
> -- Legacystore is excluded from build.
> -- Found BerkeleyDB: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
> -- BerkeleyDB for C++, libaio and uuid found, Linearstore support may be
> enabled (currently experimental and disabled by default)
> -- Linearstore is excluded from build.

You may need to run cmake in a clean build directory or remove
CMakeCache.txt, to get a store build by default.

(Or you can use ccmake to edit the BUILD_LEGACYSTORE/BUILD_LINEARSTORE
option manually.)

Make sure you only install one of the stores though - the easiest way to
ensure that is only to build one of the stores.

> 
> Running qpid still got this:
> qpidd[29976]: [Store] warning Message store plugin: No storage providers
> available.

Oddly enough you will get this even if the stores are loaded, it is a
from a module that is only used on windows currently.

Andrew



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: How to config c++ broker persistence

Posted by smartdog <jw...@gmail.com>.
Thanks Frase. I installed libdb5.1++dev, after that cmake shows

cmake ..
-- Found BerkeleyDB: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- BerkeleyDB for C++, libaio and uuid found, Legacystore support enabled
-- Legacystore is excluded from build.
-- Found BerkeleyDB: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- BerkeleyDB for C++, libaio and uuid found, Linearstore support may be
enabled (currently experimental and disabled by default)
-- Linearstore is excluded from build.

Running qpid still got this:
qpidd[29976]: [Store] warning Message store plugin: No storage providers
available.

Did I miss anything?

Thanks




--
View this message in context: http://qpid.2158936.n2.nabble.com/How-to-config-c-broker-persistence-tp7605544p7606916.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: How to config c++ broker persistence

Posted by Fraser Adams <fr...@blueyonder.co.uk>.
Hey smartdog it is *definitely* the cxx-devel that is needed. When I was 
wondering why my system wasn't building this stuff I ended up tearing my 
hair out for ages - which is why I modded the CMake to provide some 
slightly better messages, but I still thought I was going mad 'cause I 
was seeing the libdb-dev and it took me an hour or so of staring at the 
screen before I twigged that it was the cxx-devel (TBH I hadn't even 
noticed that in my repo).

It's been a little while since I installed these, but I think on my 
Ubuntu box it was libdb5.1++ and libdb5.1++dev that I needed.

Frase


On 09/04/14 14:36, Alan Conway wrote:
> On Tue, 2014-04-08 at 14:49 -0700, smartdog wrote:
>> Thanks for the reply.
>>
>> This is what I have.
>> cmake ..
>> -- Qpid proton found, amqp 1.0 support enabled
>> -- Legacystore requires BerkeleyDB for C++ which is absent.
>> -- Legacystore is excluded from build.
>> -- Linearstore requires BerkeleyDB for C++ which is absent.
>> -- Linearstore is excluded from build.
>>
>> How can I get Legacystore built?
>>
>> I installed libdb-dev.
>> apt-get install libdb-dev
> Don't know about Debian but on Fedora 20 this works:
>     sudo yum install libdb-cxx-devel libaio-devel
> Is there a libdb-cxx-dev package on Debian?
>
>> Thanks
>>
>>
>>
>> --
>> View this message in context: http://qpid.2158936.n2.nabble.com/How-to-config-c-broker-persistence-tp7605544p7606576.html
>> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
>> For additional commands, e-mail: users-help@qpid.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: How to config c++ broker persistence

Posted by Alan Conway <ac...@redhat.com>.
On Tue, 2014-04-08 at 14:49 -0700, smartdog wrote:
> Thanks for the reply.
> 
> This is what I have.
> cmake ..
> -- Qpid proton found, amqp 1.0 support enabled
> -- Legacystore requires BerkeleyDB for C++ which is absent.
> -- Legacystore is excluded from build.
> -- Linearstore requires BerkeleyDB for C++ which is absent.
> -- Linearstore is excluded from build.
> 
> How can I get Legacystore built?
> 
> I installed libdb-dev.
> apt-get install libdb-dev

Don't know about Debian but on Fedora 20 this works:
   sudo yum install libdb-cxx-devel libaio-devel
Is there a libdb-cxx-dev package on Debian?

> 
> Thanks
> 
> 
> 
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/How-to-config-c-broker-persistence-tp7605544p7606576.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org