cp spawnkillable/couchspawnkillable.sh couchspawnkillable chmod +x couchspawnkillable gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -DXP_UNIX -I/Users/fdmanana/sm185/install/include -O2 -g -O2 -MT couchjs-http.o -MD -MP -MF .deps/couchjs-http.Tpo -c -o couchjs-http.o `test -f 'couch_js/http.c' || echo './'`couch_js/http.c couch_js/http.c:19:19: error: jsapi.h: No such file or directory In file included from couch_js/http.c:21: couch_js/utf8.h:16: error: expected ‘)’ before ‘*’ token couch_js/utf8.h:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from couch_js/http.c:22: couch_js/util.h:23: error: expected specifier-qualifier-list before ‘JSString’ couch_js/util.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token couch_js/util.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token couch_js/util.h:30: error: expected ‘)’ before ‘*’ token couch_js/util.h:31: error: expected ‘)’ before ‘*’ token couch_js/util.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘couch_load_funcs’ couch_js/http.c:111: error: expected specifier-qualifier-list before ‘jsint’ couch_js/http.c:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘go’ couch_js/http.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token couch_js/http.c:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_ctor’ couch_js/http.c:171: error: expected ‘)’ before ‘*’ token couch_js/http.c:183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_open’ couch_js/http.c:255: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_set_hdr’ couch_js/http.c:315: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_send’ couch_js/http.c:343: error: expected ‘)’ before ‘*’ token couch_js/http.c:356: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘http_uri’ couch_js/http.c:395: error: expected specifier-qualifier-list before ‘JSContext’ couch_js/http.c:419: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘go’ couch_js/http.c: In function ‘send_body’: couch_js/http.c:569: error: ‘CurlState’ has no member named ‘sendlen’ couch_js/http.c:569: error: ‘CurlState’ has no member named ‘sent’ couch_js/http.c:573: error: ‘CurlState’ has no member named ‘sent_once’ couch_js/http.c:574: error: ‘CurlState’ has no member named ‘sent_once’ couch_js/http.c:577: error: ‘CurlState’ has no member named ‘sent’ couch_js/http.c:578: error: ‘CurlState’ has no member named ‘sent_once’ couch_js/http.c:579: error: ‘CurlState’ has no member named ‘sendlen’ couch_js/http.c:584: error: ‘CurlState’ has no member named ‘sendbuf’ couch_js/http.c:584: error: ‘CurlState’ has no member named ‘sent’ couch_js/http.c:584: error: ‘CurlState’ has no member named ‘sendbuf’ couch_js/http.c:584: error: ‘CurlState’ has no member named ‘sent’ couch_js/http.c:585: error: ‘CurlState’ has no member named ‘sent’ couch_js/http.c: In function ‘seek_body’: couch_js/http.c:596: error: ‘CurlState’ has no member named ‘sent’ couch_js/http.c:597: error: ‘CurlState’ has no member named ‘sent’ couch_js/http.c: In function ‘recv_header’: couch_js/http.c:607: error: ‘JSString’ undeclared (first use in this function) couch_js/http.c:607: error: (Each undeclared identifier is reported only once couch_js/http.c:607: error: for each function it appears in.) couch_js/http.c:607: error: ‘hdr’ undeclared (first use in this function) couch_js/http.c:608: error: ‘jsuint’ undeclared (first use in this function) couch_js/http.c:608: error: expected ‘;’ before ‘hdrlen’ couch_js/http.c:609: error: ‘jsval’ undeclared (first use in this function) couch_js/http.c:609: error: expected ‘;’ before ‘hdrval’ couch_js/http.c:618: error: ‘HTTPData’ has no member named ‘last_status’ couch_js/http.c:620: error: ‘CurlState’ has no member named ‘resp_headers’ cc1: warnings being treated as errors couch_js/http.c:620: warning: implicit declaration of function ‘JS_NewArrayObject’ couch_js/http.c:620: error: ‘CurlState’ has no member named ‘cx’ couch_js/http.c:621: error: ‘CurlState’ has no member named ‘resp_headers’ couch_js/http.c:634: warning: implicit declaration of function ‘dec_string’ couch_js/http.c:634: error: ‘CurlState’ has no member named ‘cx’ couch_js/http.c:639: warning: implicit declaration of function ‘JS_GetArrayLength’ couch_js/http.c:639: error: ‘CurlState’ has no member named ‘cx’ couch_js/http.c:639: error: ‘CurlState’ has no member named ‘resp_headers’ couch_js/http.c:639: error: ‘hdrlen’ undeclared (first use in this function) couch_js/http.c:643: error: ‘hdrval’ undeclared (first use in this function) couch_js/http.c:643: warning: implicit declaration of function ‘STRING_TO_JSVAL’ couch_js/http.c:644: warning: implicit declaration of function ‘JS_SetElement’ couch_js/http.c:644: error: ‘CurlState’ has no member named ‘cx’ couch_js/http.c:644: error: ‘CurlState’ has no member named ‘resp_headers’ couch_js/http.c: In function ‘recv_body’: couch_js/http.c:658: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:659: error: ‘CurlState’ has no member named ‘recvlen’ couch_js/http.c:660: error: ‘CurlState’ has no member named ‘read’ couch_js/http.c:661: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:661: warning: implicit declaration of function ‘JS_malloc’ couch_js/http.c:661: error: ‘CurlState’ has no member named ‘cx’ couch_js/http.c:661: error: ‘CurlState’ has no member named ‘recvlen’ couch_js/http.c:664: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:669: error: ‘CurlState’ has no member named ‘recvlen’ couch_js/http.c:669: error: ‘CurlState’ has no member named ‘read’ couch_js/http.c:669: error: ‘CurlState’ has no member named ‘recvlen’ couch_js/http.c:670: warning: implicit declaration of function ‘JS_realloc’ couch_js/http.c:670: error: ‘CurlState’ has no member named ‘cx’ couch_js/http.c:670: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:670: error: ‘CurlState’ has no member named ‘recvlen’ couch_js/http.c:670: warning: assignment makes pointer from integer without a cast couch_js/http.c:672: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:674: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:674: error: ‘CurlState’ has no member named ‘read’ couch_js/http.c:674: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:674: error: ‘CurlState’ has no member named ‘read’ couch_js/http.c:674: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:674: error: ‘CurlState’ has no member named ‘read’ couch_js/http.c:674: error: ‘CurlState’ has no member named ‘recvbuf’ couch_js/http.c:674: error: ‘CurlState’ has no member named ‘read’ couch_js/http.c:675: error: ‘CurlState’ has no member named ‘read’ couch_js/http.c: At top level: couch_js/http.c:679: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token make[4]: *** [couchjs-http.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2