Installation Issue

64 views
Skip to first unread message

Matt Woodward

unread,
Oct 3, 2010, 2:31:27 PM10/3/10
to openconferenceware
Hi there--I'll start by stating that I have zero experience with Ruby
(mostly a Java guy), so I apologize in advance if my issue is related
to basic Ruby noobness.

I'm trying to install OCW on Linux 10.04 and I get as far as step 7,
at which point I see the console output below.

Any assistance is greatly appreciated, and I'm happy to provide any
details on my environment that may be necessary. Thanks!

-----------
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Installing RedCloth (4.2.3) with native extensions /usr/local/lib/
site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR:
Failed to build gem native extension.
(Gem::Installer::ExtensionBuildError)

/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1


Gem files will remain installed in /home/mwoodward/.bundler/tmp/1745/
gems/RedCloth-4.2.3 for inspection.
Results logged to /home/mwoodward/.bundler/tmp/1745/gems/
RedCloth-4.2.3/ext/redcloth_scan/gem_make.out
from /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:446:in `each'
from /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:446:in
`build_extensions'
from /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:198:in
`install'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/source.rb:
100:in `install'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/
installer.rb:55:in `run'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/
spec_set.rb:12:in `each'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/
spec_set.rb:12:in `each'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/
installer.rb:44:in `run'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/
installer.rb:8:in `install'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/cli.rb:
217:in `install'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/vendor/
thor/task.rb:22:in `send'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/vendor/
thor/task.rb:22:in `run'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/vendor/
thor/invocation.rb:118:in `invoke_task'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/vendor/
thor.rb:246:in `dispatch'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/vendor/
thor/base.rb:389:in `start'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.2/bin/bundle:13
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19

Igal Koshevoy

unread,
Oct 4, 2010, 12:06:29 PM10/4/10
to openconfe...@googlegroups.com, Matt Woodward
Matt,

It's trying to compile a gem that uses C extensions and failing. You'll
need to install a C compiler and the Ruby headers. On Ubuntu, you'll
need to run a command similar to this to install them:

sudo apt-get install ruby1.8-dev build-essential gcc autoconf libtool

-igal

Matthew Woodward

unread,
Oct 4, 2010, 1:55:11 PM10/4/10
to openconfe...@googlegroups.com
On Mon, Oct 4, 2010 at 9:06 AM, Igal Koshevoy <ig...@pragmaticraft.com> wrote:
 Matt,

It's trying to compile a gem that uses C extensions and failing. You'll
need to install a C compiler and the Ruby headers. On Ubuntu, you'll
need to run a command similar to this to install them:

   sudo apt-get install ruby1.8-dev build-essential gcc autoconf libtool

-igal

Perfect--thanks! Got past this and resolved all the other dependency issues I ran into, and the app is up and running. Really appreciate the help!

Matt
--
Matthew Woodward
ma...@mattwoodward.com
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
Reply all
Reply to author
Forward
0 new messages