Re: POI-Ruby

2007-03-23 Thread Avik Sengupta
or directory - /home/jswensen/poi/trunk/src/contrib/poi-ruby/release/poi4r.so from /home/jswensen/poi/trunk/src/contrib/poi-ruby/release/poi4r.so from (irb):1 I have the path to libgcj.so.7 included in my RUBYLIB variable so I'm at a loss for what the issue is. Any ideas? Jeff

Re: POI-Ruby

2007-03-23 Thread Jeff Swensen
/poi/trunk/src/contrib/poi-ruby/release/poi4r.so from /home/jswensen/poi/trunk/src/contrib/poi-ruby/release/poi4r.so from (irb):1 I have the path to libgcj.so.7 included in my RUBYLIB variable so I'm at a loss for what the issue is. Any ideas? Jeff Swensen wrote: I am

POI-ruby - ruby hangs

2007-03-23 Thread Jeff Swensen
I'm able to create xls files with poi4r just fine but for some reason any ruby script that requires poi4r hangs at the end. Has anyone ever experienced this? Or possibly have some ideas as to what causes it. b.rb: require 'release/poi4r' puts 'test' strace ruby b.rb: ... write(1, test\n,

Re: POI-Ruby

2007-03-22 Thread Avik Sengupta
an object is referenced. As for segfaults, the whole thing, i've found, is quite sensitive to swig version. Maybe you can try with an older swig version? Regards - Avik On Thursday 22 Mar 2007 3:03:11 am Andrew C. Oliver wrote: Okay from Ruby on Linux...yes POI-ruby is probably your best

Re: POI-Ruby

2007-03-22 Thread Jeff Swensen
, is quite sensitive to swig version. Maybe you can try with an older swig version? Regards - Avik On Thursday 22 Mar 2007 3:03:11 am Andrew C. Oliver wrote: Okay from Ruby on Linux...yes POI-ruby is probably your best option I thought you were doing from C on Linux Hopefully

Re: POI-Ruby

2007-03-22 Thread Jeff Swensen
is referenced. As for segfaults, the whole thing, i've found, is quite sensitive to swig version. Maybe you can try with an older swig version? Regards - Avik On Thursday 22 Mar 2007 3:03:11 am Andrew C. Oliver wrote: Okay from Ruby on Linux...yes POI-ruby is probably

Re: POI-Ruby

2007-03-21 Thread Andrew C. Oliver
Why? Why not just compile with GCJ and then wrap that? Seems weird to go 3 techs deep... Also there are C utils for OLE and XLS. Check out open office and gnumeric...use those...doesn't make sense to use C-Ruby-POI Jeff Swensen wrote: I am attempting to write my own C wrapper for the POI

Re: POI-Ruby

2007-03-21 Thread Jeff Swensen
I might be stating my intention incorrectly. I have the relevant bits from poi-ruby compiled with gcj, and am attempting to wrap that myself instead of using SWIG. As far as open office and gnumeric, I have been unable to find a fully featured discrete library for writing XLS files from ruby

Re: POI-Ruby

2007-03-21 Thread Andrew C. Oliver
Okay from Ruby on Linux...yes POI-ruby is probably your best option I thought you were doing from C on Linux Hopefully Avik is around and he can help... I'll ping him if he doesn't answer. Jeff Swensen wrote: I might be stating my intention incorrectly. I have the relevant bits from