Skip Menu |

This queue is for tickets about the Inline-Ruby CPAN distribution.

Report information
The Basics
Id: 107898
Status: resolved
Priority: 0/
Queue: Inline-Ruby

People
Owner: Nobody in particular
Requestors: EDAVIS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Build failure since no RUBY_VERSION_MAJOR
With ruby-2.2.3 (Fedora 22) building fails: rb2pl.c:7:24: error: operator '==' has no left operand #if RUBY_VERSION_MAJOR == 1 && RUBY_VERSION_MINOR == 9 There is no RUBY_VERSION_MAJOR or RUBY_VERSION_MINOR defined in ruby/version.h. Perhaps these have been dropped from more recent Ruby releases?
...however, linking then fails at run time with undefined symbol: rb_cProc Has something changed since Ruby 1.6.6?
On Wed Oct 21 08:16:35 2015, EDAVIS wrote: Show quoted text
> With ruby-2.2.3 (Fedora 22) building fails: > > rb2pl.c:7:24: error: operator '==' has no left operand > #if RUBY_VERSION_MAJOR == 1 && RUBY_VERSION_MINOR == 9 > > There is no RUBY_VERSION_MAJOR or RUBY_VERSION_MINOR defined in > ruby/version.h. Perhaps these have been dropped from more recent Ruby > releases?
Hi EDAVIS! Inline::Ruby went into under-maintenance and bitrot shortly after I became a COMAINT because I lack the tuits (= time, knowledge, skills, etc.) to maintain it. If you can find a better maintainer or submit some pull requests, that would be appreciated. Regards, -- Shlomi Fish
On Wed Oct 21 10:03:39 2015, SHLOMIF wrote: Show quoted text
> On Wed Oct 21 08:16:35 2015, EDAVIS wrote:
> > With ruby-2.2.3 (Fedora 22) building fails: > > > > rb2pl.c:7:24: error: operator '==' has no left operand > > #if RUBY_VERSION_MAJOR == 1 && RUBY_VERSION_MINOR == 9 > > > > There is no RUBY_VERSION_MAJOR or RUBY_VERSION_MINOR defined in > > ruby/version.h. Perhaps these have been dropped from more recent > > Ruby > > releases?
> > Hi EDAVIS! > > Inline::Ruby went into under-maintenance and bitrot shortly after I > became a COMAINT because I lack the tuits (= time, knowledge, skills, > etc.) to maintain it. If you can find a better maintainer or submit > some pull requests, that would be appreciated. > > Regards, > > -- Shlomi Fish
Hi! This should be resolved in the latest CPAN version thanks to this pull req - https://github.com/shlomif/Inline-Ruby/pull/1 . Closing.