Skip to content

Instantly share code, notes, and snippets.

@tisba
Created November 1, 2010 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tisba/658333 to your computer and use it in GitHub Desktop.
Save tisba/658333 to your computer and use it in GitHub Desktop.
npm install qunit
npm info it worked if it ends with ok
npm info using npm@0.2.5-1
npm info install qunit@0.0.4
npm info preinstall qunit@0.0.4
npm info install qunit@0.0.4
cd ./deps/jscoverage/ && ./configure && make
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i386-apple-darwin10.4.0
checking host system type... i386-apple-darwin10.4.0
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/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... no, consider installing GNU libiconv
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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... yes
checking for gethostbyname_r... no
checking for inet_aton... yes
checking for strndup... no
checking for vasprintf... yes
checking for asprintf... yes
checking for MultiByteToWideChar... no
-ne
configure: WARNING: neither iconv nor Windows character encoding conversion functions found
configure: WARNING: only ASCII will be supported
-ne
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
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
Making all in js
make -f Makefile.ref DISABLE_JIT=1 OBJROOT=obj BUILD_OPT=1
Makefile.ref:61: disabling JIT per build specification
cd editline; make -f Makefile.ref all
make[5]: Nothing to be done for `all'.
make -f Makefile.ref ./obj/libjs.a ./obj/libjs.dylib ./obj/js
Makefile.ref:61: disabling JIT per build specification
make[5]: `obj/libjs.a' is up to date.
make[5]: `obj/libjs.dylib' is up to date.
make[5]: `obj/js' is up to date.
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Ijs -Ijs/obj -DXP_UNIX -g -O2 -MT encoding.o -MD -MP -MF .deps/encoding.Tpo -c -o encoding.o encoding.c
mv -f .deps/encoding.Tpo .deps/encoding.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Ijs -Ijs/obj -DXP_UNIX -g -O2 -MT highlight.o -MD -MP -MF .deps/highlight.Tpo -c -o highlight.o highlight.c
In file included from js/jscntxt.h:49,
from highlight.h:23,
from highlight.c:22:
js/jsatom.h:69: error: size of array ‘arg’ is negative
In file included from js/jsgc.h:48,
from js/jscntxt.h:52,
from highlight.h:23,
from highlight.c:22:
js/jsbit.h:210: error: size of array ‘arg’ is negative
make[3]: *** [highlight.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [jscoverage] Error 2
npm info qunit@0.0.4 Failed to exec install script
npm ERR! install failed Error: qunit@0.0.4 install: `make install`
npm ERR! install failed `sh` failed with 2
npm ERR! install failed at ChildProcess.<anonymous> (/usr/local/Cellar/npm/0.2.5-1/libexec/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:772:9
npm info install failed rollback
npm info not installed qunit,0.0.4
npm info install failed rolled back
npm ERR! Error: qunit@0.0.4 install: `make install`
npm ERR! `sh` failed with 2
npm ERR! at ChildProcess.<anonymous> (/usr/local/Cellar/npm/0.2.5-1/libexec/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:772:9
npm ERR!
npm ERR! Failed at the qunit@0.0.4 install script.
npm ERR! This is most likely a problem with the qunit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make install
npm ERR! You can get their info via:
npm ERR! npm owner ls qunit
npm ERR! There may be additional logging output above.
npm not ok
npm install qunit 1.69s user 2.12s system 65% cpu 5.831 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment