Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sh-3.2# gem i date-performance
Building native extensions.  This could take a while...
ERROR:  Error installing date-performance:
  ERROR: Failed to build gem native extension.

/opt/local/bin/ruby extconf.rb
creating Makefile

make
/usr/bin/gcc-4.2 -I. -I/opt/local/include/ruby-1.9.1/i386-darwin10 -I/opt/local/include/ruby-1.9.1/ruby/backward -I/opt/local/include/ruby-1.9.1 -I. -I/opt/local/include -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
/opt/local/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 /opt/local/lib/ruby/gems/1.9.1/gems/date-performance-0.4.8 for inspection.
Results logged to /opt/local/lib/ruby/gems/1.9.1/gems/date-performance-0.4.8/ext/gem_make.out