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
on 2012-04-02 09:56
on 2012-04-02 13:25
Hi, In <8f4f5d424ec086153db35c10863481b0@ruby-forum.com> "[ruby-gnome2-devel-en] gtk2 install error" on Mon, 02 Apr 2012 09:56:13 +0200, CC Chen <ruby-forum-incoming@andreas-s.net> wrote: > OS: redhat3 > ruby: 1.9.2 Recent Ruby/GTK2 releases don't support Red Hat 3. Sorry. An old release may work on Red Hat 3 but I don't know about it... Thanks, -- kou
on 2012-04-02 14:16
Kouhei Sutou wrote in post #1054592: > Hi, > > In <8f4f5d424ec086153db35c10863481b0@ruby-forum.com> > "[ruby-gnome2-devel-en] gtk2 install error" on Mon, 02 Apr 2012 > 09:56:13 +0200, > CC Chen <ruby-forum-incoming@andreas-s.net> wrote: > >> OS: redhat3 >> ruby: 1.9.2 > > Recent Ruby/GTK2 releases don't support Red Hat 3. Sorry. > An old release may work on Red Hat 3 but I don't know about it... > > Thanks, > -- > kou Thanks, I think i should to find older version to install But I try on redhat5/ruby1.9.2 also have some problem when I exce "gem install gtk2" Below are error message: /usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -o rbgtkprintsettings.o -c rbgtkprintsettings.c rbgtkprintsettings.c: In function 'Init_gtk_print_settings': rbgtkprintsettings.c:704: error: 'rg_initialize' undeclared (first use in this function) rbgtkprintsettings.c:704: error: (Each undeclared identifier is reported only once rbgtkprintsettings.c:704: error: for each function it appears in.) make: *** [rbgtkprintsettings.o] Error 1 How to fix the error? Thanks, Gavin
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.