Coder Social home page Coder Social logo

Fails to compile on Centos5 about libv8 HOT 4 CLOSED

rubyjs avatar rubyjs commented on August 23, 2024
Fails to compile on Centos5

from libv8.

Comments (4)

cheald avatar cheald commented on August 23, 2024

This is because v8 needs python 2.6 or better to install. Centos5 ships with 2.4. You'll have to upgrade python, as well as your /usr/bin/python symlink. Additionally, you need GCC4.3 or 4.4.

yum install gcc44-c++ python26 -y
ln -s /usr/bin/python26 /usr/local/bin/python

This got it installing for me.

from libv8.

lidaobing avatar lidaobing commented on August 23, 2024

@cheald I think it's dangerous to replace the /usr/bin/python

from libv8.

cheald avatar cheald commented on August 23, 2024

@lidaobing /usr/local/bin/python just "hides" /usr/bin/python, it doesn't replace it. Installing python-2.6 adds a /usr/bin/python26 binary parallel to the /usr/bin/python 2.4 binary. We just symlink that to /usr/local/bin and it's found first when the path is searched.

from libv8.

lidaobing avatar lidaobing commented on August 23, 2024

@cheald you code is correct, but description is wrong: " You'll have to upgrade python, as well as your /usr/bin/python symlink."

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.