baniol / kindle-my-clippings

kindle My Clippings.txt parser to JSON / html
MIT License
40 stars 10 forks source link

"configure error" when installing on windows where python installed from enthought distribution (EPD) #1

Closed pckujawa closed 11 years ago

pckujawa commented 11 years ago

I'm new to node and not sure if this is an error in node itself, but I noticed it when trying to install your module. I'm on win 7 32-bit with python 2.7 and node 0.8.9. Below is the full commandline history and the debug log is at https://dl.dropbox.com/u/313647/npm-debug.zip

C:\Users\Pat>npm install kindle-my-clippings npm http GET https://registry.npmjs.org/kindle-my-clippings npm http 200 https://registry.npmjs.org/kindle-my-clippings npm http GET https://registry.npmjs.org/kindle-my-clippings/-/kindle-my-clippings-0.1.0.tgz npm http 200 https://registry.npmjs.org/kindle-my-clippings/-/kindle-my-clippings-0.1.0.tgz npm http GET https://registry.npmjs.org/jade/0.27.7 npm http GET https://registry.npmjs.org/dateformat/1.0.4-1.2.3 npm http GET https://registry.npmjs.org/jquery/1.8.3 npm http 200 https://registry.npmjs.org/dateformat/1.0.4-1.2.3 npm http GET https://registry.npmjs.org/dateformat/-/dateformat-1.0.4-1.2.3.tgz npm http 200 https://registry.npmjs.org/jquery/1.8.3 npm http 200 https://registry.npmjs.org/jade/0.27.7 npm http GET https://registry.npmjs.org/jquery/-/jquery-1.8.3.tgz npm http GET https://registry.npmjs.org/jade/-/jade-0.27.7.tgz npm http 200 https://registry.npmjs.org/dateformat/-/dateformat-1.0.4-1.2.3.tgz npm http 200 https://registry.npmjs.org/jquery/-/jquery-1.8.3.tgz npm http 200 https://registry.npmjs.org/jade/-/jade-0.27.7.tgz npm http GET https://registry.npmjs.org/jsdom npm http GET https://registry.npmjs.org/htmlparser/1.7.6 npm http GET https://registry.npmjs.org/xmlhttprequest npm http GET https://registry.npmjs.org/location/0.0.1 npm http GET https://registry.npmjs.org/navigator npm http GET https://registry.npmjs.org/contextify npm http GET https://registry.npmjs.org/commander/0.6.1 npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/coffee-script npm http 200 https://registry.npmjs.org/location/0.0.1 npm http GET https://registry.npmjs.org/location/-/location-0.0.1.tgz npm http 200 https://registry.npmjs.org/htmlparser/1.7.6 npm http GET https://registry.npmjs.org/htmlparser/-/htmlparser-1.7.6.tgz npm http 200 https://registry.npmjs.org/xmlhttprequest npm http GET https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz npm http 200 https://registry.npmjs.org/navigator npm http 200 https://registry.npmjs.org/commander/0.6.1 npm http GET https://registry.npmjs.org/navigator/-/navigator-1.0.1.tgz npm http GET https://registry.npmjs.org/commander/-/commander-0.6.1.tgz npm http 200 https://registry.npmjs.org/contextify npm http GET https://registry.npmjs.org/contextify/-/contextify-0.1.4.tgz npm http 200 https://registry.npmjs.org/mkdirp npm http 200 https://registry.npmjs.org/location/-/location-0.0.1.tgz npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz npm http 200 https://registry.npmjs.org/htmlparser/-/htmlparser-1.7.6.tgz npm http 200 https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz npm http 200 https://registry.npmjs.org/coffee-script npm http 200 https://registry.npmjs.org/navigator/-/navigator-1.0.1.tgz npm http 200 https://registry.npmjs.org/commander/-/commander-0.6.1.tgz npm http 200 https://registry.npmjs.org/contextify/-/contextify-0.1.4.tgz npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz npm http 200 https://registry.npmjs.org/jsdom npm http GET https://registry.npmjs.org/jsdom/-/jsdom-0.2.19.tgz npm http 200 https://registry.npmjs.org/jsdom/-/jsdom-0.2.19.tgz npm http GET https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/cssom npm http GET https://registry.npmjs.org/cssstyle npm http 200 https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/bindings/-/bindings-1.0.0.tgz npm http 200 https://registry.npmjs.org/cssom npm http GET https://registry.npmjs.org/cssom/-/cssom-0.2.5.tgz npm http 200 https://registry.npmjs.org/cssstyle npm http GET https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.3.tgz npm http 200 https://registry.npmjs.org/request npm http 200 https://registry.npmjs.org/bindings/-/bindings-1.0.0.tgz npm http GET https://registry.npmjs.org/request/-/request-2.14.0.tgz npm http 200 https://registry.npmjs.org/cssom/-/cssom-0.2.5.tgz

contextify@0.1.4 install C:\Users\Pat\node_modules\kindle-my-clippings\node_modules\jquery\node_mo dules\contextify node-gyp rebuild

npm http 200 https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.3.tgz

C:\Users\Pat\node_modules\kindle-my-clippings\node_modules\jquery\node_modules\contextify>node "C:\P rogram Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild npm http 200 https://registry.npmjs.org/request/-/request-2.14.0.tgz gyp ERR! configure error gyp ERR! stack Error: Command failed: Traceback (most recent call last): gyp ERR! stack File "", line 1, in gyp ERR! stack File "C:\Python27\lib\platform.py", line 1467, in python_version gyp ERR! stack return _sys_version()[1] gyp ERR! stack File "C:\Python27\lib\platform.py", line 1422, in _sys_version gyp ERR! stack repr(sys_version)) gyp ERR! stack ValueError: failed to parse CPython sys.version: '2.7.2 |EPD 7.1-2 (32-bit)| (default , Jul 3 2011, 15:13:59) [MSC v.1500 32 bit (Intel)]' gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:540:15) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17) gyp ERR! stack at maybeClose (child_process.js:638:16) gyp ERR! stack at Process._handle.onexit (child_process.js:680:5) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\ node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Pat\node_modules\kindle-my-clippings\node_modules\jquery\node_modules\contexti fy gyp ERR! node -v v0.8.9 gyp ERR! node-gyp -v v0.6.8 gyp ERR! not ok npm ERR! Error: ENOENT, open 'C:\Users\Pat\node_modules\kindle-my-clippings\node_modules\jquery\node _modules\jsdom\node_modules\cssstyle\lib\properties\borderLeft.js' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\n pm\bin\npm-cli.js" "install" "kindle-my-clippings" npm ERR! cwd C:\Users\Pat npm ERR! node -v v0.8.9 npm ERR! npm -v 1.1.61 npm ERR! path C:\Users\Pat\node_modules\kindle-my-clippings\node_modules\jquery\node_modules\jsdom\n ode_modules\cssstyle\lib\properties\borderLeft.js npm ERR! code ENOENT npm ERR! errno 34 npm ERR! contextify@0.1.4 install: node-gyp rebuild npm ERR! cmd "/c" "node-gyp rebuild" failed with 1 npm ERR! npm ERR! Failed at the contextify@0.1.4 install script. npm ERR! This is most likely a problem with the contextify 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 contextify npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\n pm\bin\npm-cli.js" "install" "kindle-my-clippings" npm ERR! cwd C:\Users\Pat npm ERR! node -v v0.8.9 npm ERR! npm -v 1.1.61 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\Pat\npm-debug.log npm ERR! not ok code 0

C:\Users\Pat>

baniol commented 11 years ago

Looks like an issue with jquery under windows. Replaced it with Underscore. It should work now.