[openamq-dev] Ruby Wrapper for WireAPI

Carl Bourne cbourne at intellect.co.uk
Mon Apr 28 10:45:24 CEST 2008


Pieter,

Thanks for the response on this one!

Should I be trying to modify the included "Makefile" or should the cc command just be executed on the command line?

Best Regards,

Carl


On 28/04/2008 08:46, "Pieter Hintjens" <ph at imatix.com> wrote:

On Sun, Apr 27, 2008 at 9:27 PM, Carl Bourne <cbourne at intellect.co.uk> wrote:

>  Does anybody have some instructions on building the Ruby Wrapper for WireAPI. I've tried on both MAC OSX and Linux (Ubuntu) but it fails on both with the following error:-

>  cc -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/local/OpenAMQ/include/  -g -fPIC -O2 -fno-strict-aliasing -pipe  -c amq_client.c
>  amq_client.c:31:17: error: asl.h: No such file or directory

Looks like the compile command mismatches your OpenAMQ environment.
Check that asl.h is in the include directory you specified with -I.
The OpenAMQ include files will go into $IBASE/include so you could fix
the compile command to use that:

  cc -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux
-I. -I$IBASE/include/ ... etc

-Pieter
_______________________________________________
openamq-dev mailing list
openamq-dev at lists.openamq.org
http://lists.openamq.org/mailman/listinfo/openamq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20080428/b69a9717/attachment.htm 


More information about the openamq-dev mailing list