Skip to content

glib2 gem fails to install #968

Closed
imajes opened this Issue Jun 6, 2011 · 1 comment

2 participants

@imajes
imajes commented Jun 6, 2011

Hey, the glib2 gem is all crazytown:


(cd ext/glib2 && make)
gcc -I. -I. -I/Users/james/.rvm/rubies/rbx-head/include -I/Users/james/.rvm/gems/rbx-head@redstamp/gems/glib2-0.90.8/ext/glib2 -DHAVE_OBJECT_ALLOCATE -DHAVE_UNISTD_H -DHAVE_G_SPAWN_CLOSE_PID -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DRUBY_GLIB2_COMPILATION  -fPIC -ggdb3 -O2 -fPIC -Wall -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -D_REENTRANT -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -D_REENTRANT  -c glib-enum-types.c
gcc -I. -I. -I/Users/james/.rvm/rubies/rbx-head/include -I/Users/james/.rvm/gems/rbx-head@redstamp/gems/glib2-0.90.8/ext/glib2 -DHAVE_OBJECT_ALLOCATE -DHAVE_UNISTD_H -DHAVE_G_SPAWN_CLOSE_PID -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DRUBY_GLIB2_COMPILATION  -fPIC -ggdb3 -O2 -fPIC -Wall -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -D_REENTRANT -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -D_REENTRANT  -c rbglib_iochannel.c
rbglib_iochannel.c: In function ‘ioc_puts_ary’:
rbglib_iochannel.c:669: warning: implicit declaration of function ‘rb_io_puts’
rbglib_iochannel.c: In function ‘ioc_puts’:
rbglib_iochannel.c:682: error: ‘rb_default_rs’ undeclared (first use in this function)
rbglib_iochannel.c:682: error: (Each undeclared identifier is reported only once
rbglib_iochannel.c:682: error: for each function it appears in.)
rbglib_iochannel.c:699: warning: passing argument 1 of ‘rb_protect_inspect’ from incompatible pointer type
rbglib_iochannel.c: In function ‘ioc_print’:
rbglib_iochannel.c:724: warning: implicit declaration of function ‘rb_lastline_get’
rbglib_iochannel.c:728: error: ‘rb_output_fs’ undeclared (first use in this function)
rbglib_iochannel.c:740: error: ‘rb_output_rs’ undeclared (first use in this function)
make[1]: *** [rbglib_iochannel.o] Error 1
make: *** [all] Error 2

looks like it's using some unsupported mri api. :(

@brixen brixen referenced this issue in ruby-gnome2/ruby-gnome2 Nov 9, 2012
Open

Doesn’t compile on Rubinius #117

@YorickPeterse
Rubinius member

Closing this one in favour of the upstream issue tracked in the ruby-gnome2 project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.