qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Gamble" <pjgam...@gmail.com>
Subject rhm store plugin build fails
Date Wed, 05 Nov 2008 11:29:35 GMT
Hi Qpid'ers

Not sure whether to post this here or to a RHM list so apologies in advance
if I've got it wrong.

I'm struggling to build the RedHat persistent-store plugin against a trunk
build of Qpid M3 on an
Ubuntu-based platform and am looking for guidance. The Qpid build is fine,
but the subsequent
store-plugin build fails.

I have previously, successfully built the store plugin against a trunk-based
build of Qpid M2 on the same box and
with the same versions of Boost and BerkleyDB.

Any pointers would be gratefully received!

The details are:

uname -a:
Linux withnail 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686
GNU/Linux
(this is a 64-bit Mint 4.0 (based on Ubuntu Gutsy) distro)

gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
berkleydb 4.3.29
boost 1.34
Qpid M3 (SVN revision 711551) (svn co
http://svn.apache.org/repos/asf/incubator/qpid/trunk)
RHM 0.2 (http://rhm.et.redhat.com/download/rhm-0.2.tar.gz)

./configure of the store plugin goes well enough. I use:
./configure
--with-qpid-checkout=/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid

Here's where the compile of the store plugin falls apart:

root@withnail:/media/disk_001_ext3/apps/qpid/3-20081105/build/rhm/rhm-0.2#
make
make  all-recursive
make[1]: Entering directory
`/media/disk_001_ext3/apps/qpid/3-20081105/build/rhm/rhm-0.2'
Making all in lib
make[2]: Entering directory
`/media/disk_001_ext3/apps/qpid/3-20081105/build/rhm/rhm-0.2/lib'
make  all-am
make[3]: Entering directory
`/media/disk_001_ext3/apps/qpid/3-20081105/build/rhm/rhm-0.2/lib'
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I..   -I/usr/local/BerkeleyDB.4.3/include -Werror -pedantic -Wall -Wextra
-Wno
-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-I/media/disk_001_ext3/apps/qpid/
3-20081105/build/qpid/cpp/src
-I/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid/cpp/src/gen -I./gen
-DRHM_CLEAN -pthread -g -O2 -MT StorePlugin.lo -MD
-MP -MF ".deps/StorePlugin.Tpo" -c -o StorePlugin.lo StorePlugin.cpp; \
        then mv -f ".deps/StorePlugin.Tpo" ".deps/StorePlugin.Plo"; else rm
-f ".deps/StorePlugin.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/BerkeleyDB.4.3/include
-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual
-Wcast-align -
Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-I/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid/cpp/src
-I/media/disk_001_ext
3/apps/qpid/3-20081105/build/qpid/cpp/src/gen -I./gen -DRHM_CLEAN -pthread
-g -O2 -MT StorePlugin.lo -MD -MP -MF .deps/StorePlugin.Tpo -c
StorePlugin.cpp  -
fPIC -DPIC -o .libs/StorePlugin.o
JournalImpl.h:180: error: 'shared_ptr' in class
'qpid::management::ManagementObject' does not name a type
BdbMessageStore.h:337: error: 'shared_ptr' in class
'qpid::management::ManagementObject' does not name a type
StorePlugin.cpp: In member function 'virtual void
qpid::broker::StorePlugin::earlyInitialize(qpid::Plugin::Target&)':
StorePlugin.cpp:46: error: cannot allocate an object of abstract type
'rhm::bdbstore::BdbMessageStore'
BdbMessageStore.h:55: note:   because the following virtual functions are
pure within 'rhm::bdbstore::BdbMessageStore':
/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid/cpp/src/qpid/management/Manageable.h:57:
note:     virtual qpid::management::ManagementObject* qpid::ma
nagement::Manageable::GetManagementObject() const
/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid/cpp/src/qpid/broker/MessageStore.h:107:
note:      virtual void qpid::broker::MessageStore::stage(const
boost::intrusive_ptr<qpid::broker::PersistableMessage>&)
/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid/cpp/src/qpid/broker/MessageStore.h:121:
note:      virtual void qpid::broker::MessageStore::appendContent(const
boost::intrusive_ptr<const qpid::broker::PersistableMessage>&, const
std::string&)
/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid/cpp/src/qpid/broker/MessageStore.h:133:
note:      virtual void qpid::broker::MessageStore::loadContent(const
qpid::broker::PersistableQueue&, const boost::intrusive_ptr<const
qpid::broker::PersistableMessage>&, std::string&, uint64_t, uint32_t)
/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid/cpp/src/qpid/broker/MessageStore.h:151:
note:      virtual void
qpid::broker::MessageStore::enqueue(qpid::broker::TransactionContext*, const
boost::intrusive_ptr<qpid::broker::PersistableMessage>&, const
qpid::broker::PersistableQueue&)
/media/disk_001_ext3/apps/qpid/3-20081105/build/qpid/cpp/src/qpid/broker/MessageStore.h:169:
note:      virtual void
qpid::broker::MessageStore::dequeue(qpid::broker::TransactionContext*, const
boost::intrusive_ptr<qpid::broker::PersistableMessage>&, const
qpid::broker::PersistableQueue&)
make[3]: *** [StorePlugin.lo] Error 1
make[3]: Leaving directory
`/media/disk_001_ext3/apps/qpid/3-20081105/build/rhm/rhm-0.2/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/media/disk_001_ext3/apps/qpid/3-20081105/build/rhm/rhm-0.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/media/disk_001_ext3/apps/qpid/3-20081105/build/rhm/rhm-0.2'
make: *** [all] Error 2

Regards,
Paul Gambl

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message