Opened 17 months ago
Last modified 17 months ago
#49 assigned defect
Fails to build with Ruby 1.9.3
| Reported by: | bkabrda | Owned by: | zany |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | obexftp | Version: | |
| Keywords: | Cc: |
Description
Hi,
I'm trying to build obexftp with Ruby 1.9.3 and I'm getting this error:
ruby_wrap.c:2583:46: error: 'struct RString' has no member named 'len'
Any chance that you will support Ruby 1.9.3?
Thank you!
Bohuslav Kabrda
Change History (1)
comment:1 Changed 17 months ago by zany
- Owner changed from somebody to zany
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.

There is little actual ruby depended code in the Ruby-Binding. You should be okay if you locate obexftp's swig/charmap.i line 93
$2 = (int) RSTRING($input)->len;
(See https://github.com/zuckschwerdt/obexftp/blob/master/swig/charmap.i#L93)
and replace it with
$2 = (int) RSTRING_LEN($input);
Then clean and rebuild the code, you need swig for that.