A "sudo port install curl" cleared up the curl_rule issue. -Justin
On Wed, Sep 2, 2009 at 10:49 PM, Justin Walgran <[email protected]> wrote: > I managed to get ./configure to complete by remembering to pass the --with* > switches. > Now I have a curl error when I make couchdb > > gcc -DHAVE_CONFIG_H -I. -I../.. -L/usr/local/spidermonkey/lib > -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/local/spidermonkey/include > -DXP_UNIX -I/opt/local/include -g -O2 -MT couchjs-couch_js.o -MD -MP -MF > .deps/couchjs-couch_js.Tpo -c -o couchjs-couch_js.o `test -f 'couch_js.c' || > echo './'`couch_js.c > In file included from /opt/local/include/curl/curl.h:36, > from couch_js.c:21: > /opt/local/include/curl/curlrules.h:134: error: size of array > ‘__curl_rule_01__’ is negative > make[3]: *** [couchjs-couch_js.o] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > Googling for the curl_rule_01 points to an issue with 64 bit but I am > unsure how to resolve it. > > - Justin > > > > On Wed, Sep 2, 2009 at 10:28 PM, Justin Walgran <[email protected]>wrote: > >> I have the same problem. From the couchdb source dir >> $ ./configure >> ... >> ... >> checking for JS_NewContext in -lmozjs... no >> checking for JS_NewContext in -ljs... no >> checking for JS_NewContext in -ljs3250... no >> checking for JS_NewContext in -ljs32... no >> configure: error: Could not find the js library. >> >> Is the Mozilla SpiderMonkey library installed? >> >> Following the will written instructions on the wiki [1] does not help. >> >> Have other snow leoparders built successfully from source? >> >> [1] http://wiki.apache.org/couchdb/Installing_on_OSX >> >> >> On Wed, Sep 2, 2009 at 11:50 AM, Trevor Turk <[email protected]>wrote: >> >>> The Spidermonkey part of these installation instructions don't work for >>> me: >>> >>> http://wiki.apache.org/couchdb/Installing_on_OSX >>> >>> $ sudo ranlib /usr/local/spidermonkey/lib/libjs.a >>> ranlib: file: /usr/local/spidermonkey/lib/libjs.a(jslock.o) has no >>> symbols >>> >>> Has anyone had luck with this? I don't know what to do. >>> >>> Thanks! >>> - Trevor >>> >> >> >
