在ubuntu 12.04上安装node.js时出错-“未配置项目(首先运行'waf configure')" [英] Error when installing node.js on ubuntu 12.04- "Project not configured (run 'waf configure' first) "

查看:399
本文介绍了在ubuntu 12.04上安装node.js时出错-“未配置项目(首先运行'waf configure')"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我遵循以下基本步骤(从存储库)进行node.js安装过程.

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

cd节点

git checkout v0.6.16#尝试检查nodejs.org的稳定版本是什么

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

./configure

./configure

制作

sudo make install

sudo make install

尝试在命令行中运行Makefile(键入make)后,出现以下错误,我不知道如何解决.

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.

未配置项目(首先运行'waf configure')错误. make: [程序]错误1 *

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

我正在尝试在ubuntu 12.04上执行此操作. Google搜索了此问题,但尚未找到任何解决方案.没有寻找简洁的回应.我想要有关如何解决此问题的具体说明.感谢您的帮助,如果您给予满意的答复,我会给您评分!

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!

推荐答案

您缺少用于编译node.js的OpenSSL标头:

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

  • 要在没有SSL支持的情况下进行编译:请按照上述所有步骤进行操作,但要使用./configure --without-ssl
  • 进行配置
  • 在配置之前安装SSL开发包:sudo apt-get install libssl-dev
  • 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

这篇关于在ubuntu 12.04上安装node.js时出错-“未配置项目(首先运行'waf configure')"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆