Re: Building Qpid 0.5

2009-06-23 Thread Marcus Schröder
Hi Steve, On Tue, Jun 23, 2009 at 4:52 PM, Steve Huston wrote: > Try casting the return of write() to void. The compiler doesn't like > that it's being ignored. > > Please reply and let us know how that works. > Casting the return to void did not help, but introducing a local size_t foo variable

Re: Building Qpid 0.5

2009-06-23 Thread Marcus Schröder
> You wnat to use sha1sum or openssl sha1 qpid-cpp-0.5.tar.gz, or you > can just grab the .asc sig and do gpg --verify qpid-cpp-0.5.tar.gz. > openssl sha uses a different hashing algorithim. > > FWIW I get the same checksum you do when I do that, so i reckon you've > got the right file. > Right, t

Re: Building Qpid 0.5

2009-06-23 Thread Marcus Schröder
Hi Jasan, 2009/6/23 Ján Sáreník : > What is your particular Qpid version. Are you really using the > http://www.apache.org/dist/qpid/0.5/qpid-cpp-0.5.tar.gz > with SHA 857e1646aeb3a2d96b89697e7adf699d8e04f6a1? > > In abovementioned release I see different code on lines 90 and > 96 of file src/qpid

Building Qpid 0.5

2009-06-23 Thread Marcus Schröder
Hi, I built qpid 0.4 successfully on my old ubuntu 8.04, but after installing a clean 9.04 and trying qpid 0.5, I keep getting this compilation error: http://pastie.org/521427 . If I see it right, the fork() of the Daemon causes errors, but I have no clue what may be the cause of this. The result

Re: Required compilation parameters for using qpid?

2009-05-19 Thread Marcus Schröder
Hi Steve, On Mon, May 18, 2009 at 9:31 PM, Steve Huston wrote: > CPLUS_LIBRARY_PATH is not a legit env variable - try LIBRARY_PATH Ah, that did the trick (http://www.network-theory.co.uk/docs/gccintro/gccintro_23.html got me to use CPLUS_LIBRARY_PATH :-/). Thanks a lot. Marcus ---

Re: Required compilation parameters for using qpid?

2009-05-18 Thread Marcus Schröder
Hi Jonathan, On Mon, May 18, 2009 at 3:38 PM, Jonathan Robie wrote: > Sounds like starting with a simpler Makefile would help. Try starting with > this: > > CXX=g++ > CXXFLAGS=-I/usr/include/qpid-boost > LDFLAGS=-lqpidclient > > all: direct_producer listener declare_queues > > clean: >       rm

Re: Required compilation parameters for using qpid?

2009-05-18 Thread Marcus Schröder
Hi Steve, On Fri, May 15, 2009 at 4:57 PM, Steve Huston wrote: > You're missing the qpid libraries. Is there a reason you're not using > the provided Makefile? > I don't use it to find out what parameters are necessary to compile the code. Yes, it's been a while since I've used C++. But the incl

Required compilation parameters for using qpid?

2009-05-15 Thread Marcus Schröder
Hi, what libraries/etc. do I need to pass to g++ to compile source using the qpid-libs? I've already pointed the CPLUS_[INCLUDE|LIBRARY]_PATHs to my qpid install dir, but still get a bunch of errors (see: http://pastie.org/478925), using g++ 4.2.4 and qpid-M4. In the above case, I just tried to co

Re: Using the Java client

2009-05-13 Thread Marcus Schröder
Hi Dave, thanks, that did the trick. Now to have fun with qpid :) Marcus On Wed, May 13, 2009 at 7:00 AM, David Ingham wrote: > Hi Marcus, > > It looks like you need to add the JMS jar to your classpath; see > http://java.sun.com/products/jms/docs.html. > > Dave. > ---

Using the Java client

2009-05-11 Thread Marcus Schröder
Hi, I'm trying to set up a QPID system here and am running the M4-C++ Broker, which I can access with the C++ and Ruby clients. The Java client, however, I cannot get working. When trying to compile the code examples, a bunch of errors occur: m...@marcus-desktop:~/Desktop/qpid-0.5/java/client/ex