Skip to content
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

SystemTimer gem installation error on windows #4

Open
dbhikadiya opened this issue Mar 6, 2010 · 1 comment
Open

SystemTimer gem installation error on windows #4

dbhikadiya opened this issue Mar 6, 2010 · 1 comment

Comments

@dbhikadiya
Copy link

I am trying to install SystemTimer 1.2 on Windows XP machine via command
gem install SystemTimer

I am using:
ruby 1.8.7.249, rubygems 1.3.5 and also have ruby devkit installed.

Getting following error:

D:/Ruby/bin/ruby.exe extconf.rb
creating Makefile

make
gcc -I. -I/D/Ruby/lib/ruby/1.8/i386-mingw32 -I/D/Ruby/lib/ruby/1.8/i386-mingw32 -I. -g -O2 -c system_timer_native.c
system_timer_native.c: In function install_first_timer_and_save_original_configuration': system_timer_native.c:39: error: storage size of 'timer_interval' isn't known system_timer_native.c:48: error:SIG_BLOCK' undeclared (first use in this function)
system_timer_native.c:48: error: (Each undeclared identifier is reported only once
system_timer_native.c:48: error: for each function it appears in.)
system_timer_native.c:59: error: invalid use of undefined type struct sigaction' system_timer_native.c:60: error:SIGALRM' undeclared (first use in this function)
system_timer_native.c:77: error: ITIMER_REAL' undeclared (first use in this function) system_timer_native.c:91: error:SIG_UNBLOCK' undeclared (first use in this function)
system_timer_native.c: In function install_next_timer': system_timer_native.c:104: error: storage size of 'timer_interval' isn't known system_timer_native.c:114: error:SIG_BLOCK' undeclared (first use in this function)
system_timer_native.c:125: error: ITIMER_REAL' undeclared (first use in this function) system_timer_native.c:138: error:SIG_UNBLOCK' undeclared (first use in this function)
system_timer_native.c: In function restore_original_configuration': system_timer_native.c:152: error:SIG_BLOCK' undeclared (first use in this function)
system_timer_native.c:163: error: invalid use of undefined type struct sigaction' system_timer_native.c:165: error:SIGALRM' undeclared (first use in this function)
system_timer_native.c:170: error: invalid use of undefined type struct sigaction' system_timer_native.c: In functionrestore_original_timer_interval':
system_timer_native.c:185: error: ITIMER_REAL' undeclared (first use in this function) system_timer_native.c: In functionrestore_sigalrm_mask':
system_timer_native.c:193: error: SIGALRM' undeclared (first use in this function) system_timer_native.c:194: error:SIG_UNBLOCK' undeclared (first use in this function)
system_timer_native.c: In function init_sigalarm_mask': system_timer_native.c:268: error:SIGALRM' undeclared (first use in this function)
system_timer_native.c: In function set_itimerval': system_timer_native.c:288: error: dereferencing pointer to incomplete type system_timer_native.c:289: error: dereferencing pointer to incomplete type system_timer_native.c:290: error: dereferencing pointer to incomplete type system_timer_native.c:291: error: dereferencing pointer to incomplete type system_timer_native.c:291: error: dereferencing pointer to incomplete type system_timer_native.c:294: error: dereferencing pointer to incomplete type system_timer_native.c:295: error: dereferencing pointer to incomplete type system_timer_native.c: At top level: system_timer_native.c:21: error: storage size oforiginal_signal_handler' isn't known
system_timer_native.c:22: error: storage size of `original_timer_interval' isn't known
make: *** [system_timer_native.o] Error 1

I have tried all the solutions available on the internet to work around this issue with no success. I will really appreciate your help. Thanks in advance.

@pije76
Copy link

pije76 commented Mar 14, 2012

try "gem install ghazel-SystemTimer"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants