Tôi đã sử dụng trang web này để làm theo các lệnh về cách cài đặt nút:Trợ giúp cài đặt Node.js trên Ubuntu 10.04 từ thiết bị đầu cuối?
https://github.com/joyent/node/wiki/Installation
Phần này không có lỗi:
git clone --depth 1 git://github.com/joyent/node.git # or git clone git://github.com/joyent/node.git if you want to checkout a stable tag
cd node
git checkout v0.4.10 # optional. Note that master is unstable.
export JOBS=2 # optional, sets number of parallel commands.
mkdir ~/local
Khi tôi nhấn lệnh này, tôi đã nhận lỗi
[email protected]:/node# ./configure --prefix=$HOME/local/node
Checking for program g++ or c++ : not found
Checking for program icpc : not found
Checking for program c++ : not found
/node/wscript:228: error: could not configure a cxx compiler!
Tôi nên làm gì để có trình biên dịch cxx?
Có ai biết làm thế nào để cài đặt này trên Fedora 16? Tôi đã thử này không có may mắn ... [nhanh nhẹn @ 453D05J nút-v0.10.15] $ sudo yum install g ++ plugins Loaded: langpacks, mau, làm mới-PackageKit Không gói g ++ có sẵn. Lỗi: Không có gì để làm [agile @ 453D05J node-v0.10.15] $ –
Xin lỗi ... Điển hình: Tìm câu trả lời, tôi tìm thấy câu trả lời, tôi cần cài đặt '$ sudo yum install gcc-C++' –