ICIJ / node-tika

Apache Tika bridge for Node.js. Text and metadata extraction, language detection and more.
MIT License
138 stars 36 forks source link

Dependency java from 0.7.0. to 0.8.0 #17

Closed sylvainmouquet closed 7 years ago

sylvainmouquet commented 7 years ago

With debian 8.6 and openjdk-7-jdk i have this error :

make: *** [Release/obj.target/nodejavabridge_bindings/src/javaObject.o] Error 1

make: Leaving directory '/node_modules/java/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 3.10.0-327.10.1.el7.x86_64 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /node_modules/java gyp ERR! node -v v7.2.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm info lifecycle java@0.7.2~install: Failed to exec install script npm ERR! Linux 3.10.0-327.10.1.el7.x86_64 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v7.2.0 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE

npm ERR! java@0.7.2 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the java@0.7.2 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the java 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 information on how to open an issue for this project with: npm ERR! npm bugs java npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls java 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`

With java 0.8.0 the problem is solved

sylvainmouquet commented 7 years ago

@mattcg it's possible to generate a release with this request ?

jadaradix commented 7 years ago

Hey @sylvainmouquet, I just did this in PR #19 and saw yours just after. I'm going to e-mail Matthew directly about merging either of these PRs. Sorry for the overlap on the work. We are testing out our platform on node.js LTS as well as 7.5 and this was a blocker.

sylvainmouquet commented 7 years ago

Ok i remove my pull request