New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors doing "gem install urbanairship" #2
Comments
Hey Andrea, I see that you closed out this issue, were you able to figure out what the problem was? Blake |
Hi Blake, i close the issue just because erroneously i've made it two times. The problem still persists! What can I do to help you helping me with the issue? ;-) Andrea Il giorno 08/lug/2011, alle ore 16.25, blakesmith ha scritto:
|
Hey Andrea, It looks like the problem is with ruby 1.9.1 trying to build the system_timer gem when installing. Not sure what the compatibility of system_timer is with 1.9.1 but I'll investigate. Can you try installing it on ruby 1.8.7 and see if you get the same issues? Blake |
Looks like using system_timer in 1.9.1 is a bad idea (and not necessary). See here: http://ph7spot.com/musings/system-timer Fix forthcoming. |
Oh, i see. Please let me know when you will fix it, and thanks for the great work. Keep it up! Il giorno 08/lug/2011, alle ore 20.00, blakesmith ha scritto:
|
Fixed in 4deff3d, updated version pushed to rubygems. |
Oh great, i will try it as soon as possible! Il giorno 08/lug/2011, alle ore 21.39, blakesmith ha scritto:
|
It doesn't work for me... I mean, now the gem installs, but if i try to register a device the ruby server crashes saying: /Users/abramo/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678: [BUG] Segmentation fault -- control frame ---------- c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP-- Ruby level backtrace information ---------------------------------------- -- C level backtrace information ------------------------------------------- [NOTE] Abort trap What's going on? Il giorno 08/lug/2011, alle ore 21.39, blakesmith ha scritto: |
Ok, it's working! ;-) |
Hi,
when I try to install your gem with 'gem install urbanairship', it thorws 1000 lines of errors:
MacBook-di-Andrea:village abramo$ gem install urbanairship
Building native extensions. This could take a while...
ERROR: Error installing urbanairship:
ERROR: Failed to build gem native extension.
creating Makefile
make
gcc -I. -I/Users/abramo/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-darwin10.6.0 -I/Users/abramo/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/Users/abramo/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o system_timer_native.o -c system_timer_native.c
In file included from system_timer_native.c:8:
/Users/abramo/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete
system_timer_native.c: In function ‘install_first_timer_and_save_original_configuration’:
system_timer_native.c:46: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:53: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:57: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:62: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:65: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:69: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:82: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:89: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:96: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:101: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c: In function ‘install_next_timer’:
system_timer_native.c:112: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:119: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:123: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:130: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:136: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:143: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:146: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c: In function ‘restore_original_configuration’:
system_timer_native.c:157: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:160: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:168: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:170: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:172: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c: In function ‘restore_original_timer_interval’:
system_timer_native.c:190: warning: passing argument 1 of ‘log_error’ discards qualifiers from pointer target type
system_timer_native.c:192: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c: In function ‘restore_sigalrm_mask’:
system_timer_native.c:199: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:201: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c: In function ‘install_ruby_sigalrm_handler’:
system_timer_native.c:211: error: ‘rb_thread_critical’ undeclared (first use in this function)
system_timer_native.c:211: error: (Each undeclared identifier is reported only once
system_timer_native.c:211: error: for each function it appears in.)
system_timer_native.c: In function ‘restore_original_ruby_sigalrm_handler’:
system_timer_native.c:217: error: ‘rb_thread_critical’ undeclared (first use in this function)
system_timer_native.c: In function ‘clear_pending_sigalrm_for_ruby_threads’:
system_timer_native.c:266: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c: In function ‘set_itimerval’:
system_timer_native.c:290: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
system_timer_native.c:295: warning: implicit conversion shortens 64-bit value into a 32-bit value
system_timer_native.c:299: warning: passing argument 1 of ‘log_debug’ discards qualifiers from pointer target type
make: *** [system_timer_native.o] Error 1
Gem files will remain installed in /Users/abramo/.rvm/gems/ruby-1.9.2-p180/gems/system_timer-1.2.4 for inspection.
Results logged to /Users/abramo/.rvm/gems/ruby-1.9.2-p180/gems/system_timer-1.2.4/ext/system_timer/gem_make.out
The text was updated successfully, but these errors were encountered: