I tried to install SpiderMonkey following the instructions at: http://wiki.apache.org/couchdb/Installing_SpiderMonkey
but failed with the results below.
I'm running OS X 10.7.3.
The errors look like a number of variables were improperly typed, but is this
an installer failure? A source code failure? Or operator error!?
Any insight would be appreciated.
Thanks.
Kurt
> % make BUILD_OPT=1 -f Makefile.ref
> cd editline; make -f Makefile.ref all
> make[1]: Nothing to be done for `all'.
> make -f Makefile.ref Darwin_OPT.OBJ/libjs.a Darwin_OPT.OBJ/libjs.dylib
> Darwin_OPT.OBJ/js
> c++ -o Darwin_OPT.OBJ/jsapi.o -c -Wall -Wno-format -MMD -DXP_UNIX -DSVR4
> -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DAVMPLUS_IA32
> -DAVMPLUS_UNIX -UDEBUG -DNDEBUG -UDEBUG_kurt -DJS_TRACER -DFEATURE_NANOJIT
> -DEDITLINE -Inanojit -I. -IDarwin_OPT.OBJ -Os -fno-exceptions -fno-rtti
> -fstrict-aliasing -Wstrict-aliasing=3 jsapi.cpp
> warning: unknown warning option '-Wstrict-aliasing=3'
> [-Wunknown-warning-option]
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:338:
> ./jsinttypes.h:118:2: error: #error "couldn't find exact-width integer types"
> #error "couldn't find exact-width integer types"
> ^
> ./jsinttypes.h:139:2: error: #error "couldn't find pointer-sized integer
> types"
> #error "couldn't find pointer-sized integer types"
> ^
> In file included from jsapi.cpp:49:
> ./jstypes.h:383:9: error: unknown type name 'JSUintPtr'; did you mean
> 'JSUintn'?
> typedef JSUintPtr JSUptrdiff;
> ^~~~~~~~~
> JSUintn
> ./jstypes.h:353:22: note: 'JSUintn' declared here
> typedef unsigned int JSUintn;
> ^
> ./jstypes.h:408:9: error: unknown type name 'JSUint8'; did you mean 'JSUintn'?
> typedef JSUint8 JSPackedBool;
> ^~~~~~~
> JSUintn
> ./jstypes.h:353:22: note: 'JSUintn' declared here
> typedef unsigned int JSUintn;
> ^
> ./jstypes.h:413:9: error: unknown type name 'JSIntPtr'
> typedef JSIntPtr JSWord;
> ^
> ./jstypes.h:414:9: error: unknown type name 'JSUintPtr'; did you mean
> 'JSUintn'?
> typedef JSUintPtr JSUword;
> ^~~~~~~~~
> JSUintn
> ./jstypes.h:353:22: note: 'JSUintn' declared here
> typedef unsigned int JSUintn;
> ^
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:416:
> ./jsotypes.h:77:9: error: unknown type name 'JSUint64'; did you mean
> 'JSUintn'?
> typedef JSUint64 uint64;
> ^~~~~~~~
> JSUintn
> ./jstypes.h:353:22: note: 'JSUintn' declared here
> typedef unsigned int JSUintn;
> ^
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:416:
> ./jsotypes.h:78:9: error: unknown type name 'JSUint32'; did you mean
> 'JSUintn'?
> typedef JSUint32 uint32;
> ^~~~~~~~
> JSUintn
> ./jstypes.h:353:22: note: 'JSUintn' declared here
> typedef unsigned int JSUintn;
> ^
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:416:
> ./jsotypes.h:79:9: error: unknown type name 'JSUint16'; did you mean
> 'JSUintn'?
> typedef JSUint16 uint16;
> ^~~~~~~~
> JSUintn
> ./jstypes.h:353:22: note: 'JSUintn' declared here
> typedef unsigned int JSUintn;
> ^
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:416:
> ./jsotypes.h:80:9: error: unknown type name 'JSUint8'; did you mean 'JSUintn'?
> typedef JSUint8 uint8;
> ^~~~~~~
> JSUintn
> ./jstypes.h:353:22: note: 'JSUintn' declared here
> typedef unsigned int JSUintn;
> ^
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:416:
> ./jsotypes.h:103:9: error: unknown type name 'JSInt64'; did you mean 'JSIntn'?
> typedef JSInt64 int64;
> ^~~~~~~
> JSIntn
> ./jstypes.h:352:13: note: 'JSIntn' declared here
> typedef int JSIntn;
> ^
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:416:
> ./jsotypes.h:106:9: error: unknown type name 'JSInt32'; did you mean 'JSIntn'?
> typedef JSInt32 int32;
> ^~~~~~~
> JSIntn
> ./jstypes.h:352:13: note: 'JSIntn' declared here
> typedef int JSIntn;
> ^
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:416:
> ./jsotypes.h:107:9: error: unknown type name 'JSInt16'; did you mean 'JSIntn'?
> typedef JSInt16 int16;
> ^~~~~~~
> JSIntn
> ./jstypes.h:352:13: note: 'JSIntn' declared here
> typedef int JSIntn;
> ^
> In file included from jsapi.cpp:49:
> In file included from ./jstypes.h:416:
> ./jsotypes.h:108:9: error: unknown type name 'JSInt8'; did you mean 'JSIntn'?
> typedef JSInt8 int8;
> ^~~~~~
> JSIntn
> ./jstypes.h:352:13: note: 'JSIntn' declared here
> typedef int JSIntn;
> ^
> In file included from jsapi.cpp:50:
> ./jsstdint.h:64:9: error: unknown type name 'JSInt8'; did you mean 'JSIntn'?
> typedef JSInt8 int8_t;
> ^~~~~~
> JSIntn
> ./jstypes.h:352:13: note: 'JSIntn' declared here
> typedef int JSIntn;
> ^
> In file included from jsapi.cpp:50:
> ./jsstdint.h:64:17: error: typedef redefinition with different types
> ('JSIntn' (aka 'int') vs 'signed char')
> typedef JSInt8 int8_t;
> ^
> /usr/include/i386/types.h:78:24: note: previous definition is here
> typedef __signed char int8_t;
> ^
> In file included from jsapi.cpp:50:
> ./jsstdint.h:65:9: error: unknown type name 'JSInt16'; did you mean 'JSIntn'?
> typedef JSInt16 int16_t;
> ^~~~~~~
> JSIntn
> ./jstypes.h:352:13: note: 'JSIntn' declared here
> typedef int JSIntn;
> ^
> In file included from jsapi.cpp:50:
> ./jsstdint.h:65:17: error: typedef redefinition with different types
> ('JSIntn' (aka 'int') vs 'short')
> typedef JSInt16 int16_t;
> ^
> /usr/include/i386/types.h:83:17: note: previous definition is here
> typedef short int16_t;
> ^
> In file included from jsapi.cpp:50:
> ./jsstdint.h:66:9: error: unknown type name 'JSInt32'; did you mean 'JSIntn'?
> typedef JSInt32 int32_t;
> ^~~~~~~
> JSIntn
> ./jstypes.h:352:13: note: 'JSIntn' declared here
> typedef int JSIntn;
> ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 1 warning and 20 errors generated.
> make[1]: *** [Darwin_OPT.OBJ/jsapi.o] Error 1
> make: *** [all] Error 2
signature.asc
Description: Message signed with OpenPGP using GPGMail
