Nuno Santos wrote:
Dennis Jacobfeuerborn wrote:
currently I'm trying to get qpid to work on my Fedora 7 machine but I
keep running into obstacles. [...]
What is the best way to go for someone who is interested to experiment
with AMQP?
Dennis,
since you're using Fedora, you may want to try the RPMs that we have
available at http://rhm.et.redhat.com/download/ . They represent the
latest builds of trunk and M2 (for C++, i386 RPMs are recent, but not
the latest; x86_64 are the latest).
Thanks for the reply Nuno,
I've tried compiling qpidc-0.2 from the source-rpm (there is no i386 rpm)
and while the compilation itself worked out one of the ten test failed with
the following message:
terminate called after throwing an instance of 'qpid::QpidError'
what(): Error [20022] Invalid argument (./qpid/sys/apr/Mutex.h:61)
/bin/sh: line 4: 24714 Aborted VALGRIND= srcdir=. ${dir}$tst
FAIL: run-unit-tests
It then said I should report the error to this list so there you go :)
Rebuilding qpidc-0.1 succeeded though but it seems this version is too old
to use with the examples ("topic_publisher.cpp") from the subversion
repository as the include paths don't match up. I tried adapting them until
I got to the point where the file "posix/check.h" is required. This file is
present in the svn repository but does not get installed with the rpms. The
following two files contain this reference:
# grep -nri "check.h" .
./sys/Thread.h:33:# include <posix/check.h>
./sys/Mutex.h:29:# include <posix/check.h>
That was also the problem I eventually encountered using the qpid[cd]-0.2
packages from Fedora. I'm not sure if this a problem with the packaging or
if the files "sys/Thread.h" and/or "sys/Mutex.h" should never get pulled in
by the compilation in the first place.
Regards,
Dennis