Archived
This forum has been archived. Please start a new discussion on GitHub.
3.6b Rubygem on Ruby 2.2.0
Looks like it bails badly if you attempt to do this. I do understand that 2.2.0 is not marked as officially supported, however 2.2.0 and 2.1.5 are very very very closely compatible.
Looks like its actually failing by some sort of internal version check (and not in a graceful way).
I'd like to point out this part of the output:
And now for the complete output:
Looks like its actually failing by some sort of internal version check (and not in a graceful way).
I'd like to point out this part of the output:
1 2.2.0 BDIGIT_DBL num = 0; 1 2.1.0
And now for the complete output:
[master][~/Dropbox/Projects/murmur-rpc]$ gem install zeroc-ice --pre Fetching: zeroc-ice-3.6b1.gem (100%) Building native extensions. This could take a while... ERROR: Error installing zeroc-ice: ERROR: Failed to build gem native extension. /Users/bstolz/.rbenv/versions/2.2.0/bin/ruby -r ./siteconf20150319-73093-1t5ly83.rb extconf.rb checking for bzlib.h... yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling Communicator.cpp compiling Connection.cpp compiling Endpoint.cpp compiling ImplicitContext.cpp compiling Init.cpp compiling Logger.cpp compiling ObjectFactory.cpp compiling Operation.cpp compiling Properties.cpp compiling Proxy.cpp compiling Slice.cpp compiling Types.cpp compiling Util.cpp Util.cpp:355:20: error: use of undeclared identifier 'RBIGNUM' long len = RBIGNUM_LEN(v); ^ ./Config.h:91:27: note: expanded from macro 'RBIGNUM_LEN' # define RBIGNUM_LEN(v) RBIGNUM(v)->len ^ Util.cpp:356:35: error: use of undeclared identifier 'SIZEOF_BDIGITS' if(len > SIZEOF_LONG_LONG/SIZEOF_BDIGITS) ^ Util.cpp:360:9: error: unknown type name 'BDIGIT' BDIGIT *ds = RBIGNUM_DIGITS(v); ^ Util.cpp:360:22: error: use of undeclared identifier 'BDIGIT' BDIGIT *ds = RBIGNUM_DIGITS(v); ^ ./Config.h:104:32: note: expanded from macro 'RBIGNUM_DIGITS' # define RBIGNUM_DIGITS(v) ((BDIGIT*)RBIGNUM(v)->digits) ^ Util.cpp:360:22: error: expected expression ./Config.h:104:39: note: expanded from macro 'RBIGNUM_DIGITS' # define RBIGNUM_DIGITS(v) ((BDIGIT*)RBIGNUM(v)->digits) ^ Util.cpp:361:9: error: unknown type name 'BDIGIT_DBL' 1 2.2.0 BDIGIT_DBL num = 0; 1 2.1.0 ^ Util.cpp:364:19: error: use of undeclared identifier 'BDIGIT_DBL' num = BIGUP(num); ^ Util.cpp:334:20: note: expanded from macro 'BIGUP' #define BIGUP(x) ((BDIGIT_DBL)(x) << BITSPERDIG) ^ Util.cpp:364:19: error: use of undeclared identifier 'SIZEOF_BDIGITS' Util.cpp:334:38: note: expanded from macro 'BIGUP' #define BIGUP(x) ((BDIGIT_DBL)(x) << BITSPERDIG) ^ Util.cpp:333:21: note: expanded from macro 'BITSPERDIG' #define BITSPERDIG (SIZEOF_BDIGITS*CHAR_BIT) ^ 8 errors generated. make: *** [Util.o] Error 1 make failed, exit code 2 Gem files will remain installed in /Users/bstolz/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/zeroc-ice-3.6b1 for inspection.
0
Comments
-
This is fixed in the upcoming Ice 3.6 release.0
-
Yes, 2.2 will be supported by Ice 3.6.0