Error when installing node.js on ubuntu 12.04- “Project not configured (run 'waf configure' first) ”

别等时光非礼了梦想. 提交于 2019-12-12 03:35:37

问题


So I'm following a node.js installation process (from a repository) with the following basic steps.

  1. git clone https://github.com/joyent/node.git

  2. cd node

  3. git checkout v0.6.16 #Try checking nodejs.org for what the stable version is

  4. ./configure

  5. make

  6. sudo make install

After trying to run the Makefile in the command line (typing make.), I get the following error that I don't know how to fix.

Project not configured (run 'waf configure' first) error. make: [program] Error 1 *

I'm trying to do this on ubuntu 12.04. Googled for this problem and haven't seen any resolutions. Not looking for a terse response. I'd like specific instructions on how to fix the problem. I appreciate the help and if you give a good response, I'll rate you up!


回答1:


You are missing the OpenSSL headers for compiling node.js:

  • To compile without SSL support: Follow all steps from above, but configure with ./configure --without-ssl
  • Install SSL development packages before configure: sudo apt-get install libssl-dev


来源:https://stackoverflow.com/questions/10690602/error-when-installing-node-js-on-ubuntu-12-04-project-not-configured-run-waf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!