fractaloop/libv8 — Issue #31: Problem parsing python version on Ubuntu 12.04 beta
Author: rmoriz
Created: 2012-03-10 06:11:55+00:00
State: open

# gem install therubyracer
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.

/usr/local/rbenv/versions/1.9.3-p125/bin/ruby extconf.rb
Checking for Python...*** 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=/usr/local/rbenv/versions/1.9.3-p125/bin/ruby
/usr/local/rbenv/versions/1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:187:in `initialize': Malformed version number string 2.7.2+ (ArgumentError)
from extconf.rb:13:in `new'
from extconf.rb:13:in `

'

Gem files will remain installed in /usr/local/rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4 for inspection.
Results logged to /usr/local/rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4/ext/libv8/gem_make.out

System:

# python --version
Python 2.7.2+

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu precise (development branch)
Release:	12.04
Codename:	precise