Skip to content

Instantly share code, notes, and snippets.

@gre gre/gist:d26669013ac8b2c605d9 Secret
Created Feb 10, 2014

Embed
What would you like to do?
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:26:
/usr/include/sys/stat.h:112:2: error: unknown type name 'ino_t'; did you mean 'node::ino_t'?
ino_t st_ino; /* inode's number */
^
/usr/include/sys/_types/_ino_t.h:30:25: note: 'node::ino_t' declared here
typedef __darwin_ino_t ino_t; /* inode number */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:26:
/usr/include/sys/stat.h:114:2: error: unknown type name 'nlink_t'; did you mean 'node::nlink_t'?
nlink_t st_nlink; /* number of hard links */
^
/usr/include/sys/_types/_nlink_t.h:30:27: note: 'node::nlink_t' declared here
typedef __uint16_t nlink_t; /* link count */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:26:
/usr/include/sys/stat.h:182:13: error: unknown type name 'nlink_t'; did you mean 'node::nlink_t'?
struct stat __DARWIN_STRUCT_STAT64;
^
/usr/include/sys/stat.h:161:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
nlink_t st_nlink; /* [XSI] Number of hard links */ \
^
/usr/include/sys/_types/_nlink_t.h:30:27: note: 'node::nlink_t' declared here
typedef __uint16_t nlink_t; /* link count */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:26:
/usr/include/sys/stat.h:182:13: error: unknown type name 'gid_t'
struct stat __DARWIN_STRUCT_STAT64;
^
/usr/include/sys/stat.h:164:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
gid_t st_gid; /* [XSI] Group ID of the file */ \
^
/usr/include/sys/stat.h:182:13: error: unknown type name 'blkcnt_t'; did you mean 'node::blkcnt_t'?
/usr/include/sys/stat.h:168:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
blkcnt_t st_blocks; /* [XSI] blocks allocated for file */ \
^
/usr/include/sys/_types/_blkcnt_t.h:30:34: note: 'node::blkcnt_t' declared here
typedef __darwin_blkcnt_t blkcnt_t;
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:26:
/usr/include/sys/stat.h:182:13: error: unknown type name 'blksize_t'; did you mean 'node::blksize_t'?
struct stat __DARWIN_STRUCT_STAT64;
^
/usr/include/sys/stat.h:169:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
blksize_t st_blksize; /* [XSI] optimal blocksize for I/O */ \
^
/usr/include/sys/_types/_blksize_t.h:30:35: note: 'node::blksize_t' declared here
typedef __darwin_blksize_t blksize_t;
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:26:
/usr/include/sys/stat.h:221:15: error: unknown type name 'nlink_t'; did you mean 'node::nlink_t'?
struct stat64 __DARWIN_STRUCT_STAT64;
^
/usr/include/sys/stat.h:161:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
nlink_t st_nlink; /* [XSI] Number of hard links */ \
^
/usr/include/sys/_types/_nlink_t.h:30:27: note: 'node::nlink_t' declared here
typedef __uint16_t nlink_t; /* link count */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:26:
/usr/include/sys/stat.h:221:15: error: unknown type name 'gid_t'
struct stat64 __DARWIN_STRUCT_STAT64;
^
/usr/include/sys/stat.h:164:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
gid_t st_gid; /* [XSI] Group ID of the file */ \
^
/usr/include/sys/stat.h:221:15: error: unknown type name 'blkcnt_t'; did you mean 'node::blkcnt_t'?
/usr/include/sys/stat.h:168:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
blkcnt_t st_blocks; /* [XSI] blocks allocated for file */ \
^
/usr/include/sys/_types/_blkcnt_t.h:30:34: note: 'node::blkcnt_t' declared here
typedef __darwin_blkcnt_t blkcnt_t;
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:26:
/usr/include/sys/stat.h:221:15: error: unknown type name 'blksize_t'; did you mean 'node::blksize_t'?
struct stat64 __DARWIN_STRUCT_STAT64;
^
/usr/include/sys/stat.h:169:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
blksize_t st_blksize; /* [XSI] optimal blocksize for I/O */ \
^
/usr/include/sys/_types/_blksize_t.h:30:35: note: 'node::blksize_t' declared here
typedef __darwin_blksize_t blksize_t;
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:30:
/usr/include/netinet/in.h:302:2: error: unknown type name 'in_addr_t'; did you mean 'node::in_addr_t'?
in_addr_t s_addr;
^
/usr/include/sys/_types/_in_addr_t.h:30:20: note: 'node::in_addr_t' declared here
typedef __uint32_t in_addr_t; /* base type for internet address */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:30:
/usr/include/netinet/in.h:377:2: error: unknown type name 'in_port_t'; did you mean 'node::in_port_t'?
in_port_t sin_port;
^
/usr/include/sys/_types/_in_port_t.h:30:21: note: 'node::in_port_t' declared here
typedef __uint16_t in_port_t;
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:30:
In file included from /usr/include/netinet/in.h:654:
/usr/include/netinet6/in6.h:173:2: error: unknown type name 'in_port_t'; did you mean 'node::in_port_t'?
in_port_t sin6_port; /* Transport layer port # (in_port_t) */
^
/usr/include/sys/_types/_in_port_t.h:30:21: note: 'node::in_port_t' declared here
typedef __uint16_t in_port_t;
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:32:
/usr/include/arpa/inet.h:75:1: error: unknown type name 'in_addr_t'; did you mean 'node::in_addr_t'?
in_addr_t inet_addr(const char *);
^
/usr/include/sys/_types/_in_addr_t.h:30:20: note: 'node::in_addr_t' declared here
typedef __uint32_t in_addr_t; /* base type for internet address */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:32:
/usr/include/arpa/inet.h:84:1: error: unknown type name 'in_addr_t'; did you mean 'node::in_addr_t'?
in_addr_t inet_lnaof(struct in_addr);
^
/usr/include/sys/_types/_in_addr_t.h:30:20: note: 'node::in_addr_t' declared here
typedef __uint32_t in_addr_t; /* base type for internet address */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:32:
/usr/include/arpa/inet.h:85:31: error: unknown type name 'in_addr_t'; did you mean 'node::in_addr_t'?
struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
^
/usr/include/sys/_types/_in_addr_t.h:30:20: note: 'node::in_addr_t' declared here
typedef __uint32_t in_addr_t; /* base type for internet address */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:32:
/usr/include/arpa/inet.h:85:42: error: unknown type name 'in_addr_t'; did you mean 'node::in_addr_t'?
struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
^
/usr/include/sys/_types/_in_addr_t.h:30:20: note: 'node::in_addr_t' declared here
typedef __uint32_t in_addr_t; /* base type for internet address */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:32:
/usr/include/arpa/inet.h:86:1: error: unknown type name 'in_addr_t'; did you mean 'node::in_addr_t'?
in_addr_t inet_netof(struct in_addr);
^
/usr/include/sys/_types/_in_addr_t.h:30:20: note: 'node::in_addr_t' declared here
typedef __uint32_t in_addr_t; /* base type for internet address */
^
In file included from ../src/batch.cc:5:
In file included from ../node_modules/nan/nan.h:111:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv.h:60:
In file included from /Users/gre/.node-gyp/0.11.11/deps/uv/include/uv-unix.h:32:
/usr/include/arpa/inet.h:87:1: error: unknown type name 'in_addr_t'; did you mean 'node::in_addr_t'?
in_addr_t inet_network(const char *);
^
/usr/include/sys/_types/_in_addr_t.h:30:20: note: 'node::in_addr_t' declared here
typedef __uint32_t in_addr_t; /* base type for internet address */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/nvm/0.2.0/v0.11.11/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:107:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:879:12)
gyp ERR! System Darwin 13.0.0
gyp ERR! command "node" "/usr/local/Cellar/nvm/0.2.0/v0.11.11/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/Cellar/nvm/0.2.0/v0.11.11/lib/node_modules/npmd/node_modules/level/node_modules/leveldown
gyp ERR! node -v v0.11.11
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! leveldown@0.10.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@0.10.2 install script.
npm ERR! This is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.0.0
npm ERR! command "node" "/usr/local/opt/nvm/v0.11.11/bin/npm" "install" "npmd" "-g"
npm ERR! cwd /Users/gre
npm ERR! node -v v0.11.11
npm ERR! npm -v 1.3.26
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/gre/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.