Skip to content

Instantly share code, notes, and snippets.

@gjohnson
Created October 2, 2011 18:00
Show Gist options
  • Save gjohnson/1257708 to your computer and use it in GitHub Desktop.
Save gjohnson/1257708 to your computer and use it in GitHub Desktop.
vbench err
> [email protected] preinstall /usr/share/www/analytics-engine.com/application/node_modules/vbench/node_modules/canvas
> node-waf configure build
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 gif : not found
Checking for library jpeg : yes
Checking for cairo : yes
'configure' finished successfully (0.122s)
Waf: Entering directory `/usr/share/www/analytics-engine.com/application/node_modules/vbench/node_modules/canvas/build'
[1/9] cxx: src/Canvas.cc -> build/default/src/Canvas_1.o
[2/9] cxx: src/CanvasRenderingContext2d.cc -> build/default/src/CanvasRenderingContext2d_1.o
[3/9] cxx: src/color.cc -> build/default/src/color_1.o
[4/9] cxx: src/CanvasGradient.cc -> build/default/src/CanvasGradient_1.o
[5/9] cxx: src/Image.cc -> build/default/src/Image_1.o
[6/9] cxx: src/ImageData.cc -> build/default/src/ImageData_1.o
[7/9] cxx: src/PixelArray.cc -> build/default/src/PixelArray_1.o
[8/9] cxx: src/init.cc -> build/default/src/init_1.o
../src/Image.cc: In member function ‘cairo_status_t Image::loadJPEGFromBuffer(uint8_t*, unsigned int)’:
../src/Image.cc:562: error: ‘jpeg_mem_src’ was not declared in this scope
Waf: Leaving directory `/usr/share/www/analytics-engine.com/application/node_modules/vbench/node_modules/canvas/build'
Build failed: -> task failed (err #1):
{task: cxx Image.cc -> Image_1.o}
npm ERR! error installing [email protected] Error: [email protected] preinstall: `node-waf configure build`
npm ERR! error installing [email protected] `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing [email protected] at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17)
npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.js:192:12)
npm ERR! error installing [email protected] Error: [email protected] preinstall: `node-waf configure build`
npm ERR! error installing [email protected] `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing [email protected] at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17)
npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.js:192:12)
npm ERR! [email protected] preinstall: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the canvas 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 canvas
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.32.26-175.fc12.x86_64
npm ERR! command "node" "/usr/local/bin/npm" "install" "vbench"
npm ERR! cwd /usr/share/www/analytics-engine.com/application
npm ERR! node -v v0.4.7
npm ERR! npm -v 1.0.27
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/share/www/analytics-engine.com/application/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment