alex@gretchen:~$ sudo gem install snippits
Bulk updating Gem source index for: http://gems.rubyforge.org
Install required dependency raspell? [Yn] y
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install snippits
checking for ruby.h... no
checking for aspell.h... yes
checking for main() in -laspell... no
creating Makefile
make
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_ASPELL_H -fPIC -fno-strict-aliasing -g -O2 -fPIC -c raspell.c
In file included from raspell.h:5,
from raspell.c:2:
/usr/lib/ruby/1.8/i486-linux/ruby.h:40:21: error: stdlib.h: No such file or directory
/usr/lib/ruby/1.8/i486-linux/ruby.h:44:21: error: string.h: No such file or directory
/usr/lib/ruby/1.8/i486-linux/ruby.h:54:19: error: stdio.h: No such file or directory
/usr/lib/ruby/1.8/i486-linux/ruby.h:71:20: error: alloca.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/syslimits.h:7,
from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:11,
from /usr/lib/ruby/1.8/i486-linux/ruby.h:91,
from raspell.h:5,
from raspell.c:2:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from /usr/lib/ruby/1.8/i486-linux/ruby.h:718,
from raspell.h:5,
from raspell.c:2:
/usr/lib/ruby/1.8/i486-linux/missing.h:16:24: error: sys/time.h: No such file or directory
/usr/lib/ruby/1.8/i486-linux/missing.h:25:25: error: sys/types.h: No such file or directory
In file included from /usr/lib/ruby/1.8/i486-linux/ruby.h:719,
from raspell.h:5,
from raspell.c:2:
/usr/lib/ruby/1.8/i486-linux/intern.h:218: error: expected declaration specifiers or ‘...’ before ‘fd_set’
/usr/lib/ruby/1.8/i486-linux/intern.h:218: error: expected declaration specifiers or ‘...’ before ‘fd_set’
/usr/lib/ruby/1.8/i486-linux/intern.h:218: error: expected declaration specifiers or ‘...’ before ‘fd_set’
/usr/lib/ruby/1.8/i486-linux/intern.h:218: warning: ‘struct timeval’ declared inside parameter list
/usr/lib/ruby/1.8/i486-linux/intern.h:218: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/lib/ruby/1.8/i486-linux/intern.h:219: warning: ‘struct timeval’ declared inside parameter list
/usr/lib/ruby/1.8/i486-linux/intern.h:453: warning: parameter names (without types) in function declaration
In file included from raspell.h:5,
from raspell.c:2:
/usr/lib/ruby/1.8/i486-linux/ruby.h:728:21: error: pthread.h: No such file or directory
In file included from raspell.h:5,
from raspell.c:2:
/usr/lib/ruby/1.8/i486-linux/ruby.h:730: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_nativethread_t’
raspell.c: In function ‘get_wordregexp’:
raspell.c:165: warning: incompatible implicit declaration of built-in function ‘malloc’
raspell.c:165: warning: incompatible implicit declaration of built-in function ‘strlen’
raspell.c:167: warning: incompatible implicit declaration of built-in function ‘strcat’
raspell.c: In function ‘aspell_s_new’:
raspell.c:215: warning: incompatible implicit declaration of built-in function ‘strdup’
raspell.c: In function ‘aspell_s_new1’:
raspell.c:254: warning: incompatible implicit declaration of built-in function ‘strdup’
raspell.c: In function ‘aspell_conf_retrieve_list’:
raspell.c:434: warning: incompatible implicit declaration of built-in function ‘strdup’
raspell.c: In function ‘aspell_dump_config’:
raspell.c:463: warning: incompatible implicit declaration of built-in function ‘printf’
raspell.c: In function ‘aspell_correct_lines’:
raspell.c:543: warning: incompatible implicit declaration of built-in function ‘strlen’
make: *** [raspell.o] Error 1
Gem files will remain installed in /var/lib/gems/1.8/gems/raspell-1.1 for inspection.
Results logged to /var/lib/gems/1.8/gems/raspell-1.1/ext/gem_make.out
alex@gretchen:~$