Created
November 25, 2010 15:57
-
-
Save jfsiii/715562 to your computer and use it in GitHub Desktop.
Attempted to install canvas 0.3.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jfsiii@web165 node_flot]$ uname -a | |
Linux web165.webfaction.com 2.6.18-194.17.1.el5PAE #1 SMP Wed Sep 29 13:31:51 EDT 2010 i686 i686 i386 GNU/Linux | |
[jfsiii@web165 node_flot]$ npm install canvas | |
npm info it worked if it ends with ok | |
npm info using npm@0.2.8-1 | |
npm info using node@v0.2.5 | |
npm info preinstall canvas@0.3.1 | |
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 /home/jfsiii | |
Checking for library jpeg : yes | |
Checking for cairo : yes | |
'configure' finished successfully (0.065s) | |
Waf: Entering directory `/home/jfsiii/lib/node/.npm/canvas/0.3.1/package/build' | |
[1/9] cxx: src/ImageData.cc -> build/default/src/ImageData_1.o | |
[2/9] cxx: src/color.cc -> build/default/src/color_1.o | |
[3/9] cxx: src/init.cc -> build/default/src/init_1.o | |
[4/9] cxx: src/Canvas.cc -> build/default/src/Canvas_1.o | |
[5/9] cxx: src/CanvasRenderingContext2d.cc -> build/default/src/CanvasRenderingContext2d_1.o | |
[6/9] cxx: src/CanvasGradient.cc -> build/default/src/CanvasGradient_1.o | |
[7/9] cxx: src/PixelArray.cc -> build/default/src/PixelArray_1.o | |
[8/9] cxx: src/Image.cc -> build/default/src/Image_1.o | |
../src/color.cc:186: warning: converting to non-pointer type ‘uint32_t’ from NULL | |
../src/color.cc: In function ‘int32_t rgba_from_rgb_string(const char*, short int*)’: | |
../src/color.cc:312: error: ‘strnstr’ was not declared in this scope | |
In file included from ../src/init.cc:9: | |
../src/Image.h:64:7: warning: no newline at end of file | |
../src/color.cc: In function ‘int32_t rgba_from_rgba_string(const char*, short int*)’: | |
../src/color.cc:330: error: ‘strnstr’ was not declared in this scope | |
../src/color.cc:352: warning: passing ‘float’ for argument 4 to ‘int32_t rgba_from_rgba(uint8_t, uint8_t, uint8_t, uint8_t)’ | |
../src/color.cc: In function ‘int32_t rgba_from_string(const char*, short int*)’: | |
../src/color.cc:404: error: ‘strnstr’ was not declared in this scope | |
../src/color.cc:406: error: ‘strnstr’ was not declared in this scope | |
In file included from ../src/Image.cc:9: | |
../src/Image.h:64:7: warning: no newline at end of file | |
In file included from ../src/CanvasRenderingContext2d.cc:12: | |
../src/Point.h:19:30: warning: no newline at end of file | |
In file included from ../src/CanvasRenderingContext2d.cc:13: | |
../src/Image.h:64:7: warning: no newline at end of file | |
../src/Image.cc: In member function ‘cairo_status_t Image::loadSurface()’: | |
../src/Image.cc:244: warning: enumeration value ‘UNKNOWN’ not handled in switch | |
Waf: Leaving directory `/home/jfsiii/lib/node/.npm/canvas/0.3.1/package/build' | |
Build failed: -> task failed (err #1): | |
{task: cxx color.cc -> color_1.o} | |
npm info canvas@0.3.1 Failed to exec preinstall script | |
npm ERR! install failed Error: canvas@0.3.1 preinstall: `node-waf configure build` | |
npm ERR! install failed `sh` failed with 1 | |
npm ERR! install failed at ChildProcess.<anonymous> (/home/jfsiii/lib/node/.npm/npm/0.2.8-1/package/lib/utils/exec.js:24:18) | |
npm ERR! install failed at ChildProcess.emit (events:27:15) | |
npm ERR! install failed at ChildProcess.onexit (child_process:168:12) | |
npm ERR! install failed at node.js:773:9 | |
npm info install failed rollback | |
npm info not installed canvas,0.3.1 | |
npm info install failed rolled back | |
npm ERR! Error: canvas@0.3.1 preinstall: `node-waf configure build` | |
npm ERR! `sh` failed with 1 | |
npm ERR! at ChildProcess.<anonymous> (/home/jfsiii/lib/node/.npm/npm/0.2.8-1/package/lib/utils/exec.js:24:18) | |
npm ERR! at ChildProcess.emit (events:27:15) | |
npm ERR! at ChildProcess.onexit (child_process:168:12) | |
npm ERR! at node.js:773:9 | |
npm ERR! | |
npm ERR! Failed at the canvas@0.3.1 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 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