couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "InstallingOnWindows" by JonathanFeinberg
Date Tue, 19 Aug 2008 16:06:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JonathanFeinberg:
http://wiki.apache.org/couchdb/InstallingOnWindows

------------------------------------------------------------------------------
  
  Please update this guide as needed, we aim to collect feedback and roll the procedure into
the official build.
  
+ These instructions currently refer to paths as they'd be set up in a default installation
of Erlang OTP 5.6.3, with the couchDB distribution installed at
+ 
+ {{{
+ C:\Program Files\erl5.6.3\lib\couchdb-0.8.1
+ }}}
  
  == Dependencies ==
  
@@ -15, +20 @@

    * [http://www.openssl.org/ OpenSSL]
    * [http://www.icu-project.org/ ICU] (Tested with [http://www.icu-project.org/download/4.0.html
binary build of 4.0 release].)
    * [http://www.mozilla.org/js/spidermonkey/ SpiderMonkey]
+ 
+ == Building SpiderMonkey ==
+ 
+ The SpiderMonkey distribution's Windows build stuff is broken. See [http://blog.endflow.net/?p=55&lang=en
this blog post] for a working js.mak file. Don't bother trying to import the project file
into a contemporary Visual Studio; just use the Visual Studio command line tools with the
js.mak file referred to above.
+ 
+ CouchDB uses a custom JavaScript driver, which provides unicode and buffering improvements.
In the !SpiderMonkey distribution, rename src/js.c to src/js.c.bak, and copy {{C:\Program
Files\erl5.6.3\lib\couchdb-0.8.1\src\couchdb\couch_js.c}} from the CouchDB distribution to
src/js.c in the !SpiderMonkey distribution. Before running nmake, edit the new js.c and change
{{#include <jsapi.h>}} to {{#include "jsapi.h"}}.
+ 
+ Once you've built js.exe and js32.dll, copy them both to
+ 
+ {{{
+ C:\Program Files\erl5.6.3\erts-5.6.3\bin
+ }}}
  
  == Base Installation ==
  
@@ -134, +151 @@

  
  BindAddress=127.0.0.1
  
- DocumentRoot=C:/Program Files/erl5.6.3/lib/couchdb-0.8.0/share/www
+ DocumentRoot=C:/Program Files/erl5.6.3/lib/couchdb-0.8.1/share/www
  
  LogFile=C:/Path/To/Log/Directory
  
- UtilDriverDir=C:/Program Files/erl5.6.3/lib/couchdb-0.8.0/priv/
+ UtilDriverDir=C:/Program Files/erl5.6.3/lib/couchdb-0.8.1/priv/
  
  LogLevel=info
  
  [Couch Query Servers]
  
- javascript=couch_js "C:/Program Files/erl5.6.3/lib/couchdb-0.8.0/share/server/main.js"
+ javascript=couch_js "C:/Program Files/erl5.6.3/lib/couchdb-0.8.1/share/server/main.js"
  }}}
  
  Make sure that the `DbRootDir` exists and that the `LogFile` can be created.

Mime
View raw message