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
36
37
38
Building native extensions.  This could take a while...
ERROR:  Error installing date-performance:
	ERROR: Failed to build gem native extension.

/usr/local/bin/ruby19 extconf.rb
creating Makefile

make
gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.7.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-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
In file included from /usr/local/include/ruby19-1.9.1/ruby.h:32,
                 from date_performance.c:9:
/usr/local/include/ruby19-1.9.1/ruby/ruby.h: In function ‘INT2NUM’:
/usr/local/include/ruby19-1.9.1/ruby/ruby.h:464: warning: comparison is always true due to limited range of data type
/usr/local/include/ruby19-1.9.1/ruby/ruby.h:464: warning: comparison is always true due to limited range of data type
/usr/local/include/ruby19-1.9.1/ruby/ruby.h: In function ‘UINT2NUM’:
/usr/local/include/ruby19-1.9.1/ruby/ruby.h:472: warning: comparison is always true due to limited range of data type
date_performance.c: At top level:
date_performance.c:16: error: static declaration of ‘rb_cRational’ follows non-static declaration
/usr/local/include/ruby19-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