OS: redhat3
ruby: 1.9.2
I installed gtk2 by “gem install gtk2”
but it show below error messages.
In file included from rbglib_timer.c:22:
rbgprivate.h:52: syntax error before “extern”
rbgprivate.h:111: syntax error before “VALUE”
rbgprivate.h:112: syntax error before “void”
rbgprivate.h:113: syntax error before “void”
rbgprivate.h:114: syntax error before “char”
rbgprivate.h:116: syntax error before “void”
rbgprivate.h:117: syntax error before “void”
rbgprivate.h:118: syntax error before “void”
rbgprivate.h:119: syntax error before “void”
rbgprivate.h:120: syntax error before “void”
rbgprivate.h:121: syntax error before “void”
rbgprivate.h:122: syntax error before “void”
rbgprivate.h:123: syntax error before “void”
rbgprivate.h:124: syntax error before “void”
rbgprivate.h:125: syntax error before “void”
rbgprivate.h:126: syntax error before “void”
rbgprivate.h:127: syntax error before “void”
rbgprivate.h:128: syntax error before “void”
rbgprivate.h:129: syntax error before “void”
rbgprivate.h:130: syntax error before “void”
rbgprivate.h:131: syntax error before “void”
rbgprivate.h:132: syntax error before “void”
rbgprivate.h:133: syntax error before “void”
rbgprivate.h:134: syntax error before “void”
rbgprivate.h:135: syntax error before “void”
rbgprivate.h:136: syntax error before “void”
rbgprivate.h:137: syntax error before “void”
rbgprivate.h:138: syntax error before “void”
rbgprivate.h:139: syntax error before “void”
rbgprivate.h:140: syntax error before “void”
rbgprivate.h:141: syntax error before “void”
rbgprivate.h:142: syntax error before “void”
rbgprivate.h:143: syntax error before “void”
rbgprivate.h:144: syntax error before “void”
rbgprivate.h:145: syntax error before “void”
rbgprivate.h:146: syntax error before “void”
rbgprivate.h:147: syntax error before “void”
rbgprivate.h:149: syntax error before “void”
rbgprivate.h:150: syntax error before “void”
rbgprivate.h:151: syntax error before “void”
rbgprivate.h:152: syntax error before “void”
rbgprivate.h:153: syntax error before “void”
rbgprivate.h:154: syntax error before “void”
rbgprivate.h:155: syntax error before “void”
rbgprivate.h:159: syntax error before “void”
rbgprivate.h:160: syntax error before “void”
rbgprivate.h:161: syntax error before “void”
rbgprivate.h:162: syntax error before “void”
rbgprivate.h:163: syntax error before “void”
rbgprivate.h:164: syntax error before “void”
rbgprivate.h:165: syntax error before “void”
rbgprivate.h:166: syntax error before “void”
rbgprivate.h:167: syntax error before “void”
rbgprivate.h:168: syntax error before “void”
rbgprivate.h:169: syntax error before “void”
make: *** [rbglib_timer.o] Error 1
And I change to “gem install green_shoes” also show the same error.
Does gtk2 didn’t support redhat3?
How to fix the problems?
Thanks,
Gavin