Skip to content

Instantly share code, notes, and snippets.

@lightcap
Created April 22, 2011 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lightcap/937773 to your computer and use it in GitHub Desktop.
Save lightcap/937773 to your computer and use it in GitHub Desktop.
[52/75] cxx: src/node_main.cc -> build/default/src/node_main_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -Ideps/v8/include ../src/node_main.cc -c -o default/src/node_main_4.o
[53/75] cxx: src/node.cc -> build/default/src/node_4.o
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -Ideps/v8/include ../src/node.cc -c -o default/src/node_4.o
In file included from ../src/node.cc:72:
../src/node_crypto.h:29:25: error: openssl/ssl.h: No such file or directory
../src/node_crypto.h:30:25: error: openssl/err.h: No such file or directory
../src/node_crypto.h:31:25: error: openssl/evp.h: No such file or directory
../src/node_crypto.h:32:25: error: openssl/pem.h: No such file or directory
../src/node_crypto.h:33:26: error: openssl/x509.h: No such file or directory
../src/node_crypto.h:34:26: error: openssl/hmac.h: No such file or directory
In file included from ../src/node.cc:72:
../src/node_crypto.h:42: error: expected initializer before ‘*’ token
../src/node_crypto.h:48: error: ISO C++ forbids declaration of ‘SSL_CTX’ with no type
../src/node_crypto.h:48: error: expected ‘;’ before ‘*’ token
../src/node_crypto.h:50: error: ISO C++ forbids declaration of ‘X509_STORE’ with no type
../src/node_crypto.h:50: error: expected ‘;’ before ‘*’ token
../src/node_crypto.h: In constructor ‘node::crypto::SecureContext::SecureContext()’:
../src/node_crypto.h:64: error: ‘ctx_’ was not declared in this scope
../src/node_crypto.h:65: error: ‘ca_store_’ was not declared in this scope
../src/node_crypto.h: In member function ‘void node::crypto::SecureContext::FreeCTXMem()’:
../src/node_crypto.h:69: error: ‘ctx_’ was not declared in this scope
../src/node_crypto.h:70: error: ‘root_cert_store’ was not declared in this scope
../src/node_crypto.h:77: error: ‘SSL_CTX_free’ was not declared in this scope
../src/node_crypto.h:79: error: ‘ca_store_’ was not declared in this scope
../src/node_crypto.h: At global scope:
../src/node_crypto.h:113: error: ‘BIO’ has not been declared
../src/node_crypto.h:138: error: ISO C++ forbids declaration of ‘BIO’ with no type
../src/node_crypto.h:138: error: expected ‘;’ before ‘*’ token
../src/node_crypto.h:139: error: ISO C++ forbids declaration of ‘BIO’ with no type
../src/node_crypto.h:139: error: expected ‘;’ before ‘*’ token
../src/node_crypto.h:140: error: ISO C++ forbids declaration of ‘SSL’ with no type
../src/node_crypto.h:140: error: expected ‘;’ before ‘*’ token
../src/node_crypto.h: In constructor ‘node::crypto::Connection::Connection()’:
../src/node_crypto.h:126: error: ‘bio_read_’ was not declared in this scope
../src/node_crypto.h:126: error: ‘bio_write_’ was not declared in this scope
../src/node_crypto.h:127: error: ‘ssl_’ was not declared in this scope
../src/node_crypto.h: In destructor ‘virtual node::crypto::Connection::~Connection()’:
../src/node_crypto.h:131: error: ‘ssl_’ was not declared in this scope
../src/node_crypto.h:132: error: ‘SSL_free’ was not declared in this scope
../src/node.cc: In function ‘void node::Load(int, char**)’:
../src/node.cc:1954: error: ‘OPENSSL_VERSION_TEXT’ was not declared in this scope
Waf: Leaving directory `/private/tmp/homebrew-node-0.4.6-mAZg/node-v0.4.6/build'
Build failed: -> task failed (err #1):
{task: cxx node.cc -> node_4.o}
make: *** [install] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/node.rb#L28
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: a8a87302dc63194d34361ae4f3e6ad2dfbfe322c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit arrandale
OS X: 10.6.6
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.3
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2326
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -w -pipe
CXXFLAGS: -O3 -w -pipe
MAKEFLAGS: -j4
Error: Failed executing: make install
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment