I have tried and failed using both the 1.0.1 source and the 1.1.0 source.

I am using the directions on this wiki page, following the "10.04 and later" path

make fails with the following errors (full make output attached)


gcc -DHAVE_CONFIG_H -I. -I../../..   -D_XOPEN_SOURCE  -L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include -I/opt/local/lib/erlang/usr/include -I/usr/include -I/usr/include/js -I/usr/include/mozjs -I/usr/local/include -I/opt/local/include -I/usr/local/include/js -I/opt/local/include/js -DXP_UNIX   -D_BSD_SOURCE  -DXP_UNIX -DJS_THREADSAFE -I/usr/include/xulrunner- -I/usr/include/xulrunner- -I/usr/include/nspr   -MT couchjs-main.o -MD -MP -MF .deps/couchjs-main.Tpo -c -o couchjs-main.o `test -f 'couch_js/main.c' || echo './'`couch_js/main.c
couch_js/main.c: In function ‘evalcx’:
couch_js/main.c:62:9: warning: assignment makes pointer from integer without a cast
couch_js/main.c: In function ‘execute_script’:

couch_js/main.c:215:5: error: ‘JSScript’ undeclared (first use in this function)

couch_js/main.c:215:5: note: each undeclared identifier is reported only once for each function it appears in
couch_js/main.c:215:15: error: ‘script’ undeclared (first use in this function)
couch_js/main.c: At top level:


Any guidance on getting this build to work? Thanks.