erictj/node-clucene — Issue #16: Build breaks when building against node 0.6.x source
Author: ctide
Created: 2011-12-02 13:20:36+00:00
State: open

Checking for node prefix : ok /usr/local/Cellar/node/0.6.2
Checking for library clucene-core : yes
'configure' finished successfully (0.271s)
Waf: Entering directory /Users/steven/node_modules/clucene/build'
[1/2] cxx: src/clucene_bindings.cpp -> build/Release/src/clucene_bindings_1.o
../src/clucene_bindings.cpp: In static member function ‘static v8::Handle Lucene::AddDocumentAsync(const v8::Arguments&)’:
../src/clucene_bindings.cpp:286: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/clucene_bindings.cpp:286: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/clucene_bindings.cpp: In static member function ‘static v8::Handle Lucene::DeleteDocumentAsync(const v8::Arguments&)’:
../src/clucene_bindings.cpp:431: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/clucene_bindings.cpp:431: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/clucene_bindings.cpp: In static member function ‘static v8::Handle Lucene::DeleteDocumentsByTypeAsync(const v8::Arguments&)’:
../src/clucene_bindings.cpp:530: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/clucene_bindings.cpp:530: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/clucene_bindings.cpp: In static member function ‘static v8::Handle Lucene::SearchAsync(const v8::Arguments&)’:
../src/clucene_bindings.cpp:642: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/clucene_bindings.cpp:642: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/clucene_bindings.cpp: In static member function ‘static v8::Handle Lucene::OptimizeAsync(const v8::Arguments&)’:
../src/clucene_bindings.cpp:774: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/clucene_bindings.cpp:774: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
Waf: Leaving directory/Users/steven/node_modules/clucene/build'
Build failed: -> task failed (err #1):
{task: cxx clucene_bindings.cpp -> clucene_bindings_1.o}
npm ERR! error installing clucene@0.2.3 Error: clucene@0.2.3 install: node-waf configure build
npm ERR! error installing clucene@0.2.3 sh "-c" "node-waf configure build" failed with 1
npm ERR! error installing clucene@0.2.3 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing clucene@0.2.3 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing clucene@0.2.3 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! clucene@0.2.3 install: node-waf configure build
npm ERR! sh "-c" "node-waf configure build" failed with 1
npm ERR!
npm ERR! Failed at the clucene@0.2.3 install script.
npm ERR! This is most likely a problem with the clucene package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls clucene
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "clucene"
npm ERR! cwd /Users/steven
npm ERR! node -v v0.4.9
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/steven/npm-debug.log
npm not ok
papas-macintosh:~ steven$

See https://github.com/LockerProject/Locker/issues/467 for more details