Installation Error ruby gem gherkin

649 views
Skip to first unread message

Kevin Kurz

unread,
May 18, 2012, 8:40:51 AM5/18/12
to bigbluebu...@googlegroups.com
Hi,

I have a problem installing bigbluebutton 0.8 on an ubuntu system. During configuration of of bbb-record-core an error installing gherkin 2.2.9 occurs:

Installing gherkin (2.2.9) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.2 extconf.rb
checking for main() in -lc... yes
creating Makefile

make
gcc -I. -I/usr/include/ruby-1.9.2/i686-linux -I/usr/include/ruby-1.9.2/ruby/backward -I/usr/include/ruby-1.9.2 -I. -D_FILE_OFFSET_BITS=64  -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -O0 -Wall -Werror  -o gherkin_lexer_ar.o -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:199: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:199: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 /usr/lib/ruby/gems/1.9.2/gems/gherkin-2.2.9 for inspection.
Results logged to /usr/lib/ruby/gems/1.9.2/gems/gherkin-2.2.9/ext/gherkin_lexer_ar/gem_make.out
An error occured while installing gherkin (2.2.9), and Bundler cannot continue.
Make sure that `gem install gherkin -v '2.2.9'` succeeds before bundling.


If I manually try to install gherkin-gem with enabled debugging, first error says: "Exception `NameError' at /usr/lib/ruby/1.9.3/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::InstallCommand".
I attached the whole output (gherkin-debug).


I also tried with newer ruby versions, but there's also the same problem.

I don't know how to get rid of these errors, can anybody help me?

Thanks a lot for your replies

Kevin

gherkin-debug

HostBBB.com

unread,
May 19, 2012, 8:32:44 AM5/19/12
to BigBlueButton-Setup
Kevin, did you use the install-ruby script in .8 install
instructions, i have had probems before copying this script when
using IE as my broswer, it is malformed when i paste in file. I has
simiair issues running script.

I use chrome ro cut the install script to make sure it pastes
correctly into file.

this might be issue.

regards,
Stephen
http://hostbbb.com
> > /usr/lib/ruby/gems/1.9.2/gems/gherkin-2.2.9/ext/gherkin_lexer_ar/gem_make.o­ut
> > An error occured while installing gherkin (2.2.9), and Bundler cannot
> > continue.
> > Make sure that `gem install gherkin -v '2.2.9'` succeeds before bundling.
>
> If I manually try to install gherkin-gem with enabled debugging, first
> error says: "Exception `NameError' at
> /usr/lib/ruby/1.9.3/rubygems/command_manager.rb:177 - uninitialized
> constant Gem::Commands::InstallCommand".
> I attached the whole output (gherkin-debug).
>
> I also tried with newer ruby versions, but there's also the same problem.
>
> I don't know how to get rid of these errors, can anybody help me?
>
> Thanks a lot for your replies
>
> Kevin
>
>  gherkin-debug
> 57KViewDownload

Kevin Kurz

unread,
May 21, 2012, 9:25:45 AM5/21/12
to bigbluebu...@googlegroups.com
Hi Stephen,

yes, I used the ruby install script, I think the ruby installation should be all right. I didn't get an error message installing the other gems.

thanks for your reply,

regards
Kevin
Reply all
Reply to author
Forward
0 new messages