Skip to content

Instantly share code, notes, and snippets.

@andrewschaaf
Created December 25, 2010 15:30
Show Gist options
  • Save andrewschaaf/754913 to your computer and use it in GitHub Desktop.
Save andrewschaaf/754913 to your computer and use it in GitHub Desktop.
npm info it worked if it ends with ok
npm info using npm@0.2.8-1
npm info using node@v0.3.2
npm info fetch http://registry.npmjs.org/compress/-/compress-0.1.8.tgz
npm info preinstall compress@0.1.8
npm info install compress@0.1.8
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for library z : yes
'configure' finished successfully (2.091s)
Waf: Entering directory `/usr/local/lib/node/.npm/compress/0.1.8/package/build'
[1/2] cxx: src/compress.cc -> build/default/src/compress_1.o
In file included from /usr/local/include/node/node.h:6,
from ../src/compress.cc:1:
/usr/local/include/node/eio.h:175: error: comma at end of enumerator list
../src/zlib.h: In constructor 'ZipLib<Processor>::Request::Request(ZipLib<Processor>*, v8::Local<v8::Value>, v8::Local<v8::Function>) [with Processor = GzipImpl]':
../src/zlib.h:69: instantiated from 'static ZipLib<Processor>::Request* ZipLib<Processor>::Request::Write(ZipLib<Processor>*, v8::Local<v8::Value>, v8::Local<v8::Function>) [with Processor = GzipImpl]'
../src/zlib.h:207: instantiated from 'static v8::Handle<v8::Value> ZipLib<Processor>::Write(const v8::Arguments&) [with Processor = GzipImpl]'
../src/zlib.h:142: instantiated from 'static void ZipLib<Processor>::Initialize(v8::Handle<v8::Object>) [with Processor = GzipImpl]'
../src/compress.cc:17: instantiated from here
../src/zlib.h:50: error: 'class node::Buffer' has no member named 'data'
../src/zlib.h:50: error: 'class node::Buffer' has no member named 'length'
../src/zlib.h: In constructor 'ZipLib<Processor>::Request::Request(ZipLib<Processor>*, v8::Local<v8::Value>, v8::Local<v8::Function>) [with Processor = GunzipImpl]':
../src/zlib.h:69: instantiated from 'static ZipLib<Processor>::Request* ZipLib<Processor>::Request::Write(ZipLib<Processor>*, v8::Local<v8::Value>, v8::Local<v8::Function>) [with Processor = GunzipImpl]'
../src/zlib.h:207: instantiated from 'static v8::Handle<v8::Value> ZipLib<Processor>::Write(const v8::Arguments&) [with Processor = GunzipImpl]'
../src/zlib.h:142: instantiated from 'static void ZipLib<Processor>::Initialize(v8::Handle<v8::Object>) [with Processor = GunzipImpl]'
../src/compress.cc:18: instantiated from here
../src/zlib.h:50: error: 'class node::Buffer' has no member named 'data'
../src/zlib.h:50: error: 'class node::Buffer' has no member named 'length'
Waf: Leaving directory `/usr/local/lib/node/.npm/compress/0.1.8/package/build'
Build failed: -> task failed (err #1):
{task: cxx compress.cc -> compress_1.o}
cp: ./build/default/compress-bindings.node: No such file or directory
npm info compress@0.1.8 Failed to exec install script
npm ERR! install failed Error: compress@0.1.8 install: `./build.sh`
npm ERR! install failed `sh` failed with 1
npm ERR! install failed at ChildProcess.<anonymous> (/usr/local/lib/node/.npm/npm/0.2.8-1/package/lib/utils/exec.js:24:18)
npm ERR! install failed at ChildProcess.emit (events.js:34:17)
npm ERR! install failed at ChildProcess.onexit (child_process.js:164:12)
npm info install failed rollback
npm info not installed compress,0.1.8
npm info install failed rolled back
npm ERR! Error: compress@0.1.8 install: `./build.sh`
npm ERR! `sh` failed with 1
npm ERR! at ChildProcess.<anonymous> (/usr/local/lib/node/.npm/npm/0.2.8-1/package/lib/utils/exec.js:24:18)
npm ERR! at ChildProcess.emit (events.js:34:17)
npm ERR! at ChildProcess.onexit (child_process.js:164:12)
npm ERR!
npm ERR! Failed at the compress@0.1.8 install script.
npm ERR! This is most likely a problem with the compress package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./build.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls compress
npm ERR! There may be additional logging output above.
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment