node-ife
node-ife copied to clipboard
Build issue on FreeBSD
I've had issues building on FreeBSD 10 (seems like an issue with g++ being replaced by clang on FreeBSD 10). So now I've tried FreeBSD 9.3 and that's failing too, see npm-debug.log below - what am I doing wrong? Any help would be appreciated!
root@testbed:/home/jbw # cat /usr/home/jbw/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'vippy' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of /usr/local/lib/package.json
5 verbose readDependencies loading dependencies from /usr/local/lib/package.json
6 silly cache add args [ 'vippy', null ]
7 verbose cache add spec vippy
8 silly cache add parsed spec { raw: 'vippy',
8 silly cache add scope: null,
8 silly cache add name: 'vippy',
8 silly cache add rawSpec: '',
8 silly cache add spec: '*',
8 silly cache add type: 'range' }
9 silly addNamed vippy@*
10 verbose addNamed "*" is a valid semver range for vippy
11 silly addNameRange { name: 'vippy', range: '*', hasData: false }
12 silly mapToRegistry name vippy
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/vippy
16 verbose addNameRange registry:https://registry.npmjs.org/vippy not in flight; fetching
17 verbose request uri https://registry.npmjs.org/vippy
18 verbose request no auth needed
19 info attempt registry request try #1 at 12:35:57
20 verbose request id 9c8d3bfff9d2ae43
21 verbose etag "2GS47VWCQDTENROGIWLFGRHEC"
22 http request GET https://registry.npmjs.org/vippy
23 http 304 https://registry.npmjs.org/vippy
24 silly get cb [ 304,
24 silly get { date: 'Fri, 22 May 2015 09:36:00 GMT',
24 silly get via: '1.1 varnish',
24 silly get 'cache-control': 'max-age=60',
24 silly get etag: '"2GS47VWCQDTENROGIWLFGRHEC"',
24 silly get age: '0',
24 silly get connection: 'keep-alive',
24 silly get 'x-served-by': 'cache-ams4123-AMS',
24 silly get 'x-cache': 'MISS',
24 silly get 'x-cache-hits': '0',
24 silly get 'x-timer': 'S1432287360.016183,VS0,VE184',
24 silly get vary: 'Accept' } ]
25 verbose etag https://registry.npmjs.org/vippy from cache
26 verbose get saving vippy to /root/.npm/registry.npmjs.org/vippy/.cache.json
27 silly addNameRange number 2 { name: 'vippy', range: '*', hasData: true }
28 silly addNameRange versions [ 'vippy',
28 silly addNameRange [ '0.0.1',
28 silly addNameRange '0.0.2',
28 silly addNameRange '0.0.3',
28 silly addNameRange '0.0.4',
28 silly addNameRange '0.0.5',
28 silly addNameRange '0.0.6',
28 silly addNameRange '0.0.7',
28 silly addNameRange '0.0.8',
28 silly addNameRange '0.0.9',
28 silly addNameRange '0.0.10',
28 silly addNameRange '0.0.11' ] ]
29 silly addNamed [email protected]
30 verbose addNamed "0.0.11" is a plain semver version for vippy
31 silly cache afterAdd [email protected]
32 verbose afterAdd /root/.npm/vippy/0.0.11/package/package.json not in flight; writing
33 verbose afterAdd /root/.npm/vippy/0.0.11/package/package.json written
34 silly install resolved [ { name: 'vippy',
34 silly install resolved description: 'Virtual IP Management and Failover',
34 silly install resolved keywords: [ 'vip', 'ha' ],
34 silly install resolved version: '0.0.11',
34 silly install resolved preferGlobal: true,
34 silly install resolved author: { name: 'Theo Schlossnagle' },
34 silly install resolved repository: { type: 'git', url: 'git://github.com/postwait/vippy.git' },
34 silly install resolved bugs: { url: 'http://github.com/postwait/vippy/issues' },
34 silly install resolved main: './index',
34 silly install resolved bin: { vippyd: './vippyd.js', vippyctl: './ctl.js' },
34 silly install resolved dependencies: { ife: '>=0.0.9', posix: '>=1.0.0' },
34 silly install resolved engines: { node: '0.8 || 0.10' },
34 silly install resolved licenses: [ [Object] ],
34 silly install resolved homepage: 'https://github.com/postwait/vippy',
34 silly install resolved _id: '[email protected]',
34 silly install resolved dist:
34 silly install resolved { shasum: '19f7c5fc4a377408608b9d6a4b0bfc5d4a677c38',
34 silly install resolved tarball: 'http://registry.npmjs.org/vippy/-/vippy-0.0.11.tgz' },
34 silly install resolved _from: 'vippy@*',
34 silly install resolved _npmVersion: '1.4.3',
34 silly install resolved _npmUser: { name: 'postwait', email: '[email protected]' },
34 silly install resolved maintainers: [ [Object] ],
34 silly install resolved directories: {},
34 silly install resolved _shasum: '19f7c5fc4a377408608b9d6a4b0bfc5d4a677c38',
34 silly install resolved _resolved: 'https://registry.npmjs.org/vippy/-/vippy-0.0.11.tgz',
34 silly install resolved readme: 'ERROR: No README data found!' } ]
35 info install [email protected] into /usr/local/lib
36 info installOne [email protected]
37 verbose installOne of vippy to /usr/local/lib not in flight; installing
38 verbose lock using /root/.npm/_locks/vippy-2f6e209a1a735763.lock for /usr/local/lib/node_modules/vippy
39 warn engine [email protected]: wanted: {"node":"0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})
40 silly install write writing vippy 0.0.11 to /usr/local/lib/node_modules/vippy
41 verbose unbuild lib/node_modules/vippy
42 silly gentlyRm /usr/local/lib/node_modules/vippy is being purged from base /usr/local
43 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy
44 verbose tar unpack /root/.npm/vippy/0.0.11/package.tgz
45 verbose tar unpacking to /usr/local/lib/node_modules/vippy
46 silly gentlyRm /usr/local/lib/node_modules/vippy is being purged
47 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy
48 silly gunzTarPerm modes [ '755', '644' ]
49 silly gunzTarPerm extractEntry package.json
50 silly gunzTarPerm extractEntry README.md
51 silly gunzTarPerm extractEntry T.js
52 silly gunzTarPerm extractEntry ctl.js
53 silly gunzTarPerm extractEntry index.js
54 silly gunzTarPerm extractEntry vippyd.js
55 silly gunzTarPerm extractEntry lib/VippyConfig.js
56 silly gunzTarPerm extractEntry lib/VippyController.js
57 silly gunzTarPerm extractEntry lib/VippyManager.js
58 silly gunzTarPerm extractEntry lib/VippyNetwork.js
59 silly gunzTarPerm extractEntry lib/console-logger.js
60 silly gunzTarPerm extractEntry vippy.conf
61 verbose write writing to /usr/local/lib/node_modules/vippy/package.json
62 info preinstall [email protected]
63 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/package.json
64 silly prepareForInstallMany adding ife@>=0.0.9 from vippy dependencies
65 silly prepareForInstallMany adding posix@>=1.0.0 from vippy dependencies
66 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/package.json
67 silly cache add args [ 'posix@>=1.0.0', null ]
68 verbose cache add spec posix@>=1.0.0
69 silly cache add parsed spec { raw: 'posix@>=1.0.0',
69 silly cache add scope: null,
69 silly cache add name: 'posix',
69 silly cache add rawSpec: '>=1.0.0',
69 silly cache add spec: '>=1.0.0',
69 silly cache add type: 'range' }
70 silly addNamed posix@>=1.0.0
71 verbose addNamed ">=1.0.0" is a valid semver range for posix
72 silly addNameRange { name: 'posix', range: '>=1.0.0', hasData: false }
73 silly mapToRegistry name posix
74 silly mapToRegistry using default registry
75 silly mapToRegistry registry https://registry.npmjs.org/
76 silly mapToRegistry uri https://registry.npmjs.org/posix
77 verbose addNameRange registry:https://registry.npmjs.org/posix not in flight; fetching
78 silly cache add args [ 'ife@>=0.0.9', null ]
79 verbose cache add spec ife@>=0.0.9
80 silly cache add parsed spec { raw: 'ife@>=0.0.9',
80 silly cache add scope: null,
80 silly cache add name: 'ife',
80 silly cache add rawSpec: '>=0.0.9',
80 silly cache add spec: '>=0.0.9',
80 silly cache add type: 'range' }
81 silly addNamed ife@>=0.0.9
82 verbose addNamed ">=0.0.9" is a valid semver range for ife
83 silly addNameRange { name: 'ife', range: '>=0.0.9', hasData: false }
84 silly mapToRegistry name ife
85 silly mapToRegistry using default registry
86 silly mapToRegistry registry https://registry.npmjs.org/
87 silly mapToRegistry uri https://registry.npmjs.org/ife
88 verbose addNameRange registry:https://registry.npmjs.org/ife not in flight; fetching
89 verbose request uri https://registry.npmjs.org/posix
90 verbose request no auth needed
91 info attempt registry request try #1 at 12:35:58
92 verbose etag "9JH8D4QY9TRNOWT27JDA08O8H"
93 http request GET https://registry.npmjs.org/posix
94 verbose request uri https://registry.npmjs.org/ife
95 verbose request no auth needed
96 info attempt registry request try #1 at 12:35:58
97 verbose etag "CSI6U7CPXVNEEULFRESFBYL8T"
98 http request GET https://registry.npmjs.org/ife
99 http 304 https://registry.npmjs.org/ife
100 silly get cb [ 304,
100 silly get { date: 'Fri, 22 May 2015 09:36:00 GMT',
100 silly get via: '1.1 varnish',
100 silly get 'cache-control': 'max-age=60',
100 silly get etag: '"CSI6U7CPXVNEEULFRESFBYL8T"',
100 silly get age: '0',
100 silly get connection: 'keep-alive',
100 silly get 'x-served-by': 'cache-ams4121-AMS',
100 silly get 'x-cache': 'MISS',
100 silly get 'x-cache-hits': '0',
100 silly get 'x-timer': 'S1432287360.816571,VS0,VE94',
100 silly get vary: 'Accept' } ]
101 verbose etag https://registry.npmjs.org/ife from cache
102 verbose get saving ife to /root/.npm/registry.npmjs.org/ife/.cache.json
103 silly addNameRange number 2 { name: 'ife', range: '>=0.0.9', hasData: true }
104 silly addNameRange versions [ 'ife',
104 silly addNameRange [ '0.0.1',
104 silly addNameRange '0.0.2',
104 silly addNameRange '0.0.3',
104 silly addNameRange '0.0.4',
104 silly addNameRange '0.0.5',
104 silly addNameRange '0.0.6',
104 silly addNameRange '0.0.7',
104 silly addNameRange '0.0.8',
104 silly addNameRange '0.0.9',
104 silly addNameRange '0.0.10' ] ]
105 silly addNamed [email protected]
106 verbose addNamed "0.0.10" is a plain semver version for ife
107 silly cache afterAdd [email protected]
108 verbose afterAdd /root/.npm/ife/0.0.10/package/package.json not in flight; writing
109 verbose afterAdd /root/.npm/ife/0.0.10/package/package.json written
110 http 304 https://registry.npmjs.org/posix
111 silly get cb [ 304,
111 silly get { date: 'Fri, 22 May 2015 09:36:00 GMT',
111 silly get via: '1.1 varnish',
111 silly get 'cache-control': 'max-age=60',
111 silly get etag: '"9JH8D4QY9TRNOWT27JDA08O8H"',
111 silly get age: '0',
111 silly get connection: 'keep-alive',
111 silly get 'x-served-by': 'cache-ams4132-AMS',
111 silly get 'x-cache': 'MISS',
111 silly get 'x-cache-hits': '0',
111 silly get 'x-timer': 'S1432287360.776678,VS0,VE382',
111 silly get vary: 'Accept' } ]
112 verbose etag https://registry.npmjs.org/posix from cache
113 verbose get saving posix to /root/.npm/registry.npmjs.org/posix/.cache.json
114 silly addNameRange number 2 { name: 'posix', range: '>=1.0.0', hasData: true }
115 silly addNameRange versions [ 'posix',
115 silly addNameRange [ '0.0.1',
115 silly addNameRange '0.0.2',
115 silly addNameRange '0.0.3',
115 silly addNameRange '0.0.4',
115 silly addNameRange '0.0.5',
115 silly addNameRange '0.0.6',
115 silly addNameRange '0.0.7',
115 silly addNameRange '0.0.8',
115 silly addNameRange '0.0.10',
115 silly addNameRange '0.0.11',
115 silly addNameRange '0.0.12',
115 silly addNameRange '0.0.13',
115 silly addNameRange '1.0.0',
115 silly addNameRange '1.0.1',
115 silly addNameRange '1.0.2',
115 silly addNameRange '1.0.3',
115 silly addNameRange '1.0.4',
115 silly addNameRange '2.0.0',
115 silly addNameRange '2.0.1' ] ]
116 silly addNamed [email protected]
117 verbose addNamed "2.0.1" is a plain semver version for posix
118 silly cache afterAdd [email protected]
119 verbose afterAdd /root/.npm/posix/2.0.1/package/package.json not in flight; writing
120 verbose afterAdd /root/.npm/posix/2.0.1/package/package.json written
121 silly install resolved [ { name: 'ife',
121 silly install resolved description: 'Interface Management for Node.js',
121 silly install resolved keywords: [ 'ife', 'ifconfig', 'ipconfig' ],
121 silly install resolved version: '0.0.10',
121 silly install resolved preferGlobal: true,
121 silly install resolved author: { name: 'Theo Schlossnagle' },
121 silly install resolved repository: { type: 'git', url: 'git://github.com/postwait/node-ife.git' },
121 silly install resolved bugs: { url: 'http://github.com/postwait/node-ife/issues' },
121 silly install resolved main: './index',
121 silly install resolved engines: { node: '0.6 || 0.8 || 0.10' },
121 silly install resolved licenses: [ [Object] ],
121 silly install resolved scripts: { install: 'node-gyp rebuild' },
121 silly install resolved gypfile: true,
121 silly install resolved homepage: 'https://github.com/postwait/node-ife',
121 silly install resolved _id: '[email protected]',
121 silly install resolved dist:
121 silly install resolved { shasum: '39b7ba35d159bf213e553f2a635a4350aebdf68b',
121 silly install resolved tarball: 'http://registry.npmjs.org/ife/-/ife-0.0.10.tgz' },
121 silly install resolved _from: 'ife@>=0.0.9',
121 silly install resolved _npmVersion: '1.4.3',
121 silly install resolved _npmUser: { name: 'postwait', email: '[email protected]' },
121 silly install resolved maintainers: [ [Object] ],
121 silly install resolved directories: {},
121 silly install resolved _shasum: '39b7ba35d159bf213e553f2a635a4350aebdf68b',
121 silly install resolved _resolved: 'https://registry.npmjs.org/ife/-/ife-0.0.10.tgz',
121 silly install resolved readme: 'ERROR: No README data found!' },
121 silly install resolved { name: 'posix',
121 silly install resolved version: '2.0.1',
121 silly install resolved description: 'The missing POSIX system calls',
121 silly install resolved keywords:
121 silly install resolved [ 'posix',
121 silly install resolved 'rlimit',
121 silly install resolved 'getrlimit',
121 silly install resolved 'setrlimit',
121 silly install resolved 'ulimit',
121 silly install resolved 'setuid',
121 silly install resolved 'setgid',
121 silly install resolved 'seteuid',
121 silly install resolved 'setegid',
121 silly install resolved 'chroot',
121 silly install resolved 'setreuid',
121 silly install resolved 'setregid',
121 silly install resolved 'getpgrp',
121 silly install resolved 'setsid',
121 silly install resolved 'setpgid',
121 silly install resolved 'getpwnam',
121 silly install resolved 'getgrnam',
121 silly install resolved 'uid',
121 silly install resolved 'gid',
121 silly install resolved 'initgroups',
121 silly install resolved 'syslog',
121 silly install resolved 'setlogmask',
121 silly install resolved 'gethostname',
121 silly install resolved 'sethostname' ],
121 silly install resolved homepage: 'http://github.com/melor/node-posix',
121 silly install resolved repository: { type: 'git', url: 'git://github.com/melor/node-posix.git' },
121 silly install resolved author: { name: 'Mika Eloranta', email: '[email protected]' },
121 silly install resolved main: './lib/posix',
121 silly install resolved dependencies: { nan: '~1.8.4' },
121 silly install resolved scripts: { test: 'make test', install: 'node-gyp rebuild' },
121 silly install resolved engines: { node: '>= 0.8.0' },
121 silly install resolved gypfile: true,
121 silly install resolved gitHead: 'd042aaf050ff927ce7bd6d5ec2bf93a20dc795c7',
121 silly install resolved bugs: { url: 'https://github.com/melor/node-posix/issues' },
121 silly install resolved _id: '[email protected]',
121 silly install resolved _shasum: 'aad1ae80ad108fe24274006ea1f251f0a73fc3e8',
121 silly install resolved _from: 'posix@>=1.0.0',
121 silly install resolved _npmVersion: '2.7.5',
121 silly install resolved _nodeVersion: '0.12.2',
121 silly install resolved _npmUser: { name: 'mel', email: '[email protected]' },
121 silly install resolved maintainers: [ [Object] ],
121 silly install resolved dist:
121 silly install resolved { shasum: 'aad1ae80ad108fe24274006ea1f251f0a73fc3e8',
121 silly install resolved tarball: 'http://registry.npmjs.org/posix/-/posix-2.0.1.tgz' },
121 silly install resolved directories: {},
121 silly install resolved _resolved: 'https://registry.npmjs.org/posix/-/posix-2.0.1.tgz',
121 silly install resolved readme: 'ERROR: No README data found!' } ]
122 info install [email protected] into /usr/local/lib/node_modules/vippy
123 info install [email protected] into /usr/local/lib/node_modules/vippy
124 info installOne [email protected]
125 verbose installOne of ife to /usr/local/lib/node_modules/vippy not in flight; installing
126 info installOne [email protected]
127 verbose installOne of posix to /usr/local/lib/node_modules/vippy not in flight; installing
128 verbose lock using /root/.npm/_locks/ife-2abf9f55cdc6f7af.lock for /usr/local/lib/node_modules/vippy/node_modules/ife
129 warn engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})
130 verbose lock using /root/.npm/_locks/posix-6e446c45d3378b7d.lock for /usr/local/lib/node_modules/vippy/node_modules/posix
131 silly install write writing ife 0.0.10 to /usr/local/lib/node_modules/vippy/node_modules/ife
132 silly install write writing posix 2.0.1 to /usr/local/lib/node_modules/vippy/node_modules/posix
133 verbose unbuild lib/node_modules/vippy/node_modules/ife
134 verbose unbuild lib/node_modules/vippy/node_modules/posix
135 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/ife is being purged from base /usr/local
136 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/ife
137 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/posix is being purged from base /usr/local
138 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/posix
139 verbose tar unpack /root/.npm/ife/0.0.10/package.tgz
140 verbose tar unpacking to /usr/local/lib/node_modules/vippy/node_modules/ife
141 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/ife is being purged
142 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/ife
143 verbose tar unpack /root/.npm/posix/2.0.1/package.tgz
144 verbose tar unpacking to /usr/local/lib/node_modules/vippy/node_modules/posix
145 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/posix is being purged
146 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/posix
147 silly gunzTarPerm modes [ '755', '644' ]
148 silly gunzTarPerm modes [ '755', '644' ]
149 silly gunzTarPerm extractEntry package.json
150 silly gunzTarPerm extractEntry package.json
151 silly gunzTarPerm extractEntry README.md
152 silly gunzTarPerm extractEntry index.js
153 silly gunzTarPerm extractEntry README.md
154 silly gunzTarPerm extractEntry LICENSE
155 silly gunzTarPerm extractEntry dlpifix
156 silly gunzTarPerm extractEntry IFE.cc
157 silly gunzTarPerm extractEntry binding.gyp
158 silly gunzTarPerm extractEntry arpcache-ctlnet.cc
159 silly gunzTarPerm extractEntry arpcache-dlpi.cc
160 silly gunzTarPerm extractEntry arpcache-none.cc
161 silly gunzTarPerm extractEntry arpcache-proc.cc
162 silly gunzTarPerm extractEntry binding.gyp
163 silly gunzTarPerm extractEntry lib/posix/index.js
164 silly gunzTarPerm extractEntry src/posix.cc
165 silly gunzTarPerm extractEntry test/unit/test-chroot.js
166 silly gunzTarPerm extractEntry test/unit/test-gethostname.js
167 silly gunzTarPerm extractEntry test/unit/test-getppid.js
168 silly gunzTarPerm extractEntry test/unit/test-getpwnam.js
169 silly gunzTarPerm extractEntry build/IFEBinding.target.mk
170 silly gunzTarPerm extractEntry build/IFEStub.target.mk
171 silly gunzTarPerm extractEntry test/unit/test-getrlimit.js
172 silly gunzTarPerm extractEntry test/unit/test-getgrnam.js
173 silly gunzTarPerm extractEntry test/unit/test-setegid.js
174 silly gunzTarPerm extractEntry build/Makefile
175 silly gunzTarPerm extractEntry build/Release/.deps/Release/IFEBinding.node.d
176 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/IFE.o.d
177 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/arpcache-ctlnet.o.d
178 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/ife-bpf.o.d
179 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/ife-icmp-support.o.d
180 silly gunzTarPerm extractEntry test/unit/test-seteuid.js
181 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEStub.stamp.d
182 silly gunzTarPerm extractEntry build/Release/IFEBinding.node
183 silly gunzTarPerm extractEntry test/unit/test-setregid.js
184 silly gunzTarPerm extractEntry test/unit/test-setreuid.js
185 silly gunzTarPerm extractEntry build/Release/linker.lock
186 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/IFE.o
187 silly gunzTarPerm extractEntry test/unit/test-setrlimit.js
188 silly gunzTarPerm extractEntry test/unit/test-geteuid.js
189 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/arpcache-ctlnet.o
190 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/ife-bpf.o
191 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/ife-icmp-support.o
192 silly gunzTarPerm extractEntry build/Release/obj.target/IFEStub.stamp
193 silly gunzTarPerm extractEntry build/binding.Makefile
194 silly gunzTarPerm extractEntry build/config.gypi
195 silly gunzTarPerm extractEntry build/gyp-mac-tool
196 silly gunzTarPerm extractEntry IFEheader.h
197 silly gunzTarPerm extractEntry ife-bpf.cc
198 silly gunzTarPerm extractEntry ife-dlpi.cc
199 silly gunzTarPerm extractEntry ife-icmp-support.cc
200 silly gunzTarPerm extractEntry ife-icmp-support.h
201 silly gunzTarPerm extractEntry ife-sockpacket.cc
202 silly gunzTarPerm extractEntry ife-win32.cc
203 silly gunzTarPerm extractEntry ife.h
204 silly gunzTarPerm extractEntry LICENSE-CDDL
205 silly gunzTarPerm extractEntry LICENSE-MIT
206 silly gunzTarPerm extractEntry wscript
207 silly gunzTarPerm extractEntry test/unit/test-setsid.js
208 silly gunzTarPerm extractEntry test/unit/test-getegid.js
209 silly gunzTarPerm extractEntry test/unit/test-syslog.js
210 silly gunzTarPerm extractEntry test/unit/test-initgroups.js
211 silly gunzTarPerm extractEntry wscript
212 verbose write writing to /usr/local/lib/node_modules/vippy/node_modules/posix/package.json
213 info preinstall [email protected]
214 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/posix/package.json
215 silly prepareForInstallMany adding nan@~1.8.4 from posix dependencies
216 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/posix/package.json
217 silly cache add args [ 'nan@~1.8.4', null ]
218 verbose cache add spec nan@~1.8.4
219 silly cache add parsed spec { raw: 'nan@~1.8.4',
219 silly cache add scope: null,
219 silly cache add name: 'nan',
219 silly cache add rawSpec: '~1.8.4',
219 silly cache add spec: '>=1.8.4 <1.9.0',
219 silly cache add type: 'range' }
220 silly addNamed nan@>=1.8.4 <1.9.0
221 verbose addNamed ">=1.8.4 <1.9.0" is a valid semver range for nan
222 silly addNameRange { name: 'nan', range: '>=1.8.4 <1.9.0', hasData: false }
223 silly mapToRegistry name nan
224 silly mapToRegistry using default registry
225 silly mapToRegistry registry https://registry.npmjs.org/
226 silly mapToRegistry uri https://registry.npmjs.org/nan
227 verbose addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
228 verbose request uri https://registry.npmjs.org/nan
229 verbose request no auth needed
230 info attempt registry request try #1 at 12:35:59
231 verbose etag "560ZHVEP0DOKC8XVXCA3VTZHE"
232 http request GET https://registry.npmjs.org/nan
233 verbose write writing to /usr/local/lib/node_modules/vippy/node_modules/ife/package.json
234 info preinstall [email protected]
235 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/ife/package.json
236 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/ife/package.json
237 silly install resolved []
238 verbose about to build /usr/local/lib/node_modules/vippy/node_modules/ife
239 info build /usr/local/lib/node_modules/vippy/node_modules/ife
240 info linkStuff [email protected]
241 silly linkStuff [email protected] has /usr/local/lib/node_modules/vippy/node_modules as its parent node_modules
242 silly linkStuff [email protected] is part of a global install
243 silly linkStuff [email protected] is installed into a global node_modules
244 verbose linkBins [email protected]
245 verbose rebuildBundles [email protected]
246 info install [email protected]
247 verbose unsafe-perm in lifecycle false
248 http 304 https://registry.npmjs.org/nan
249 silly get cb [ 304,
249 silly get { date: 'Fri, 22 May 2015 09:36:01 GMT',
249 silly get via: '1.1 varnish',
249 silly get 'cache-control': 'max-age=60',
249 silly get etag: '"560ZHVEP0DOKC8XVXCA3VTZHE"',
249 silly get age: '10',
249 silly get connection: 'keep-alive',
249 silly get 'x-served-by': 'cache-lcy1126-LCY',
249 silly get 'x-cache': 'HIT',
249 silly get 'x-cache-hits': '1',
249 silly get 'x-timer': 'S1432287361.821291,VS0,VE0',
249 silly get vary: 'Accept' } ]
250 verbose etag https://registry.npmjs.org/nan from cache
251 verbose get saving nan to /root/.npm/registry.npmjs.org/nan/.cache.json
252 silly addNameRange number 2 { name: 'nan', range: '>=1.8.4 <1.9.0', hasData: true }
253 silly addNameRange versions [ 'nan',
253 silly addNameRange [ '0.3.0-wip',
253 silly addNameRange '0.3.0-wip2',
253 silly addNameRange '0.3.0',
253 silly addNameRange '0.3.1',
253 silly addNameRange '0.3.2',
253 silly addNameRange '0.4.0',
253 silly addNameRange '0.4.1',
253 silly addNameRange '0.4.2',
253 silly addNameRange '0.4.3',
253 silly addNameRange '0.4.4',
253 silly addNameRange '0.5.0',
253 silly addNameRange '0.5.1',
253 silly addNameRange '0.5.2',
253 silly addNameRange '0.6.0',
253 silly addNameRange '0.7.0',
253 silly addNameRange '0.7.1',
253 silly addNameRange '0.8.0',
253 silly addNameRange '1.0.0',
253 silly addNameRange '1.1.0',
253 silly addNameRange '1.1.1',
253 silly addNameRange '1.1.2',
253 silly addNameRange '1.2.0',
253 silly addNameRange '1.3.0',
253 silly addNameRange '1.4.0',
253 silly addNameRange '1.4.1',
253 silly addNameRange '1.5.0',
253 silly addNameRange '1.4.2',
253 silly addNameRange '1.4.3',
253 silly addNameRange '1.5.1',
253 silly addNameRange '1.5.2',
253 silly addNameRange '1.6.0',
253 silly addNameRange '1.5.3',
253 silly addNameRange '1.6.1',
253 silly addNameRange '1.6.2',
253 silly addNameRange '1.7.0',
253 silly addNameRange '1.8.0',
253 silly addNameRange '1.8.1',
253 silly addNameRange '1.8.2',
253 silly addNameRange '1.8.3',
253 silly addNameRange '1.8.4' ] ]
254 silly addNamed [email protected]
255 verbose addNamed "1.8.4" is a plain semver version for nan
256 silly cache afterAdd [email protected]
257 verbose afterAdd /root/.npm/nan/1.8.4/package/package.json not in flight; writing
258 verbose afterAdd /root/.npm/nan/1.8.4/package/package.json written
259 silly install resolved [ { name: 'nan',
259 silly install resolved version: '1.8.4',
259 silly install resolved description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
259 silly install resolved main: 'include_dirs.js',
259 silly install resolved repository: { type: 'git', url: 'git://github.com/iojs/nan.git' },
259 silly install resolved scripts:
259 silly install resolved { test: 'tap --gc test/js/*-test.js',
259 silly install resolved 'rebuild-tests': 'pangyp rebuild --directory test' },
259 silly install resolved contributors:
259 silly install resolved [ [Object],
259 silly install resolved [Object],
259 silly install resolved [Object],
259 silly install resolved [Object],
259 silly install resolved [Object],
259 silly install resolved [Object],
259 silly install resolved [Object] ],
259 silly install resolved devDependencies:
259 silly install resolved { bindings: '~1.2.1',
259 silly install resolved 'node-gyp': '~1.0.2',
259 silly install resolved pangyp: '~2.0.1',
259 silly install resolved tap: '~0.7.1',
259 silly install resolved xtend: '~4.0.0' },
259 silly install resolved license: 'MIT',
259 silly install resolved gitHead: 'ed3bbf4ced0cf7937b4e4164766797f71aa97f3d',
259 silly install resolved bugs: { url: 'https://github.com/iojs/nan/issues' },
259 silly install resolved homepage: 'https://github.com/iojs/nan#readme',
259 silly install resolved _id: '[email protected]',
259 silly install resolved _shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
259 silly install resolved _from: 'nan@>=1.8.4 <1.9.0',
259 silly install resolved _npmVersion: '2.8.3',
259 silly install resolved _nodeVersion: '0.12.2',
259 silly install resolved _npmUser: { name: 'kkoopa', email: '[email protected]' },
259 silly install resolved maintainers: [ [Object], [Object] ],
259 silly install resolved dist:
259 silly install resolved { shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
259 silly install resolved tarball: 'http://registry.npmjs.org/nan/-/nan-1.8.4.tgz' },
259 silly install resolved directories: {},
259 silly install resolved _resolved: 'https://registry.npmjs.org/nan/-/nan-1.8.4.tgz',
259 silly install resolved readme: 'ERROR: No README data found!' } ]
260 info install [email protected] into /usr/local/lib/node_modules/vippy/node_modules/posix
261 info installOne [email protected]
262 verbose installOne of nan to /usr/local/lib/node_modules/vippy/node_modules/posix not in flight; installing
263 verbose lock using /root/.npm/_locks/nan-bd325c07de779441.lock for /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
264 silly install write writing nan 1.8.4 to /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
265 verbose unbuild lib/node_modules/vippy/node_modules/posix/node_modules/nan
266 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan is being purged from base /usr/local
267 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
268 verbose tar unpack /root/.npm/nan/1.8.4/package.tgz
269 verbose tar unpacking to /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
270 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan is being purged
271 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
272 silly gunzTarPerm modes [ '755', '644' ]
273 silly gunzTarPerm extractEntry package.json
274 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ]
275 silly gunzTarPerm extractEntry README.md
276 silly gunzTarPerm modified mode [ 'README.md', 436, 420 ]
277 silly gunzTarPerm extractEntry include_dirs.js
278 silly gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
279 silly gunzTarPerm extractEntry LICENSE.md
280 silly gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
281 silly gunzTarPerm extractEntry .dntrc
282 silly gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
283 silly gunzTarPerm extractEntry appveyor.yml
284 silly gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
285 silly gunzTarPerm extractEntry nan.h
286 silly gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
287 silly gunzTarPerm extractEntry nan_implementation_12_inl.h
288 silly gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
289 silly gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
290 silly gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
291 silly gunzTarPerm extractEntry nan_new.h
292 silly gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
293 silly gunzTarPerm extractEntry nan_string_bytes.h
294 silly gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
295 silly gunzTarPerm extractEntry CHANGELOG.md
296 silly gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
297 verbose write writing to /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan/package.json
298 info preinstall [email protected]
299 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan/package.json
300 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan/package.json
301 silly install resolved []
302 verbose about to build /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
303 info build /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
304 info linkStuff [email protected]
305 silly linkStuff [email protected] has /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules as its parent node_modules
306 silly linkStuff [email protected] is part of a global install
307 silly linkStuff [email protected] is installed into a global node_modules
308 verbose linkBins [email protected]
309 verbose rebuildBundles [email protected]
310 info install [email protected]
311 info postinstall [email protected]
312 verbose unlock done using /root/.npm/_locks/nan-bd325c07de779441.lock for /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
313 verbose about to build /usr/local/lib/node_modules/vippy/node_modules/posix
314 info build /usr/local/lib/node_modules/vippy/node_modules/posix
315 info linkStuff [email protected]
316 silly linkStuff [email protected] has /usr/local/lib/node_modules/vippy/node_modules as its parent node_modules
317 silly linkStuff [email protected] is part of a global install
318 silly linkStuff [email protected] is installed into a global node_modules
319 verbose linkBins [email protected]
320 verbose rebuildBundles [email protected]
321 verbose rebuildBundles [ 'nan' ]
322 info install [email protected]
323 info [email protected] Failed to exec install script
324 verbose unsafe-perm in lifecycle false
325 verbose unlock done using /root/.npm/_locks/ife-2abf9f55cdc6f7af.lock for /usr/local/lib/node_modules/vippy/node_modules/ife
326 info postinstall [email protected]
327 verbose unlock done using /root/.npm/_locks/posix-6e446c45d3378b7d.lock for /usr/local/lib/node_modules/vippy/node_modules/posix
328 verbose about to build /usr/local/lib/node_modules/vippy
329 verbose unlock done using /root/.npm/_locks/vippy-2f6e209a1a735763.lock for /usr/local/lib/node_modules/vippy
330 verbose stack Error: [email protected] install: `node-gyp rebuild`
330 verbose stack Exit status 1
330 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
330 verbose stack at EventEmitter.emit (events.js:110:17)
330 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
330 verbose stack at ChildProcess.emit (events.js:110:17)
330 verbose stack at maybeClose (child_process.js:1015:16)
330 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
331 verbose pkgid [email protected]
332 verbose cwd /usr/home/jbw
333 error FreeBSD 9.3-RELEASE
334 error argv "node" "/usr/local/bin/npm" "install" "-g" "vippy"
335 error node v0.12.2
336 error npm v2.9.1
337 error code ELIFECYCLE
338 error [email protected] install: `node-gyp rebuild`
338 error Exit status 1
339 error Failed at the [email protected] install script 'node-gyp rebuild'.
339 error This is most likely a problem with the ife package,
339 error not with npm itself.
339 error Tell the author that this fails on your system:
339 error node-gyp rebuild
339 error You can get their info via:
339 error npm owner ls ife
339 error There is likely additional logging output above.
340 verbose exit [ 1, true ]
341 verbose unbuild lib/node_modules/vippy/node_modules/ife
342 info preuninstall [email protected]
343 info uninstall [email protected]
344 verbose unbuild rmStuff [email protected] from /usr/local/lib/node_modules
345 verbose unbuild rmStuff in /usr/local/lib/node_modules/vippy/node_modules
346 info postuninstall [email protected]
347 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/ife is being purged from base /usr/local
348 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/ife
349 silly vacuum-fs purging /usr/local/lib/node_modules/vippy/node_modules/ife
350 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules/vippy/node_modules
351 verbose unbuild lib/node_modules/vippy
352 info preuninstall [email protected]
353 info uninstall [email protected]
354 verbose unbuild rmStuff [email protected] from /usr/local/lib/node_modules
355 silly gentlyRm /usr/local/bin/vippyd is being gently removed
356 silly gentlyRm verifying /usr/local is an npm working directory
357 silly gentlyRm /usr/local/bin/vippyctl is being gently removed
358 silly gentlyRm verifying /usr/local is an npm working directory
359 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local
360 silly gentlyRm deletion target /usr/local/bin/vippyd is under /usr/local
361 verbose gentlyRm vacuuming from /usr/local/bin/vippyd up to /usr/local
362 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local
363 silly gentlyRm deletion target /usr/local/bin/vippyctl is under /usr/local
364 verbose gentlyRm vacuuming from /usr/local/bin/vippyctl up to /usr/local
365 info postuninstall [email protected]
366 silly gentlyRm /usr/local/lib/node_modules/vippy is being purged from base /usr/local
367 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy
368 silly vacuum-fs purging /usr/local/lib/node_modules/vippy
369 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules
This may also be of use:
root@testbed:/home/jbw # npm install ife
npm WARN engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})
> [email protected] install /usr/home/jbw/node_modules/ife
> node-gyp rebuild
gmake: Entering directory '/usr/home/jbw/node_modules/ife/build'
CXX(target) Release/obj.target/IFEBinding/IFE.o
In file included from ../IFEheader.h:17,
from ../IFE.cc:12:
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
In file included from ../IFE.cc:12:
../IFEheader.h:29: error: expected unqualified-id before '&' token
../IFEheader.h:29: error: expected ',' or '...' before '&' token
../IFEheader.h:30: error: expected unqualified-id before '&' token
../IFEheader.h:30: error: expected ',' or '...' before '&' token
../IFEheader.h:31: error: expected unqualified-id before '&' token
../IFEheader.h:31: error: expected ',' or '...' before '&' token
../IFEheader.h:32: error: expected unqualified-id before '&' token
../IFEheader.h:32: error: expected ',' or '...' before '&' token
../IFEheader.h:33: error: expected unqualified-id before '&' token
../IFEheader.h:33: error: expected ',' or '...' before '&' token
../IFEheader.h:34: error: expected unqualified-id before '&' token
../IFEheader.h:34: error: expected ',' or '...' before '&' token
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In member function 'void node::IFE::emit(v8::Local<v8::Value>*, int)':
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132: error: 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > node::ObjectWrap::handle_' is private
../IFE.cc:27: error: within this context
../IFE.cc:27: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132: error: 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > node::ObjectWrap::handle_' is private
../IFE.cc:31: error: within this context
../IFE.cc:31: error: no matching function for call to 'v8::Function::Call(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >&, int&, v8::Local<v8::Value>*&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2557: note: candidates are: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Value>, int, v8::Handle<v8::Value>*)
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static void node::IFE::Initialize(v8::Handle<v8::Object>)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:40: error: within this context
../IFE.cc:42: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)())'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3460: note: candidates are: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, void (*)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
../IFE.cc:43: error: no matching function for call to 'v8::PersistentBase<v8::FunctionTemplate>::New(v8::Local<v8::FunctionTemplate>&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:5809: note: candidates are: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::FunctionTemplate]
../IFE.cc:44: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc:45: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc:45: error: 'NewSymbol' is not a member of 'v8::String'
../IFE.cc:47: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:48: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:49: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:50: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:51: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:53: error: 'NODE_PSYMBOL' was not declared in this scope
../IFE.cc:54: error: 'NewSymbol' is not a member of 'v8::String'
../IFE.cc:54: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc: At global scope:
../IFE.cc:57: error: expected ',' or '...' before '&' token
../IFE.cc:57: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:57: error: prototype for 'v8::Handle<v8::Value> node::IFE::New(int)' does not match any in class 'node::IFE'
../IFEheader.h:29: error: candidate is: static v8::Handle<v8::Value> node::IFE::New()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::New(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:58: error: within this context
../IFE.cc:61: error: 'args' was not declared in this scope
../IFE.cc:62: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:62: error: at this point in file
../IFE.cc:65: error: 'New' is not a member of 'v8::String'
../IFE.cc:66: error: 'ThrowException' was not declared in this scope
../IFE.cc: At global scope:
../IFE.cc:72: error: expected ',' or '...' before '&' token
../IFE.cc:72: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:72: error: prototype for 'v8::Handle<v8::Value> node::IFE::arpcache(int)' does not match any in class 'node::IFE'
../IFEheader.h:34: error: candidate is: static v8::Handle<v8::Value> node::IFE::arpcache()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::arpcache(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:73: error: within this context
../IFE.cc:79: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:79: error: at this point in file
../IFE.cc:80: error: no matching function for call to 'v8::Object::New()'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../IFE.cc:84: error: 'inet_ntop' was not declared in this scope
../IFE.cc:88: error: 'New' is not a member of 'v8::String'
../IFE.cc:88: error: 'New' is not a member of 'v8::String'
../IFE.cc:91: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc: At global scope:
../IFE.cc:94: error: expected ',' or '...' before '&' token
../IFE.cc:94: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:94: error: prototype for 'v8::Handle<v8::Value> node::IFE::list(int)' does not match any in class 'node::IFE'
../IFEheader.h:30: error: candidate is: static v8::Handle<v8::Value> node::IFE::list()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::list(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:97: error: within this context
../IFE.cc:101: error: invalid conversion from 'int' to 'v8::Isolate*'
../IFE.cc:101: error: initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)'
../IFE.cc:104: error: no matching function for call to 'v8::Object::New()'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../IFE.cc:105: error: 'New' is not a member of 'v8::String'
../IFE.cc:105: error: 'New' is not a member of 'v8::String'
../IFE.cc:116: error: 'inet_ntop' was not declared in this scope
../IFE.cc:116: error: 'New' is not a member of 'v8::String'
../IFE.cc:116: error: 'New' is not a member of 'v8::String'
../IFE.cc:118: error: 'New' is not a member of 'v8::String'
../IFE.cc:118: error: no matching function for call to 'v8::Integer::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
../IFE.cc:120: error: 'inet_ntop' was not declared in this scope
../IFE.cc:120: error: 'New' is not a member of 'v8::String'
../IFE.cc:120: error: 'New' is not a member of 'v8::String'
../IFE.cc:121: error: 'inet_ntop' was not declared in this scope
../IFE.cc:121: error: 'New' is not a member of 'v8::String'
../IFE.cc:121: error: 'New' is not a member of 'v8::String'
../IFE.cc:122: error: 'inet_ntop' was not declared in this scope
../IFE.cc:122: error: 'New' is not a member of 'v8::String'
../IFE.cc:122: error: 'New' is not a member of 'v8::String'
../IFE.cc:127: error: 'New' is not a member of 'v8::String'
../IFE.cc:127: error: 'New' is not a member of 'v8::String'
../IFE.cc:128: error: no matching function for call to 'v8::Number::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:1999: note: candidates are: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
../IFE.cc:131: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc: At global scope:
../IFE.cc:134: error: expected ',' or '...' before '&' token
../IFE.cc:134: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:134: error: prototype for 'v8::Handle<v8::Value> node::IFE::up(int)' does not match any in class 'node::IFE'
../IFEheader.h:31: error: candidate is: static v8::Handle<v8::Value> node::IFE::up()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::up(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:135: error: within this context
../IFE.cc:138: error: 'args' was not declared in this scope
../IFE.cc:143: error: 'New' is not a member of 'v8::String'
../IFE.cc:145: error: 'New' is not a member of 'v8::String'
../IFE.cc:145: error: 'ThrowException' was not declared in this scope
../IFE.cc:146: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:166: error: 'New' is not a member of 'v8::String'
../IFE.cc:168: error: 'New' is not a member of 'v8::String'
../IFE.cc:168: error: 'ThrowException' was not declared in this scope
../IFE.cc:169: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:173: error: 'inet_pton' was not declared in this scope
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'ThrowException' was not declared in this scope
../IFE.cc:174: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'ThrowException' was not declared in this scope
../IFE.cc:174: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'ThrowException' was not declared in this scope
../IFE.cc:175: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'ThrowException' was not declared in this scope
../IFE.cc:175: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'ThrowException' was not declared in this scope
../IFE.cc:176: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'ThrowException' was not declared in this scope
../IFE.cc:176: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:180: error: 'New' is not a member of 'v8::String'
../IFE.cc:186: error: 'New' is not a member of 'v8::String'
../IFE.cc:186: error: 'ThrowException' was not declared in this scope
../IFE.cc:187: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:191: error: 'New' is not a member of 'v8::String'
../IFE.cc:192: error: 'New' is not a member of 'v8::String'
../IFE.cc:194: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:196: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc: At global scope:
../IFE.cc:199: error: expected ',' or '...' before '&' token
../IFE.cc:199: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:199: error: prototype for 'v8::Handle<v8::Value> node::IFE::down(int)' does not match any in class 'node::IFE'
../IFEheader.h:32: error: candidate is: static v8::Handle<v8::Value> node::IFE::down()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::down(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:200: error: within this context
../IFE.cc:203: error: 'args' was not declared in this scope
../IFE.cc:208: error: 'New' is not a member of 'v8::String'
../IFE.cc:208: error: 'ThrowException' was not declared in this scope
../IFE.cc:208: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:208: error: at this point in file
../IFE.cc:213: error: 'inet_pton' was not declared in this scope
../IFE.cc:220: error: 'New' is not a member of 'v8::String'
../IFE.cc:220: error: 'ThrowException' was not declared in this scope
../IFE.cc:221: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:221: error: at this point in file
../IFE.cc:224: error: 'AsciiValue' is not a member of 'v8::String'
../IFE.cc:224: error: expected `;' before 'val'
../IFE.cc:233: error: 'New' is not a member of 'v8::String'
../IFE.cc:234: error: 'New' is not a member of 'v8::String'
../IFE.cc:236: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:238: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc: At global scope:
../IFE.cc:241: error: expected ',' or '...' before '&' token
../IFE.cc:241: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:241: error: prototype for 'v8::Handle<v8::Value> node::IFE::gratarp(int)' does not match any in class 'node::IFE'
../IFEheader.h:33: error: candidate is: static v8::Handle<v8::Value> node::IFE::gratarp()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::gratarp(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:247: error: within this context
../IFE.cc:249: error: 'args' was not declared in this scope
../IFE.cc:250: error: 'New' is not a member of 'v8::String'
../IFE.cc:252: error: 'New' is not a member of 'v8::String'
../IFE.cc:252: error: 'ThrowException' was not declared in this scope
../IFE.cc:253: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:259: error: 'New' is not a member of 'v8::String'
../IFE.cc:261: error: 'New' is not a member of 'v8::String'
../IFE.cc:261: error: 'ThrowException' was not declared in this scope
../IFE.cc:262: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:266: error: 'inet_pton' was not declared in this scope
../IFE.cc:267: error: 'New' is not a member of 'v8::String'
../IFE.cc:267: error: 'ThrowException' was not declared in this scope
../IFE.cc:268: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:271: error: 'New' is not a member of 'v8::String'
../IFE.cc:273: error: 'New' is not a member of 'v8::String'
../IFE.cc:273: error: 'ThrowException' was not declared in this scope
../IFE.cc:274: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:278: error: 'inet_pton' was not declared in this scope
../IFE.cc:279: error: 'New' is not a member of 'v8::String'
../IFE.cc:279: error: 'ThrowException' was not declared in this scope
../IFE.cc:280: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:283: error: 'New' is not a member of 'v8::String'
../IFE.cc:301: error: 'New' is not a member of 'v8::String'
../IFE.cc:301: error: 'ThrowException' was not declared in this scope
../IFE.cc:302: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:302: error: at this point in file
../IFE.cc:308: error: 'New' is not a member of 'v8::String'
../IFE.cc:308: error: 'ThrowException' was not declared in this scope
../IFE.cc:309: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:309: error: at this point in file
../IFE.cc:316: error: 'New' is not a member of 'v8::String'
../IFE.cc:316: error: 'ThrowException' was not declared in this scope
../IFE.cc:317: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:317: error: at this point in file
../IFE.cc:321: error: 'New' is not a member of 'v8::String'
../IFE.cc:321: error: 'ThrowException' was not declared in this scope
../IFE.cc:322: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:322: error: at this point in file
../IFE.cc:327: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc:327: error: no matching function for call to 'v8::Integer::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In static member function 'static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]':
../IFE.cc:139: instantiated from here
/root/.node-gyp/0.12.2/src/node_object_wrap.h:55: error: 'node::ObjectWrap' is an inaccessible base of 'node::IFE'
IFEBinding.target.mk:87: recipe for target 'Release/obj.target/IFEBinding/IFE.o' failed
gmake: *** [Release/obj.target/IFEBinding/IFE.o] Error 1
gmake: Leaving directory '/usr/home/jbw/node_modules/ife/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/jbw/node_modules/ife
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! FreeBSD 9.3-RELEASE
npm ERR! argv "node" "/usr/local/bin/npm" "install" "ife"
npm ERR! node v0.12.2
npm ERR! npm v2.9.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ife 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 ife
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/home/jbw/npm-debug.log
Did you try changing IFEheader.h line 17 to stdlib.h from malloc.h as the error message suggests?
stdlib.h is already included on line 16, so I removed the malloc.h include.. no difference:
root@testbed:/ # npm install /tmp/node-ife/
npm WARN engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})
> [email protected] install /node_modules/ife
> node-gyp rebuild
gmake: Entering directory '/node_modules/ife/build'
CXX(target) Release/obj.target/IFEBinding/IFE.o
In file included from ../IFE.cc:12:
../IFEheader.h:28: error: expected unqualified-id before '&' token
../IFEheader.h:28: error: expected ',' or '...' before '&' token
../IFEheader.h:29: error: expected unqualified-id before '&' token
../IFEheader.h:29: error: expected ',' or '...' before '&' token
../IFEheader.h:30: error: expected unqualified-id before '&' token
../IFEheader.h:30: error: expected ',' or '...' before '&' token
../IFEheader.h:31: error: expected unqualified-id before '&' token
../IFEheader.h:31: error: expected ',' or '...' before '&' token
../IFEheader.h:32: error: expected unqualified-id before '&' token
../IFEheader.h:32: error: expected ',' or '...' before '&' token
../IFEheader.h:33: error: expected unqualified-id before '&' token
../IFEheader.h:33: error: expected ',' or '...' before '&' token
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In member function 'void node::IFE::emit(v8::Local<v8::Value>*, int)':
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132: error: 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > node::ObjectWrap::handle_' is private
../IFE.cc:27: error: within this context
../IFE.cc:27: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132: error: 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > node::ObjectWrap::handle_' is private
../IFE.cc:31: error: within this context
../IFE.cc:31: error: no matching function for call to 'v8::Function::Call(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >&, int&, v8::Local<v8::Value>*&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2557: note: candidates are: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Value>, int, v8::Handle<v8::Value>*)
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static void node::IFE::Initialize(v8::Handle<v8::Object>)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:40: error: within this context
../IFE.cc:42: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)())'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3460: note: candidates are: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, void (*)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
../IFE.cc:43: error: no matching function for call to 'v8::PersistentBase<v8::FunctionTemplate>::New(v8::Local<v8::FunctionTemplate>&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:5809: note: candidates are: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::FunctionTemplate]
../IFE.cc:44: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc:45: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc:45: error: 'NewSymbol' is not a member of 'v8::String'
../IFE.cc:47: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:48: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:49: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:50: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:51: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:53: error: 'NODE_PSYMBOL' was not declared in this scope
../IFE.cc:54: error: 'NewSymbol' is not a member of 'v8::String'
../IFE.cc:54: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc: At global scope:
../IFE.cc:57: error: expected ',' or '...' before '&' token
../IFE.cc:57: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:57: error: prototype for 'v8::Handle<v8::Value> node::IFE::New(int)' does not match any in class 'node::IFE'
../IFEheader.h:28: error: candidate is: static v8::Handle<v8::Value> node::IFE::New()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::New(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:58: error: within this context
../IFE.cc:61: error: 'args' was not declared in this scope
../IFE.cc:62: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:62: error: at this point in file
../IFE.cc:65: error: 'New' is not a member of 'v8::String'
../IFE.cc:66: error: 'ThrowException' was not declared in this scope
../IFE.cc: At global scope:
../IFE.cc:72: error: expected ',' or '...' before '&' token
../IFE.cc:72: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:72: error: prototype for 'v8::Handle<v8::Value> node::IFE::arpcache(int)' does not match any in class 'node::IFE'
../IFEheader.h:33: error: candidate is: static v8::Handle<v8::Value> node::IFE::arpcache()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::arpcache(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:73: error: within this context
../IFE.cc:79: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:79: error: at this point in file
../IFE.cc:80: error: no matching function for call to 'v8::Object::New()'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../IFE.cc:84: error: 'inet_ntop' was not declared in this scope
../IFE.cc:88: error: 'New' is not a member of 'v8::String'
../IFE.cc:88: error: 'New' is not a member of 'v8::String'
../IFE.cc:91: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc: At global scope:
../IFE.cc:94: error: expected ',' or '...' before '&' token
../IFE.cc:94: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:94: error: prototype for 'v8::Handle<v8::Value> node::IFE::list(int)' does not match any in class 'node::IFE'
../IFEheader.h:29: error: candidate is: static v8::Handle<v8::Value> node::IFE::list()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::list(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:97: error: within this context
../IFE.cc:101: error: invalid conversion from 'int' to 'v8::Isolate*'
../IFE.cc:101: error: initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)'
../IFE.cc:104: error: no matching function for call to 'v8::Object::New()'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../IFE.cc:105: error: 'New' is not a member of 'v8::String'
../IFE.cc:105: error: 'New' is not a member of 'v8::String'
../IFE.cc:116: error: 'inet_ntop' was not declared in this scope
../IFE.cc:116: error: 'New' is not a member of 'v8::String'
../IFE.cc:116: error: 'New' is not a member of 'v8::String'
../IFE.cc:118: error: 'New' is not a member of 'v8::String'
../IFE.cc:118: error: no matching function for call to 'v8::Integer::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
../IFE.cc:120: error: 'inet_ntop' was not declared in this scope
../IFE.cc:120: error: 'New' is not a member of 'v8::String'
../IFE.cc:120: error: 'New' is not a member of 'v8::String'
../IFE.cc:121: error: 'inet_ntop' was not declared in this scope
../IFE.cc:121: error: 'New' is not a member of 'v8::String'
../IFE.cc:121: error: 'New' is not a member of 'v8::String'
../IFE.cc:122: error: 'inet_ntop' was not declared in this scope
../IFE.cc:122: error: 'New' is not a member of 'v8::String'
../IFE.cc:122: error: 'New' is not a member of 'v8::String'
../IFE.cc:127: error: 'New' is not a member of 'v8::String'
../IFE.cc:127: error: 'New' is not a member of 'v8::String'
../IFE.cc:128: error: no matching function for call to 'v8::Number::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:1999: note: candidates are: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
../IFE.cc:131: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc: At global scope:
../IFE.cc:134: error: expected ',' or '...' before '&' token
../IFE.cc:134: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:134: error: prototype for 'v8::Handle<v8::Value> node::IFE::up(int)' does not match any in class 'node::IFE'
../IFEheader.h:30: error: candidate is: static v8::Handle<v8::Value> node::IFE::up()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::up(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:135: error: within this context
../IFE.cc:138: error: 'args' was not declared in this scope
../IFE.cc:143: error: 'New' is not a member of 'v8::String'
../IFE.cc:145: error: 'New' is not a member of 'v8::String'
../IFE.cc:145: error: 'ThrowException' was not declared in this scope
../IFE.cc:146: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:166: error: 'New' is not a member of 'v8::String'
../IFE.cc:168: error: 'New' is not a member of 'v8::String'
../IFE.cc:168: error: 'ThrowException' was not declared in this scope
../IFE.cc:169: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:173: error: 'inet_pton' was not declared in this scope
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'ThrowException' was not declared in this scope
../IFE.cc:174: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'ThrowException' was not declared in this scope
../IFE.cc:174: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'ThrowException' was not declared in this scope
../IFE.cc:175: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'ThrowException' was not declared in this scope
../IFE.cc:175: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'ThrowException' was not declared in this scope
../IFE.cc:176: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'ThrowException' was not declared in this scope
../IFE.cc:176: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:180: error: 'New' is not a member of 'v8::String'
../IFE.cc:186: error: 'New' is not a member of 'v8::String'
../IFE.cc:186: error: 'ThrowException' was not declared in this scope
../IFE.cc:187: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:191: error: 'New' is not a member of 'v8::String'
../IFE.cc:192: error: 'New' is not a member of 'v8::String'
../IFE.cc:194: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:196: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc: At global scope:
../IFE.cc:199: error: expected ',' or '...' before '&' token
../IFE.cc:199: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:199: error: prototype for 'v8::Handle<v8::Value> node::IFE::down(int)' does not match any in class 'node::IFE'
../IFEheader.h:31: error: candidate is: static v8::Handle<v8::Value> node::IFE::down()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::down(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:200: error: within this context
../IFE.cc:203: error: 'args' was not declared in this scope
../IFE.cc:208: error: 'New' is not a member of 'v8::String'
../IFE.cc:208: error: 'ThrowException' was not declared in this scope
../IFE.cc:208: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:208: error: at this point in file
../IFE.cc:213: error: 'inet_pton' was not declared in this scope
../IFE.cc:220: error: 'New' is not a member of 'v8::String'
../IFE.cc:220: error: 'ThrowException' was not declared in this scope
../IFE.cc:221: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:221: error: at this point in file
../IFE.cc:224: error: 'AsciiValue' is not a member of 'v8::String'
../IFE.cc:224: error: expected `;' before 'val'
../IFE.cc:233: error: 'New' is not a member of 'v8::String'
../IFE.cc:234: error: 'New' is not a member of 'v8::String'
../IFE.cc:236: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:238: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc: At global scope:
../IFE.cc:241: error: expected ',' or '...' before '&' token
../IFE.cc:241: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:241: error: prototype for 'v8::Handle<v8::Value> node::IFE::gratarp(int)' does not match any in class 'node::IFE'
../IFEheader.h:32: error: candidate is: static v8::Handle<v8::Value> node::IFE::gratarp()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::gratarp(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:247: error: within this context
../IFE.cc:249: error: 'args' was not declared in this scope
../IFE.cc:250: error: 'New' is not a member of 'v8::String'
../IFE.cc:252: error: 'New' is not a member of 'v8::String'
../IFE.cc:252: error: 'ThrowException' was not declared in this scope
../IFE.cc:253: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:259: error: 'New' is not a member of 'v8::String'
../IFE.cc:261: error: 'New' is not a member of 'v8::String'
../IFE.cc:261: error: 'ThrowException' was not declared in this scope
../IFE.cc:262: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:266: error: 'inet_pton' was not declared in this scope
../IFE.cc:267: error: 'New' is not a member of 'v8::String'
../IFE.cc:267: error: 'ThrowException' was not declared in this scope
../IFE.cc:268: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:271: error: 'New' is not a member of 'v8::String'
../IFE.cc:273: error: 'New' is not a member of 'v8::String'
../IFE.cc:273: error: 'ThrowException' was not declared in this scope
../IFE.cc:274: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:278: error: 'inet_pton' was not declared in this scope
../IFE.cc:279: error: 'New' is not a member of 'v8::String'
../IFE.cc:279: error: 'ThrowException' was not declared in this scope
../IFE.cc:280: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:283: error: 'New' is not a member of 'v8::String'
../IFE.cc:301: error: 'New' is not a member of 'v8::String'
../IFE.cc:301: error: 'ThrowException' was not declared in this scope
../IFE.cc:302: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:302: error: at this point in file
../IFE.cc:308: error: 'New' is not a member of 'v8::String'
../IFE.cc:308: error: 'ThrowException' was not declared in this scope
../IFE.cc:309: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:309: error: at this point in file
../IFE.cc:316: error: 'New' is not a member of 'v8::String'
../IFE.cc:316: error: 'ThrowException' was not declared in this scope
../IFE.cc:317: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:317: error: at this point in file
../IFE.cc:321: error: 'New' is not a member of 'v8::String'
../IFE.cc:321: error: 'ThrowException' was not declared in this scope
../IFE.cc:322: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:322: error: at this point in file
../IFE.cc:327: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc:327: error: no matching function for call to 'v8::Integer::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In static member function 'static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]':
../IFE.cc:139: instantiated from here
/root/.node-gyp/0.12.2/src/node_object_wrap.h:55: error: 'node::ObjectWrap' is an inaccessible base of 'node::IFE'
IFEBinding.target.mk:87: recipe for target 'Release/obj.target/IFEBinding/IFE.o' failed
gmake: *** [Release/obj.target/IFEBinding/IFE.o] Error 1
gmake: Leaving directory '/node_modules/ife/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /node_modules/ife
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! FreeBSD 9.3-RELEASE
npm ERR! argv "node" "/usr/local/bin/npm" "install" "/tmp/node-ife/"
npm ERR! node v0.12.2
npm ERR! npm v2.9.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ife 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 ife
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
I don't have a FreeBSD box handy to debug. It sounds as if it wouldn't be too complicated to fix. It's likely something really simple.
This is just a VM I'm testing on - I can give you (root) access if you'd like
http://lethargy.org/~jesus/misc/id_dsa.pub
Hmm.. old gcc, new node. Looks like a disaster. It's non-obivous. Someone with more expertise in this area should take a look. Note: I hate C++.
What version of GCC do you recommend trying it with?
Maybe 4.7 or 4.8?
So I installed gcc 4.8 and gave it a bash. It's throwing different errors now:
root@testbed:/ # env CC=gcc48 CXX=g++48 CPP=cpp48 npm install /tmp/node-ife/
npm WARN engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})
> [email protected] install /node_modules/ife
> node-gyp rebuild
gmake: Entering directory '/node_modules/ife/build'
CXX(target) Release/obj.target/IFEBinding/IFE.o
In file included from ../IFE.cc:12:0:
../IFEheader.h:28:44: error: 'Arguments' in namespace 'v8' does not name a type
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^
../IFEheader.h:28:59: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^
../IFEheader.h:29:45: error: 'Arguments' in namespace 'v8' does not name a type
static v8::Handle<v8::Value> list(const v8::Arguments& args);
^
../IFEheader.h:29:60: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
static v8::Handle<v8::Value> list(const v8::Arguments& args);
^
../IFEheader.h:30:43: error: 'Arguments' in namespace 'v8' does not name a type
static v8::Handle<v8::Value> up(const v8::Arguments& args);
^
../IFEheader.h:30:58: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
static v8::Handle<v8::Value> up(const v8::Arguments& args);
^
../IFEheader.h:31:45: error: 'Arguments' in namespace 'v8' does not name a type
static v8::Handle<v8::Value> down(const v8::Arguments& args);
^
../IFEheader.h:31:60: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
static v8::Handle<v8::Value> down(const v8::Arguments& args);
^
../IFEheader.h:32:48: error: 'Arguments' in namespace 'v8' does not name a type
static v8::Handle<v8::Value> gratarp(const v8::Arguments& args);
^
../IFEheader.h:32:63: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
static v8::Handle<v8::Value> gratarp(const v8::Arguments& args);
^
../IFEheader.h:33:49: error: 'Arguments' in namespace 'v8' does not name a type
static v8::Handle<v8::Value> arpcache(const v8::Arguments& args);
^
../IFEheader.h:33:64: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
static v8::Handle<v8::Value> arpcache(const v8::Arguments& args);
^
In file included from ../IFEheader.h:4:0,
from ../IFE.cc:12:
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In member function 'void node::IFE::emit(v8::Local<v8::Value>*, int)':
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132:30: error: 'v8::Persistent<v8::Object> node::ObjectWrap::handle_' is private
v8::Persistent<v8::Object> handle_;
^
../IFE.cc:27:29: error: within this context
Local<Value> emit_v = handle_->Get(emit_symbol);
^
../IFE.cc:27:36: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Object>'
Local<Value> emit_v = handle_->Get(emit_symbol);
^
In file included from ../IFEheader.h:4:0,
from ../IFE.cc:12:
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132:30: error: 'v8::Persistent<v8::Object> node::ObjectWrap::handle_' is private
v8::Persistent<v8::Object> handle_;
^
../IFE.cc:31:20: error: within this context
emit->Call(handle_, nargs, args);
^
../IFE.cc:31:40: error: no matching function for call to 'v8::Function::Call(v8::Persistent<v8::Object>&, int&, v8::Local<v8::Value>*&)'
emit->Call(handle_, nargs, args);
^
../IFE.cc:31:40: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2557:16: note: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Value>, int, v8::Handle<v8::Value>*)
Local<Value> Call(Handle<Value> recv, int argc, Handle<Value> argv[]);
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2557:16: note: no known conversion for argument 1 from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Value>'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static void node::IFE::Initialize(v8::Handle<v8::Object>)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../IFE.cc:40:17: error: within this context
HandleScope scope;
^
../IFE.cc:42:63: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))'
Local<FunctionTemplate> t = FunctionTemplate::New(IFE::New);
^
../IFE.cc:42:63: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../IFE.cc:43:63: error: no matching function for call to 'v8::Persistent<v8::FunctionTemplate>::New(v8::Local<v8::FunctionTemplate>&)'
constructor_template = Persistent<FunctionTemplate>::New(t);
^
../IFE.cc:43:63: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::FunctionTemplate]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:5809:4: note: candidate expects 2 arguments, 1 provided
../IFE.cc:44:25: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
^
../IFE.cc:45:25: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
constructor_template->SetClassName(String::NewSymbol("IFE"));
^
../IFE.cc:45:40: error: 'NewSymbol' is not a member of 'v8::String'
constructor_template->SetClassName(String::NewSymbol("IFE"));
^
../IFE.cc:47:70: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
NODE_SET_PROTOTYPE_METHOD(constructor_template, "list", IFE::list);
^
../IFE.cc:48:66: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
NODE_SET_PROTOTYPE_METHOD(constructor_template, "up", IFE::up);
^
../IFE.cc:49:70: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
NODE_SET_PROTOTYPE_METHOD(constructor_template, "down", IFE::down);
^
../IFE.cc:50:76: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
NODE_SET_PROTOTYPE_METHOD(constructor_template, "gratarp", IFE::gratarp);
^
../IFE.cc:51:78: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
NODE_SET_PROTOTYPE_METHOD(constructor_template, "arpcache", IFE::arpcache);
^
../IFE.cc:53:38: error: 'NODE_PSYMBOL' was not declared in this scope
emit_symbol = NODE_PSYMBOL("emit");
^
../IFE.cc:54:17: error: 'NewSymbol' is not a member of 'v8::String'
target->Set(String::NewSymbol("IFE"), constructor_template->GetFunction());
^
../IFE.cc:54:63: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
target->Set(String::NewSymbol("IFE"), constructor_template->GetFunction());
^
../IFE.cc: At global scope:
../IFE.cc:57:32: error: 'Arguments' does not name a type
Handle<Value> IFE::New(const Arguments& args) {
^
../IFE.cc:57:43: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
Handle<Value> IFE::New(const Arguments& args) {
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::New(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../IFE.cc:58:17: error: within this context
HandleScope scope;
^
../IFE.cc:61:18: error: request for member 'This' in 'args', which is of non-class type 'const int'
p->Wrap(args.This());
^
../IFE.cc:62:38: error: 'class v8::HandleScope' has no member named 'Close'
if(if_initialize()) return scope.Close(Undefined());
^
../IFE.cc:62:54: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
if(if_initialize()) return scope.Close(Undefined());
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../IFE.cc:64:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
if (args.Length() != 0) {
^
../IFE.cc:65:46: error: 'New' is not a member of 'v8::String'
return ThrowException(Exception::Error(String::New(
^
../IFE.cc:66:35: error: 'ThrowException' was not declared in this scope
"Must have no arguments")));
^
../IFE.cc:69:17: error: request for member 'This' in 'args', which is of non-class type 'const int'
return args.This();
^
../IFE.cc: At global scope:
../IFE.cc:72:37: error: 'Arguments' does not name a type
Handle<Value> IFE::arpcache(const Arguments& args) {
^
../IFE.cc:72:48: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
Handle<Value> IFE::arpcache(const Arguments& args) {
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::arpcache(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../IFE.cc:73:17: error: within this context
HandleScope scope;
^
../IFE.cc:79:20: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(Undefined());
^
../IFE.cc:79:36: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return scope.Close(Undefined());
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../IFE.cc:80:38: error: no matching function for call to 'v8::Object::New()'
Handle<Object> obj = Object::New();
^
../IFE.cc:80:38: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
../IFE.cc:84:69: error: 'inet_ntop' was not declared in this scope
if(inet_ntop(AF_INET, &entries[i].ipaddr, ipstr, sizeof(ipstr)) != NULL) {
^
../IFE.cc:88:18: error: 'New' is not a member of 'v8::String'
obj->Set(String::New(ipstr), String::New(mac));
^
../IFE.cc:88:38: error: 'New' is not a member of 'v8::String'
obj->Set(String::New(ipstr), String::New(mac));
^
../IFE.cc:91:18: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(obj);
^
../IFE.cc: At global scope:
../IFE.cc:94:33: error: 'Arguments' does not name a type
Handle<Value> IFE::list(const Arguments& args) {
^
../IFE.cc:94:44: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
Handle<Value> IFE::list(const Arguments& args) {
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::list(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../IFE.cc:97:17: error: within this context
HandleScope scope;
^
../IFE.cc:101:39: error: invalid conversion from 'int' to 'v8::Isolate*' [-fpermissive]
Handle<Array> obj = Array::New(cnt);
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2417:23: error: initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)' [-fpermissive]
static Local<Array> New(Isolate* isolate, int length = 0);
^
../IFE.cc:104:42: error: no matching function for call to 'v8::Object::New()'
Handle<Object> iface = Object::New();
^
../IFE.cc:104:42: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
../IFE.cc:105:18: error: 'New' is not a member of 'v8::String'
iface->Set(String::New("name"), String::New(ifs[i].ifname));
^
../IFE.cc:105:39: error: 'New' is not a member of 'v8::String'
iface->Set(String::New("name"), String::New(ifs[i].ifname));
^
../IFE.cc:111:57: error: 'inet_ntop' was not declared in this scope
inet_ntop(AF_INET6, &ifs[i].attr, ipstr, sizeof(ipstr)); \
^
../IFE.cc:116:9: note: in expansion of macro 'SET_IPV6'
SET_IPV6(ip6addr, "ip");
^
../IFE.cc:112:14: error: 'New' is not a member of 'v8::String'
iface->Set(String::New(name), String::New(ipstr)); \
^
../IFE.cc:116:9: note: in expansion of macro 'SET_IPV6'
SET_IPV6(ip6addr, "ip");
^
../IFE.cc:112:33: error: 'New' is not a member of 'v8::String'
iface->Set(String::New(name), String::New(ipstr)); \
^
../IFE.cc:116:9: note: in expansion of macro 'SET_IPV6'
SET_IPV6(ip6addr, "ip");
^
../IFE.cc:118:20: error: 'New' is not a member of 'v8::String'
iface->Set(String::New("prefixlen"), Integer::New(len));
^
../IFE.cc:118:62: error: no matching function for call to 'v8::Integer::New(int&)'
iface->Set(String::New("prefixlen"), Integer::New(len));
^
../IFE.cc:118:62: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../IFE.cc:107:56: error: 'inet_ntop' was not declared in this scope
inet_ntop(AF_INET, &ifs[i].attr, ipstr, sizeof(ipstr)); \
^
../IFE.cc:120:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(ipaddr, "ip");
^
../IFE.cc:108:14: error: 'New' is not a member of 'v8::String'
iface->Set(String::New(name), String::New(ipstr)); \
^
../IFE.cc:120:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(ipaddr, "ip");
^
../IFE.cc:108:33: error: 'New' is not a member of 'v8::String'
iface->Set(String::New(name), String::New(ipstr)); \
^
../IFE.cc:120:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(ipaddr, "ip");
^
../IFE.cc:107:56: error: 'inet_ntop' was not declared in this scope
inet_ntop(AF_INET, &ifs[i].attr, ipstr, sizeof(ipstr)); \
^
../IFE.cc:121:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(bcast, "broadcast");
^
../IFE.cc:108:14: error: 'New' is not a member of 'v8::String'
iface->Set(String::New(name), String::New(ipstr)); \
^
../IFE.cc:121:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(bcast, "broadcast");
^
../IFE.cc:108:33: error: 'New' is not a member of 'v8::String'
iface->Set(String::New(name), String::New(ipstr)); \
^
../IFE.cc:121:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(bcast, "broadcast");
^
../IFE.cc:107:56: error: 'inet_ntop' was not declared in this scope
inet_ntop(AF_INET, &ifs[i].attr, ipstr, sizeof(ipstr)); \
^
../IFE.cc:122:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(netmask, "netmask");
^
../IFE.cc:108:14: error: 'New' is not a member of 'v8::String'
iface->Set(String::New(name), String::New(ipstr)); \
^
../IFE.cc:122:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(netmask, "netmask");
^
../IFE.cc:108:33: error: 'New' is not a member of 'v8::String'
iface->Set(String::New(name), String::New(ipstr)); \
^
../IFE.cc:122:9: note: in expansion of macro 'SET_IPV4'
SET_IPV4(netmask, "netmask");
^
../IFE.cc:127:18: error: 'New' is not a member of 'v8::String'
iface->Set(String::New("mac"), String::New(ipstr));
^
../IFE.cc:127:38: error: 'New' is not a member of 'v8::String'
iface->Set(String::New("mac"), String::New(ipstr));
^
../IFE.cc:128:29: error: no matching function for call to 'v8::Number::New(int&)'
obj->Set(Number::New(i), iface);
^
../IFE.cc:128:29: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
static Local<Number> New(Isolate* isolate, double value);
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
../IFE.cc:131:18: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(obj);
^
../IFE.cc: At global scope:
../IFE.cc:134:31: error: 'Arguments' does not name a type
Handle<Value> IFE::up(const Arguments& args) {
^
../IFE.cc:134:42: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
Handle<Value> IFE::up(const Arguments& args) {
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::up(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../IFE.cc:135:17: error: within this context
HandleScope scope;
^
../IFE.cc:138:31: error: request for member 'Holder' in 'args', which is of non-class type 'const int'
Handle<Object> obj = args.Holder();
^
../IFE.cc:142:29: error: invalid types 'const int[int]' for array subscript
Local<Object> o = args[0]->ToObject();
^
../IFE.cc:143:33: error: 'New' is not a member of 'v8::String'
Local<Value> vname = o->Get(String::New("name"));
^
../IFE.cc:145:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New("name: undefined")));
^
../IFE.cc:145:74: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New("name: undefined")));
^
../IFE.cc:146:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:146:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:166:31: error: 'New' is not a member of 'v8::String'
Local<Value> vip = o->Get(String::New("ip"));
^
../IFE.cc:168:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New("ip: undefined")));
^
../IFE.cc:168:72: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New("ip: undefined")));
^
../IFE.cc:169:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:169:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:173:50: error: 'inet_pton' was not declared in this scope
if(inet_pton(AF_INET, *(ipval), &iface.ipaddr) == 1) {
^
../IFE.cc:153:32: error: 'New' is not a member of 'v8::String'
Local<Value> ovip = o->Get(String::New(name)); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
../IFE.cc:155:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
../IFE.cc:155:75: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
../IFE.cc:156:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
../IFE.cc:156:36: note: candidate is:
return v8::Boolean::New(false); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:161:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(*val))); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
../IFE.cc:161:61: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(*val))); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
../IFE.cc:162:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
../IFE.cc:162:36: note: candidate is:
return v8::Boolean::New(false); \
^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(bcast, "broadcast");
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:153:32: error: 'New' is not a member of 'v8::String'
Local<Value> ovip = o->Get(String::New(name)); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
../IFE.cc:155:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
../IFE.cc:155:75: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
../IFE.cc:156:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
../IFE.cc:156:36: note: candidate is:
return v8::Boolean::New(false); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:161:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(*val))); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
../IFE.cc:161:61: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(*val))); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
../IFE.cc:162:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
../IFE.cc:162:36: note: candidate is:
return v8::Boolean::New(false); \
^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(netmask, "netmask");
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:153:32: error: 'New' is not a member of 'v8::String'
Local<Value> ovip = o->Get(String::New(name)); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
../IFE.cc:155:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
../IFE.cc:155:75: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
../IFE.cc:156:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
../IFE.cc:156:36: note: candidate is:
return v8::Boolean::New(false); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:161:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(*val))); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
../IFE.cc:161:61: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(*val))); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
../IFE.cc:162:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
../IFE.cc:162:36: note: candidate is:
return v8::Boolean::New(false); \
^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
GET_IPV4(network, "network");
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:180:35: error: 'New' is not a member of 'v8::String'
Local<Value> pname = o->Get(String::New("prefixlen"));
^
../IFE.cc:186:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(*ipval)));
^
../IFE.cc:186:63: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(*ipval)));
^
../IFE.cc:187:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:187:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:191:17: error: 'New' is not a member of 'v8::String'
vChr[0] = String::New("error");
^
../IFE.cc:192:17: error: 'New' is not a member of 'v8::String'
vChr[1] = String::New(if_error());
^
../IFE.cc:194:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:194:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:196:33: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(true);
^
../IFE.cc:196:33: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc: At global scope:
../IFE.cc:199:33: error: 'Arguments' does not name a type
Handle<Value> IFE::down(const Arguments& args) {
^
../IFE.cc:199:44: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
Handle<Value> IFE::down(const Arguments& args) {
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::down(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../IFE.cc:200:17: error: within this context
HandleScope scope;
^
../IFE.cc:203:31: error: request for member 'Holder' in 'args', which is of non-class type 'const int'
Handle<Object> obj = args.Holder();
^
../IFE.cc:207:14: error: invalid types 'const int[int]' for array subscript
if(args[0]->IsUndefined()) {
^
../IFE.cc:208:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New("argument undefined"))); \
^
../IFE.cc:208:77: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New("argument undefined"))); \
^
../IFE.cc:209:20: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(Undefined());
^
../IFE.cc:209:36: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return scope.Close(Undefined());
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../IFE.cc:211:30: error: invalid types 'const int[int]' for array subscript
Local<String> ip = args[0]->ToString();
^
../IFE.cc:213:48: error: 'inet_pton' was not declared in this scope
if(inet_pton(AF_INET, *(val), &iface.ipaddr) == 1) {
^
../IFE.cc:220:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(*val)));
^
../IFE.cc:220:61: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(*val)));
^
../IFE.cc:221:20: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(Undefined());
^
../IFE.cc:221:36: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return scope.Close(Undefined());
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../IFE.cc:223:13: error: request for member 'Length' in 'args', which is of non-class type 'const int'
if(args.Length() == 2) {
^
../IFE.cc:224:7: error: 'AsciiValue' is not a member of 'v8::String'
v8::String::AsciiValue val(args[1]);
^
../IFE.cc:224:30: error: expected ';' before 'val'
v8::String::AsciiValue val(args[1]);
^
../IFE.cc:233:17: error: 'New' is not a member of 'v8::String'
vChr[0] = String::New("error");
^
../IFE.cc:234:17: error: 'New' is not a member of 'v8::String'
vChr[1] = String::New(if_error());
^
../IFE.cc:236:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:236:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:238:33: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(true);
^
../IFE.cc:238:33: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc: At global scope:
../IFE.cc:241:36: error: 'Arguments' does not name a type
Handle<Value> IFE::gratarp(const Arguments& args) {
^
../IFE.cc:241:47: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
Handle<Value> IFE::gratarp(const Arguments& args) {
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::gratarp(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../IFE.cc:247:17: error: within this context
HandleScope scope;
^
../IFE.cc:249:29: error: invalid types 'const int[int]' for array subscript
Local<Object> o = args[0]->ToObject();
^
../IFE.cc:250:33: error: 'New' is not a member of 'v8::String'
Local<Value> vname = o->Get(String::New("name"));
^
../IFE.cc:252:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New("name: undefined")));
^
../IFE.cc:252:74: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New("name: undefined")));
^
../IFE.cc:253:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:253:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:259:33: error: 'New' is not a member of 'v8::String'
Local<Value> vmyip = o->Get(String::New("local_ip"));
^
../IFE.cc:261:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New("local_ip: undefined")));
^
../IFE.cc:261:78: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New("local_ip: undefined")));
^
../IFE.cc:262:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:262:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:266:46: error: 'inet_pton' was not declared in this scope
if(inet_pton(AF_INET, *(val_myip), &my_ip) != 1) {
^
../IFE.cc:267:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New(*val_myip)));
^
../IFE.cc:267:66: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New(*val_myip)));
^
../IFE.cc:268:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:268:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:271:32: error: 'New' is not a member of 'v8::String'
Local<Value> vrip = o->Get(String::New("remote_ip"));
^
../IFE.cc:273:43: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New("remote_ip: undefined")));
^
../IFE.cc:273:79: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New("remote_ip: undefined")));
^
../IFE.cc:274:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:274:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:278:44: error: 'inet_pton' was not declared in this scope
if(inet_pton(AF_INET, *(val_rip), &r_ip) != 1) {
^
../IFE.cc:279:39: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::Error(String::New(*val_rip)));
^
../IFE.cc:279:61: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::Error(String::New(*val_rip)));
^
../IFE.cc:280:36: error: no matching function for call to 'v8::Boolean::New(bool)'
return v8::Boolean::New(false);
^
../IFE.cc:280:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../IFE.cc:283:33: error: 'New' is not a member of 'v8::String'
Local<Value> vrmac = o->Get(String::New("remote_mac"));
^
../IFE.cc:301:41: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::Error(String::New("bad mac address")));
^
../IFE.cc:301:72: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::Error(String::New("bad mac address")));
^
../IFE.cc:302:22: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(Undefined());
^
../IFE.cc:302:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return scope.Close(Undefined());
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../IFE.cc:306:13: error: request for member 'Length' in 'args', which is of non-class type 'const int'
if(args.Length() > 1) {
^
../IFE.cc:307:17: error: invalid types 'const int[int]' for array subscript
if(!args[1]->IsNumber()) {
^
../IFE.cc:308:45: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New("Second argument must be a number")));
^
../IFE.cc:308:93: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New("Second argument must be a number")));
^
../IFE.cc:309:22: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(Undefined());
^
../IFE.cc:309:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return scope.Close(Undefined());
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../IFE.cc:311:21: error: invalid types 'const int[int]' for array subscript
count = args[1]->NumberValue();
^
../IFE.cc:314:13: error: request for member 'Length' in 'args', which is of non-class type 'const int'
if(args.Length() > 2) {
^
../IFE.cc:315:17: error: invalid types 'const int[int]' for array subscript
if(!args[2]->IsBoolean()) {
^
../IFE.cc:316:45: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::TypeError(String::New("Third argument must be a boolean")));
^
../IFE.cc:316:93: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::TypeError(String::New("Third argument must be a boolean")));
^
../IFE.cc:317:22: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(Undefined());
^
../IFE.cc:317:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return scope.Close(Undefined());
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../IFE.cc:319:23: error: invalid types 'const int[int]' for array subscript
do_ping = args[2]->BooleanValue();
^
../IFE.cc:321:41: error: 'New' is not a member of 'v8::String'
ThrowException(Exception::Error(String::New("Can't do ping without remote mac")));
^
../IFE.cc:321:89: error: 'ThrowException' was not declared in this scope
ThrowException(Exception::Error(String::New("Can't do ping without remote mac")));
^
../IFE.cc:322:22: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(Undefined());
^
../IFE.cc:322:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return scope.Close(Undefined());
^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../IFE.cc:327:18: error: 'class v8::HandleScope' has no member named 'Close'
return scope.Close(Integer::New(count));
^
../IFE.cc:327:42: error: no matching function for call to 'v8::Integer::New(int&)'
return scope.Close(Integer::New(count));
^
../IFE.cc:327:42: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
In file included from ../IFEheader.h:4:0,
from ../IFE.cc:12:
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In instantiation of 'static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]':
../IFE.cc:139:43: required from here
/root/.node-gyp/0.12.2/src/node_object_wrap.h:55:32: error: 'node::ObjectWrap' is an inaccessible base of 'node::IFE'
return static_cast<T*>(wrap);
^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::New(const int&)':
../IFE.cc:70:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::arpcache(const int&)':
../IFE.cc:92:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::list(const int&)':
../IFE.cc:132:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::up(const int&)':
../IFE.cc:197:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from ../IFEheader.h:4:0,
from ../IFE.cc:12:
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In static member function 'static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]':
/root/.node-gyp/0.12.2/src/node_object_wrap.h:56:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::down(const int&)':
../IFE.cc:239:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::gratarp(const int&)':
../IFE.cc:328:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
IFEBinding.target.mk:87: recipe for target 'Release/obj.target/IFEBinding/IFE.o' failed
gmake: *** [Release/obj.target/IFEBinding/IFE.o] Error 1
gmake: Leaving directory '/node_modules/ife/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /node_modules/ife
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! FreeBSD 9.3-RELEASE
npm ERR! argv "node" "/usr/local/bin/npm" "install" "/tmp/node-ife/"
npm ERR! node v0.12.2
npm ERR! npm v2.9.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ife 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 ife
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
And against node 0.10?
Ya was just trying that now.. I had to compile node from the source since the pkg package is 0.12. it's looking a lot closer to working now:
env CC=gcc48 CXX=g++48 CPP=cpp48 npm install /tmp/node-ife/
> [email protected] install /usr/home/jbw/node_modules/ife
> node-gyp rebuild
gmake: Entering directory '/usr/home/jbw/node_modules/ife/build'
CXX(target) Release/obj.target/IFEBinding/IFE.o
CXX(target) Release/obj.target/IFEBinding/ife-icmp-support.o
CXX(target) Release/obj.target/IFEBinding/ife-bpf.o
In file included from ../ife-bpf.cc:16:0:
/usr/include/netinet/in_var.h:60:16: error: field 'ia_ifa' has incomplete type
struct ifaddr ia_ifa; /* protocol-independent info */
^
/usr/include/netinet/in_var.h:209:18: error: field 'igi_gq' has incomplete type
struct ifqueue igi_gq; /* queue of general query responses */
^
/usr/include/netinet/in_var.h:298:19: error: field 'inm_scq' has incomplete type
struct ifqueue inm_scq; /* queue of pending
^
In file included from /usr/include/netinet/in_var.h:474:0,
from ../ife-bpf.cc:16:
/usr/include/netinet6/in6_var.h:112:16: error: field 'ia_ifa' has incomplete type
struct ifaddr ia_ifa; /* protocol-independent info */
^
/usr/include/netinet6/in6_var.h:610:19: error: field 'in6m_scq' has incomplete type
struct ifqueue in6m_scq; /* queue of pending
^
../ife-bpf.cc: In function 'int if_down(interface*)':
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
../ife-bpf.cc: In function 'int if_up(interface*)':
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
IFEBinding.target.mk:86: recipe for target 'Release/obj.target/IFEBinding/ife-bpf.o' failed
gmake: *** [Release/obj.target/IFEBinding/ife-bpf.o] Error 1
gmake: Leaving directory '/usr/home/jbw/node_modules/ife/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/jbw/node_modules/ife
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
I included net/if_var.h in ife.h and it's getting a little further now:
env CC=gcc48 CXX=g++48 CPP=cpp48 npm install /tmp/node-ife/
> [email protected] install /node_modules/ife
> node-gyp rebuild
gmake: Entering directory '/node_modules/ife/build'
CXX(target) Release/obj.target/IFEBinding/IFE.o
CXX(target) Release/obj.target/IFEBinding/ife-icmp-support.o
CXX(target) Release/obj.target/IFEBinding/ife-bpf.o
../ife-bpf.cc: In function 'int if_down(interface*)':
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
../ife-bpf.cc: In function 'int if_up(interface*)':
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
IFEBinding.target.mk:86: recipe for target 'Release/obj.target/IFEBinding/ife-bpf.o' failed
gmake: *** [Release/obj.target/IFEBinding/ife-bpf.o] Error 1
gmake: Leaving directory '/node_modules/ife/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /node_modules/ife
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
Seems like the above issues are caused by gcc 4.8 .. i will try gcc 4.7
gcc 4.7:
env CC=gcc47 CXX=g++47 CPP=cpp47 npm install /tmp/node-ife/
> [email protected] install /usr/ports/lang/gcc47/node_modules/ife
> node-gyp rebuild
gmake: Entering directory '/usr/ports/lang/gcc47/node_modules/ife/build'
CXX(target) Release/obj.target/IFEBinding/IFE.o
CXX(target) Release/obj.target/IFEBinding/ife-icmp-support.o
CXX(target) Release/obj.target/IFEBinding/ife-bpf.o
../ife-bpf.cc: In function 'int if_down(interface*)':
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
../ife-bpf.cc: In function 'int if_up(interface*)':
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
IFEBinding.target.mk:86: recipe for target 'Release/obj.target/IFEBinding/ife-bpf.o' failed
gmake: *** [Release/obj.target/IFEBinding/ife-bpf.o] Error 1
gmake: Leaving directory '/usr/ports/lang/gcc47/node_modules/ife/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/ports/lang/gcc47/node_modules/ife
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
OK I give up, too much time wasted on this now. If I can be of any further assistance resolving this issue just let me know.