Install pomelo on CentOS

Source: Internet
Author: User
Windows, so it is installed on the centOS virtual machine, but also due to version issues. First, the latest version of the installed linux binary version of node, and then npminstalpomelo-g, reported a bunch of errors about null pointers, v8 errors, in short, an error occurred while compiling c ++, so the node source code was downloaded to compile (download-& gt; unzip-& gt ;. /configure-& gt; make

Windows, so it is installed on the centOS virtual machine, but also due to version issues.

First, the latest node version of the linux binary version is installed, and then npm instal pomelo-g reports a bunch of errors about null pointers and v8 errors,

In short, an error occurred while compiling c ++. as a result, the node source code was downloaded to compile (download-> decompress->./configure-> make install)

An error occurred during make. it seems that the error is similar to the error of installing pomelo. we can see a warning saying that the C ++ compiler version is too old, at least 4.8,

So I went to upgrade C ++ compiler)

Make C ++ compiler really takes a long time...

After the upgrade is successful, continue to compile nodejs and report No module named bz2

There are also ways to install bz2 on the Internet, and then reinstall python

Then compile nodejs. Then make install and install. Run "/etc/profile" on the source, and then "node-v" and "npm-v" to check whether the environment is OK.

Then npm install pomelo-g. If no permission is reported, add sudo

I failed to install pomelo for the first time. it took a long time to install some dependent packages. I don't know if it was the network problem. then I started a vpn and re-installed it. everything went fine.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.