I installed gem gtk2 on linux, but it show a error.
--> gem install gtk2
show below error message:
....
te.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
....
I try to download "ruby-gnome2-all-1.1.2" and followed below command:
--> ruby extconf.rb
--> make && make install
show below error message:
.....
rsvg2.h:61: syntax error before "void"
rsvg2.h:62: syntax error before "void"
rbrsvghandle.c: In function `rg_title':
rbrsvghandle.c:273: warning: implicit declaration of function
`rsvg_handle_get_title'
rbrsvghandle.c:273: warning: passing arg 1 of `rbg_cstr2rval' makes
pointer from integer without a cast
rbrsvghandle.c: In function `rg_desc':
rbrsvghandle.c:279: warning: implicit declaration of function
`rsvg_handle_get_desc'
rbrsvghandle.c:279: warning: passing arg 1 of `rbg_cstr2rval' makes
pointer from integer without a cast
make[2]: *** [rbrsvghandle.o] Error 1
I'm not quite sure how useful this is for your scenario, but have you
tried RVM(Ruby Version Manager)? Although, I do see that you have the
latest ruby. Did you install ruby via your package manager, or compile
perhaps? If the latter, you may want to try RVM.
Also, what is your gem version?
HTH,
Thufir
···
On Sun, 01 Apr 2012 22:59:09 +0900, CC Chen wrote:
although I haven't the slightest idea how to navigate their new interface
to figure out the actual mailing address, but you can, somehow, send a
subscribe request to someone if you don't like the web address.
There's also an IRC channel on freenode. Not sure what you're asking?
-Thufir
···
On Mon, 02 Apr 2012 16:49:01 +0900, CC Chen wrote:
although I haven't the slightest idea how to navigate their new
interface
to figure out the actual mailing address, but you can, somehow, send a
subscribe request to someone if you don't like the web address.
There's also an IRC channel on freenode. Not sure what you're asking?
-Thufir
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?
···
On Mon, 02 Apr 2012 16:49:01 +0900, CC Chen wrote: