[openamq-dev] Ruby Wrapper for WireAPI
Pieter Hintjens
ph at imatix.com
Mon Apr 28 09:46:32 CEST 2008
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
More information about the openamq-dev
mailing list