Git Product home page Git Product logo

Comments (3)

fractaloop avatar fractaloop commented on July 26, 2024

Thanks for the info. I'm getting married later today so I'll fix it when I get back from my honeymoon :)

On Jun 26, 2011, at 2:56, [email protected] wrote:

Hi, I ran into an issue where gem install libv8 would succeed without any error messages but didn't build the native libraries.

$ gem install libv8
Building native extensions.  This could take a while...
Successfully installed libv8-3.3.10.2
1 gem installed
Installing ri documentation for libv8-3.3.10.2...
unable to convert "\xE4" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/libv8/scons/CHANGES.txt, skipping
unable to convert "\xE4" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/libv8/build/scons/CHANGES.txt, skipping
Installing RDoc documentation for libv8-3.3.10.2...
unable to convert "\xE4" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/libv8/scons/CHANGES.txt, skipping
unable to convert "\xE4" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/libv8/build/scons/CHANGES.txt, skipping
$ find ~/.rvm/gems/ruby-1.9.2-p180/gems/libv8-3.3.10.2 -name \*.a
$

I decided to follow the instructions in your readme and build it from a git clone, which complained about python absent (this is on a bare colo server with a minimal install):

$ bundle exec rake compile
(in /tmp/libv8/libv8)
Previous HEAD position was de15804... Version 3.3.10
HEAD is now at f985a1d... Version 3.4.4
Compiling V8...
make: python: Command not found
make: *** [build/scons/install/bin/scons] Error 127
$

So I installed python and reinstalled the gem, and this time it installed the libraries:

$ find ~/.rvm/gems/ruby-1.9.2-p180/gems/libv8-3.3.10.2 -name \*.a
/home/foo/.rvm/gems/ruby-1.9.2-p180/gems/libv8-3.3.10.2/lib/libv8/build/v8/libv8.a
/home/foo/.rvm/gems/ruby-1.9.2-p180/gems/libv8-3.3.10.2/lib/libv8/build/v8/libv8preparser.a
$

In summary, it looks like the gem installation swallows the error message about python being absent and continues regardless. Needless to say it would be nice if the user was told about the problem and the gem installation would fail.

Reply to this email directly or view it on GitHub:
https://github.com/fractaloop/libv8/issues/11

from libv8.

jscheid avatar jscheid commented on July 26, 2024

Now I feel silly writing this long-winded, dry bug report about this insignificant issue when you've got much bigger things going on... congratulations!!!!

Take all the time you want, I've worked around it already and it's a corner case anyway.

from libv8.

fractaloop avatar fractaloop commented on July 26, 2024

Fixed in this commit

from libv8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.