Building qpidc AMQP C++ libraries on ppc


Wow, there are a crap load of dependencies to build qpid, the AMQP client/server libraries for C++! And what’s up with the unsupported ppc architecture? After fiddling, trolling, and tweaking, it’s alive!!!

(1/10): librdmacm-1.0.7-1 100% |=================| 22 kB
(2/10): librdmacm-devel-1 100% |=================| 34 kB
(3/10): cyrus-sasl-2.1.22 100% |=================| 86 kB
(4/10): openais-devel-0.8 100% |=================| 124 kB
(5/10): xqilla-devel-2.0. 100% |=================| 148 kB
(6/10): cyrus-sasl-devel- 100% |=================| 357 kB
(7/10): openais-0.80.1-6. 100% |=================| 429 kB
(8/10): xerces-c-devel-2. 100% |=================| 638 kB
(9/10): xqilla-2.0.0-1.1. 100% |=================| 1.3 MB
(10/10): xerces-c-2.7.0-6 100% |=================| 1.4 MB

What do you mean my architecture isn’t supported?

$ rpmbuild -bb qpidc.spec
error: Architecture is not included: ppc

Bah, whatever… Add ppc to the list or rip it out for now. Just build it and stop complaining!

$ grep Exclusive qpidc.spec
ExclusiveArch: i386 i686 x86_64

Ahhh, good times…

$ time sudo rpmbuild -bb qpidc.spec
Executing(%prep): /bin/sh -e /rpmbuild/BUILD/rpm-tmp.14988
+ umask 022
+ cd /rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /rpmbuild/BUILD
+ rm -rf qpidc-0.3.705289

config.status: creating docs/api/Makefile
config.status: creating docs/api/user.doxygen
config.status: creating docs/api/developer.doxygen
config.status: creating src/config.h
config.status: executing depfiles commands
+ make -j3
Making all in managementgen

+ exit 0

====UPDATE: ====
tested and works… woohoo


Posted on November 24th, by admica in doh, programming.
Comments Off

Comments are closed.