Skip to content

Instantly share code, notes, and snippets.

@benhamill
Created April 11, 2011 05:01
Show Gist options
  • Save benhamill/913070 to your computer and use it in GitHub Desktop.
Save benhamill/913070 to your computer and use it in GitHub Desktop.
[11:59 PM] ben@eris:~/dev/project [master]$ gem install gherkin --version=2.1.5 -- -Wno-error=address
Building native extensions. This could take a while...
ERROR: Error installing gherkin:
ERROR: Failed to build gem native extension.
/home/ben/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby extconf.rb -Wno-error=address
checking for main() in -lc... yes
creating Makefile
make
gcc -I. -I/opt/local/include -I. -I/home/ben/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -O0 -Wall -Werror -c gherkin_lexer_ar.c
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function ‘CLexer_scan’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:198:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:198:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [gherkin_lexer_ar.o] Error 1
Gem files will remain installed in /home/ben/.rvm/gems/ree-1.8.7-2011.03@otherinbox/gems/gherkin-2.1.5 for inspection.
Results logged to /home/ben/.rvm/gems/ree-1.8.7-2011.03@otherinbox/gems/gherkin-2.1.5/ext/gherkin_lexer_ar/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment