我需要在 OS X Mountain Lion 上安装节点 0.6。自制似乎是最简单的路线(从源代码构建无法链接)。使用命令:
brew install node
它抱怨以下内容:
Checking for library dl : yes
Checking for openssl : not found
Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found
/private/tmp/node-x1II/node-v0.6.19/wscript:386: error:
Could not autodetect OpenSSL support.
Make sure OpenSSL development packages are installed.
Use configure --without-ssl to disable this message.
但是,似乎已安装 openssl:
> openssl version
OpenSSL 0.9.8r 8 Feb 2011
自制软件需要什么神奇的东西才能看到openssl?