visionmedia / expresso

use mocha
http://visionmedia.github.com/expresso
759 stars 89 forks source link

trouble installing expresso via npm on joyent node smartmachine #164

Closed billwscott closed 12 years ago

billwscott commented 12 years ago

Trying to install expresso npm install expresso on my joyent cloud machine (node smart machine).

Here is the dump. [node@0c77a395-2c21-4300-b957-453e71449695 ~]$ npm install expresso npm http GET https://registry.npmjs.org/expresso npm http 304 https://registry.npmjs.org/expresso npm http GET https://registry.npmjs.org/expresso/0.9.2 npm http 304 https://registry.npmjs.org/expresso/0.9.2

expresso@0.9.2 preinstall /home/node/lib/node_modules/expresso make deps/jscoverage/node-jscoverage

cd deps/jscoverage && ./configure && make && mv jscoverage node-jscoverage checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/local/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i386-pc-solaris2.11 checking host system type... i386-pc-solaris2.11 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * _inbuf, size_t inbytesleft, char * outbuf, size_t outbytesleft); checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /opt/local/bin/grep checking for egrep... /opt/local/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking whether byte ordering is bigendian... no checking for getaddrinfo... no checking for gethostbyname_r... no checking for inet_aton... no checking for strndup... yes checking for vasprintf... yes checking for asprintf... yes checking for MultiByteToWideChar... no configure: creating ./config.status config.status: creating Makefile config.status: creating make-dist.sh config.status: creating make-bin-dist.sh config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands make[1]: Entering directory /home/node/lib/node_modules/expresso/deps/jscoverage' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Ijs -Ijs/obj -DXP_UNIX -g -O2 -MT generate-resources.o -MD -MP -MF .deps/generate-resources.Tpo -c -o generate-resources.o generate-resources.c mv -f .deps/generate-resources.Tpo .deps/generate-resources.Po gcc -std=gnu99 -Ijs -Ijs/obj -DXP_UNIX -g -O2 -o generate-resources generate-resources.o ./generate-resources jscoverage-help.txt jscoverage-server-help.txt jscoverage.jsm jscoverage.manifest jscoverage.xul jscoverage-overlay.js jscoverage.html jscoverage.css jscoverage-ie.css jscoverage-highlight.css jscoverage.js report.js jscoverage-throbber.gif > resources.c make all-recursive make[2]: Entering directory/home/node/lib/node_modules/expresso/deps/jscoverage' Making all in js make[3]: Entering directory /home/node/lib/node_modules/expresso/deps/jscoverage/js' make -f Makefile.ref DISABLE_JIT=1 OBJROOT=obj BUILD_OPT=1 make[4]: Entering directory/home/node/lib/node_modules/expresso/deps/jscoverage/js' config.mk:167: ref-config/SunOS5.11_i86pc.mk: No such file or directory Makefile.ref:58: NANOJIT_ARCH not defined in config/SunOS5.11_i86pc.mk, JIT disabled make[4]: _* No rule to make target ref-config/SunOS5.11_i86pc.mk'. Stop. make[4]: Leaving directory/home/node/lib/node_modules/expresso/deps/jscoverage/js' make[3]: * [all] Error 2 make[3]: Leaving directory /home/node/lib/node_modules/expresso/deps/jscoverage/js' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/node/lib/node_modules/expresso/deps/jscoverage' make[1]: *\ [all] Error 2 make[1]: Leaving directory `/home/node/lib/node_modules/expresso/deps/jscoverage' make: * [deps/jscoverage/node-jscoverage] Error 2 npm ERR! error installing expresso@0.9.2

npm ERR! expresso@0.9.2 preinstall: make deps/jscoverage/node-jscoverage npm ERR! sh "-c" "make deps/jscoverage/node-jscoverage" failed with 2 npm ERR! npm ERR! Failed at the expresso@0.9.2 preinstall script. npm ERR! This is most likely a problem with the expresso package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! make deps/jscoverage/node-jscoverage npm ERR! You can get their info via: npm ERR! npm owner ls expresso npm ERR! There is likely additional logging output above. npm ERR! npm ERR! System SunOS 5.11 npm ERR! command "/opt/nodejs/v0.6/bin/node" "/home/node/local/nodejs/bin/npm" "install" "expresso" npm ERR! cwd /home/node npm ERR! node -v v0.6.8 npm ERR! npm -v 1.1.0-2 npm ERR! code ELIFECYCLE npm ERR! message expresso@0.9.2 preinstall: make deps/jscoverage/node-jscoverage npm ERR! message sh "-c" "make deps/jscoverage/node-jscoverage" failed with 2 npm ERR! errno {} npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/node/npm-debug.log npm not ok

kkaefer commented 12 years ago

You should be able to install it when you remove the dependency on node-jscoverage before running npm install. If this is for a new project, I recommend using mocha instead.