Skip to content

Instantly share code, notes, and snippets.

@norman
Created February 25, 2010 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save norman/314267 to your computer and use it in GitHub Desktop.
Save norman/314267 to your computer and use it in GitHub Desktop.
$ gem install date-performance
Building native extensions. This could take a while...
ERROR: Error installing date-performance:
ERROR: Failed to build gem native extension.
/Users/norman/.rvm/rubies/ruby-1.9.1-p378/bin/ruby extconf.rb
creating Makefile
make
gcc -I. -I/Users/norman/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/i386-darwin10.2.0 -I/Users/norman/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/backward -I/Users/norman/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -pedantic -Wall -Wno-long-long -Winline -o date_performance.o -c date_performance.c
date_performance.c:16: error: static declaration of ‘rb_cRational’ follows non-static declaration
/Users/norman/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/ruby.h:1039: error: previous declaration of ‘rb_cRational’ was here
date_performance.c: In function ‘rb_date_new’:
date_performance.c:200: warning: ISO C90 forbids mixed declarations and code
date_performance.c:219: warning: ISO C90 forbids mixed declarations and code
date_performance.c: In function ‘rb_date_strftime’:
date_performance.c:253: error: ‘struct RString’ has no member named ‘ptr’
date_performance.c:254: error: ‘struct RArray’ has no member named ‘ptr’
date_performance.c:268: error: ‘struct RString’ has no member named ‘ptr’
date_performance.c:269: error: ‘struct RString’ has no member named ‘len’
date_performance.c:277: error: ‘struct RString’ has no member named ‘ptr’
date_performance.c:284: error: ‘struct RString’ has no member named ‘len’
date_performance.c: In function ‘rb_date_strptime’:
date_performance.c:304: error: ‘struct RString’ has no member named ‘ptr’
date_performance.c:305: error: ‘struct RString’ has no member named ‘ptr’
date_performance.c: In function ‘rb_date_compare’:
date_performance.c:350: warning: ISO C90 forbids mixed declarations and code
date_performance.c:353:5: warning: C++ style comments are not allowed in ISO C90
date_performance.c:353:5: warning: (this will be reported only once per input file)
date_performance.c:365: warning: ISO C90 forbids mixed declarations and code
make: *** [date_performance.o] Error 1
Gem files will remain installed in /Users/norman/.rvm/gems/ruby-1.9.1-p378/gems/date-performance-0.4.8 for inspection.
Results logged to /Users/norman/.rvm/gems/ruby-1.9.1-p378/gems/date-performance-0.4.8/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment