Closed GoogleCodeExporter closed 9 years ago
got reply from torquebox team.
This error has nothing to do with TorqueBox specifically - I can't get the
linecache19 gem to install at all under plain old JRuby 1.6.1. The fact that it
uses native extensions is a good sign it probably wouldn't work correctly under
JRuby even if it could install.
Your best bet is to try and find a gem with replacement functionality that works
under JRuby and modify mconf-web to rely on that gem instead.
Original comment by kirantpa...@gmail.com
on 28 Apr 2011 at 5:39
Try removing ruby-debug19 from the Gemfile.
Clear your gems and "bundle install" again.
ruby-debug19 and linecache19 are only needed for debugging purposes.
Original comment by leonardo...@gmail.com
on 28 Apr 2011 at 8:37
Original comment by leonardo...@gmail.com
on 28 Apr 2011 at 8:38
Hi, I'm also having the same issue. I followed your instructions and removed
ruby-debug19 from the Gemfile, but now I'm receiving the following output:
ubuntu@localhost:~/mconf-web$ bundle install
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Using abstract (1.0.0)
Using action_mailer_tls (1.1.3)
Using activesupport (3.0.8)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.8)
Using erubis (2.6.6)
Using rack (1.2.3)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.27)
Using actionpack (3.0.8)
Using mime-types (1.16)
Using polyglot (0.3.1)
Using treetop (1.4.9)
Using mail (2.2.19)
Using actionmailer (3.0.8)
Using arel (2.0.10)
Using activerecord (3.0.8)
Using activeresource (3.0.8)
Using atom-tools (2.0.5)
Using xml-simple (1.0.16)
Using aws-s3 (0.6.2)
Using attachment_fu (1.0.0) from git://github.com/mconf/attachment_fu.git (at
master)
Using nokogiri (1.4.1)
Using bigbluebutton-api-ruby (0.0.10)
Using bundler (1.0.15)
Using thor (0.14.6)
Using railties (3.0.8)
Using rails (3.0.8)
Using bigbluebutton_rails (0.0.4) from
git://github.com/mconf/bigbluebutton_rails.git (at master)
Using highline (1.6.2)
Using net-ssh (2.1.4)
Using net-scp (1.0.4)
Using net-sftp (2.0.5)
Using net-ssh-gateway (1.1.0)
Using capistrano (2.6.0)
Using capistrano-ext (1.2.1)
Using chronic (0.3.0)
Using ci_reporter (1.6.4)
Using color (1.4.1)
Using yamler (0.1.0)
Using configatron (2.8.0)
Using crack (0.1.8)
Using diff-lcs (1.1.2)
Using dynamic_form (1.1.4)
Using exception_notification_rails3 (1.2.0)
Using factory_girl (1.3.3)
Using fckeditor (0.1.0)
Using hpricot (0.8.4)
Using simple-rss (1.2.3)
Using feed-normalizer (1.5.2)
Using ffaker (1.8.0)
Using rspec-core (2.6.3)
Using rspec-expectations (2.6.0)
Using rspec-mocks (2.6.0)
Using rspec (2.6.0)
Using rspec-instafail (0.1.7)
Using ruby-progressbar (0.0.10)
Using fuubar (0.0.5)
Using garb (0.9.1)
Using hoe (2.9.4)
Using htmlentities (4.3.0)
Using httparty (0.7.7)
Using jquery-rails (1.0.9)
Installing mysql2 (0.2.7) with native extensions
/home/ubuntu/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/insta
ller.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build
gem native extension. (Gem::Installer::ExtensionBuildError)
/home/ubuntu/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for rb_thread_blocking_region()... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/ubuntu/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
--with-mysql-config
--without-mysql-config
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mlib
--without-mlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-zlib
--without-zlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-socketlib
--without-socketlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-nsllib
--without-nsllib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mygcclib
--without-mygcclib
--with-mysqlclientlib
--without-mysqlclientlib
Gem files will remain installed in
/home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/mysql2-0.2.7 for inspection.
Results logged to
/home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/mysql2-0.2.7/ext/mysql2/gem_ma
ke.out
from /home/ubuntu/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:511:in `block in build_extensions'
from /home/ubuntu/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `each'
from /home/ubuntu/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `build_extensions'
from /home/ubuntu/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:159:in `install'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/source.rb:101:in `block in install'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/source.rb:91:in `install'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/installer.rb:57:in `block in run'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `block in each'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/spec_set.rb:12:in `each'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/installer.rb:49:in `run'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/installer.rb:8:in `install'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/cli.rb:222:in `install'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/vendor/thor/task.rb:22:in `run'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/lib/bundler/vendor/thor/base.rb:389:in `start'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/gems/bundler-1.0.15/bin/bundle:13:in `<top (required)>'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/bin/bundle:19:in `load'
from /home/ubuntu/.rvm/gems/ruby-1.9.2-p180@mconf/bin/bundle:19:in `<main>'
Original comment by michael....@gmail.com
on 19 Jun 2011 at 5:33
Seems like you don't have the packages require by mysql.
Take a look at the file "script/setup", that is used to install the basic
packages. Currently, mysql is being installed only when you run "script/setup
production". For development only sqlite3 is installed. Maybe we'll have to
change that.
In Ubuntu you would need to:
apt-get install libmysqlclient15-dev mysql-server
Original comment by leonardo...@gmail.com
on 22 Jun 2011 at 3:02
This is an old issue and several things were improved in the installation of
Mconf-Web.
If you're still having problems trying to install Mconf-Web in Torquebox,
please open a new issue with information about it.
Original comment by leonardo...@gmail.com
on 5 Sep 2011 at 3:37
Original issue reported on code.google.com by
kirantpa...@gmail.com
on 28 Apr 2011 at 8:32