rowland / fb

Firebird Extension Library for Ruby
64 stars 36 forks source link

Fb for Ruby 1.9.1 #3

Closed vixlima closed 14 years ago

vixlima commented 14 years ago

Hello,

[2010-04-06 17:17:21] GEM_HOME='/Users/andrelima/.rvm/gems/ruby-1.9.1-p378' GEM_PATH='/Users/andrelima/.rvm/gems/ruby-1.9.1-p378/bin:/Users/andrelima/.rvm/gems/ruby-1.9.1-p378@global/bin' BUNDLE_PATH='/Users/andrelima/.rvm/gems/ruby-1.9.1-p378' gem install --ignore-dependencies fb
ERROR: Error installing fb: ERROR: Failed to build gem native extension.

/Users/andrelima/.rvm/rubies/ruby-1.9.1-p378/bin/ruby extconf.rb checking for isc_attach_database() in -lfbclient... no checking for isc_attach_database() in -lgds... no creating Makefile

make gcc -I. -I/Users/andrelima/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/i386-darwin10.3.0 -I/Users/andrelima/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/backward -I/Users/andrelima/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Library/Frameworks/Firebird.framework/Headers -fno-common -O2 -g -Wall -Wno-parentheses -pipe -fno-common -DOS_UNIX -o fb.o -c fb.c fb.c:24:16: error: re.h: No such file or directory fb.c: In function ‘fb_connection_close_cursors’: fb.c:492: error: ‘struct RArray’ has no member named ‘len’ fb.c:493: error: ‘struct RArray’ has no member named ‘ptr’ fb.c: In function ‘fb_connection_drop_cursors’: fb.c:501: error: ‘struct RArray’ has no member named ‘len’ fb.c:502: error: ‘struct RArray’ has no member named ‘ptr’ fb.c:504: error: ‘struct RArray’ has no member named ‘len’ fb.c: In function ‘trans_parseopts’: fb.c:920: warning: format not a string literal and no format arguments fb.c: In function ‘fb_cursor_set_inputparams’: fb.c:1499: error: ‘struct RString’ has no member named ‘len’ fb.c:1501: error: ‘struct RString’ has no member named ‘len’ fb.c:1503: error: ‘struct RString’ has no member named ‘ptr’ fb.c:1503: error: ‘struct RString’ has no member named ‘len’ fb.c:1503: error: ‘struct RString’ has no member named ‘ptr’ fb.c:1503: error: ‘struct RString’ has no member named ‘len’ fb.c:1504: error: ‘struct RString’ has no member named ‘len’ fb.c:1514: error: ‘struct RString’ has no member named ‘len’ fb.c:1516: error: ‘struct RString’ has no member named ‘len’ fb.c:1518: error: ‘struct RString’ has no member named ‘ptr’ fb.c:1518: error: ‘struct RString’ has no member named ‘len’ fb.c:1518: error: ‘struct RString’ has no member named ‘ptr’ fb.c:1518: error: ‘struct RString’ has no member named ‘len’ fb.c:1519: error: ‘struct RString’ has no member named ‘len’ fb.c:1621: error: ‘struct RString’ has no member named ‘len’ fb.c:1622: error: ‘struct RString’ has no member named ‘ptr’ fb.c: In function ‘fb_cursor_execute_withparams’: fb.c:1710: error: ‘struct RArray’ has no member named ‘len’ fb.c:1710: error: ‘struct RArray’ has no member named ‘ptr’ fb.c:1711: error: ‘struct RArray’ has no member named ‘len’ fb.c:1721: error: ‘struct RArray’ has no member named ‘len’ fb.c:1721: error: ‘struct RArray’ has no member named ‘ptr’ fb.c: In function ‘fb_cursor_fields_hash’: fb.c:1850: error: ‘struct RArray’ has no member named ‘len’ fb.c: In function ‘fb_cursor_fetch’: fb.c:2060: error: ‘struct RString’ has no member named ‘ptr’ fb.c:2074: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ fb.c: In function ‘cursor_execute2’: fb.c:2202: error: ‘struct RArray’ has no member named ‘len’ fb.c:2202: error: ‘struct RArray’ has no member named ‘ptr’ fb.c:2222: error: ‘struct RArray’ has no member named ‘len’ fb.c:2222: error: ‘struct RArray’ has no member named ‘ptr’ fb.c: In function ‘fb_hash_from_ary’: fb.c:2304: error: ‘struct RArray’ has no member named ‘len’ fb.c: In function ‘cursor_drop’: fb.c:2467: error: ‘struct RArray’ has no member named ‘len’ fb.c:2468: error: ‘struct RArray’ has no member named ‘ptr’ fb.c:2469: error: ‘struct RArray’ has no member named ‘ptr’ fb.c: In function ‘connection_columns’: fb.c:2709: error: ‘RE_OPTION_IGNORECASE’ undeclared (first use in this function) fb.c:2709: error: (Each undeclared identifier is reported only once fb.c:2709: error: for each function it appears in.) fb.c:2726: error: ‘struct RArray’ has no member named ‘len’ fb.c: In function ‘connection_index_columns’: fb.c:2785: error: ‘struct RArray’ has no member named ‘len’ fb.c: In function ‘connection_indexes’: fb.c:2815: error: ‘struct RArray’ has no member named ‘len’ fb.c: In function ‘hash_from_connection_string’: fb.c:2884: warning: implicit declaration of function ‘rb_reg_regcomp’ fb.c:2889: error: ‘struct RArray’ has no member named ‘len’ fb.c:2892: error: ‘struct RArray’ has no member named ‘len’ make: *\ [fb.o] Error 1

Gem files will remain installed in /Users/andrelima/.rvm/gems/ruby-1.9.1-p378/gems/fb-0.6.7 for inspection. Results logged to /Users/andrelima/.rvm/gems/ruby-1.9.1-p378/gems/fb-0.6.7/gem_make.out

Thanks

Andre Lima

rowland commented 14 years ago

Fb does not currently support Ruby 1.9.x. Pull requests welcome.