Error in installing sequenceserver

206 views
Skip to first unread message

Shaggy

unread,
Mar 15, 2017, 6:33:11 AM3/15/17
to sequenceserver
Hi all,

Could someone suggest me how to fix the error

shaggysr@DE-101-XXX:~/opt$ sudo gem install sequenceserver
[sudo] password for
shaggysr:
Building native extensions.  This could take a while...
ERROR:  Error installing sequenceserver:
    ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/ox-2.4.9/ext/ox
/usr/bin/ruby2.3 -r ./siteconf20170315-20358-cxdnzk.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/ox-2.4.9 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ox-2.4.9/gem_make.out


System details

In my system RVM version 1.29.1 (latest) is installed


Distributor ID:    Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:    16.04
Codename:    xenial

--
Thanks

Anurag Priyam

unread,
Mar 15, 2017, 6:39:59 AM3/15/17
to sequenc...@googlegroups.com
Try installing again after installing ruby-dev apt package.

sudo apt-get install ruby-dev

Priyam
--
You received this message because you are subscribed to the Google Groups "sequenceserver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sequenceserve...@googlegroups.com.
To post to this group, send email to sequenc...@googlegroups.com.
Visit this group at https://groups.google.com/group/sequenceserver.
To view this discussion on the web visit https://groups.google.com/d/msgid/sequenceserver/de1d69a1-265a-41ad-a17d-8751e91d7a71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shaggy

unread,
Mar 15, 2017, 7:21:47 AM3/15/17
to sequenceserver
Thanks Priyam,

Please see:

shaggysr@DE-101-XXX:~/opt$ which sequenceserver
/usr/local/bin/sequenceserver


shaggysr@DE-101-XXX:~/opt$ sequenceserver
/usr/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'sequenceserver' (>= 0) among 54 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/home/shaggysr/.rvm/gems/ruby-2.4.0:/home/shaggysr/.rvm/gems/ruby-2.4.0@global', execute `gem env` for more information
    from /usr/lib/ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
    from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
    from /usr/local/bin/sequenceserver:22:in `<main>

Anurag Priyam

unread,
Mar 15, 2017, 8:45:49 AM3/15/17
to sequenc...@googlegroups.com
Could be Ubuntu 16 changed how rubygems works. But it's probably rvm not allowing system gems.

Could you try gem install sequenceserver without sudo and check if that works.

Priyam

Shaggy

unread,
Mar 15, 2017, 10:00:53 AM3/15/17
to sequenceserver
Hi Priyam,  I tried but there is still problem

gem install sequenceserver
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.2.7 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.2.7
Ignoring nio4r-2.0.0 because its extensions are not built.  Try: gem pristine nio4r --version 2.0.0
Ignoring nokogiri-1.7.0.1 because its extensions are not built.  Try: gem pristine nokogiri --version 1.7.0.1
Ignoring websocket-driver-0.6.5 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.6.5
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.2.7 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.2.7
Ignoring nio4r-2.0.0 because its extensions are not built.  Try: gem pristine nio4r --version 2.0.0
Ignoring nokogiri-1.7.0.1 because its extensions are not built.  Try: gem pristine nokogiri --version 1.7.0.1
Ignoring websocket-driver-0.6.5 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.6.5
Error loading RubyGems plugin "/home/shaggysr/.rvm/gems/ruby-2.4.0@global/gems/executable-hooks-1.3.2/lib/rubygems_plugin.rb": cannot load such file -- executable-hooks/wrapper (LoadError)
Error loading RubyGems plugin "/home/shaggysr/.rvm/gems/ruby-2.4.0@global/gems/gem-wrappers-1.2.7/lib/rubygems_plugin.rb": cannot load such file -- gem-wrappers (LoadError)
Fetching: slop-3.6.0.gem (100%)
Successfully installed slop-3.6.0
Fetching: ox-2.4.9.gem (100%)

Building native extensions.  This could take a while...
Successfully installed ox-2.4.9
Fetching: json_pure-1.8.6.gem (100%)
Successfully installed json_pure-1.8.6
Fetching: rack-1.6.5.gem (100%)
ERROR:  While executing gem ... (TypeError)
    no implicit conversion of nil into String
shaggysr@DE-101-XXX:~/Downloads/ID_mapping$ sequenceserver
/usr/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'sequenceserver' (>= 0) among 57 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/home/guptasr/.rvm/gems/ruby-2.4.0:/home/guptasr/.rvm/gems/ruby-2.4.0@global', execute `gem env` for more information

    from /usr/lib/ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
    from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
    from /usr/local/bin/sequenceserver:22:in `<main>'



Anurag Priyam

unread,
Mar 19, 2017, 8:38:50 AM3/19/17
to sequenceserver
Hmm. sequenceserver gem (and its dependencies) are not even being installed correctly, let alone use it. And it looks like rvm's fault. I would try without rvm. 

We try to ensure that SequenceServer works on: Linux / Mac + package manager / default Ruby (1.8.7 and higher). And that it can optionally be integrated with Apache using Phusion Passenger. If your setup varies from that, there’s little I will be able to help.

ps: I prefer github:postmodern/ruby-install and chruby to manage several Rubies.

Priyam

Reply all
Reply to author
Forward
0 new messages