On 21/02/07, Andrew Borley <[EMAIL PROTECTED]> wrote:
On 2/21/07, Pete Robbins <[EMAIL PROTECTED]> wrote: > I now have Ruby working on Mac. I will remove the ws bindings and clients > from the *Calculator samples so we have a simple sample for each language. > $TUSCANY_SCACPP/extensions/ruby/lib needs to be added to the LD_LIBRARY_PATH > (or PATH on windows) to run the Ruby clients. I've updated the runclient > scripts. Running a Linux build against the latest code gives me an error with the new Ruby layout: make[5]: Entering directory `/home/ajborley/workspace/TuscanyCPP/sca/runtime/extensions/ruby/extension/src' g++ -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux -I. -c Extension.cpp Extension.cpp:28:35: error: tuscany/sca/ruby/Ruby.h: No such file or directory Extension.cpp:29:51: error: tuscany/sca/ruby/RubyCompositeContext.h: No such file or directory Did everything get checked in? Am I missing an env variable?
Everything is checked in. The extconf.rb RUby script generates the makefile. It should add the lib and include paths nexessary. Are there messages before the compile like: checking for #include <tuscany/sca/ruby/RubyCompositeContext.h> ? -- Pete
