Skip to content

Commit

Permalink
Improve Windows build docs.
Browse files Browse the repository at this point in the history
Backport of 1099479 from trunk.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1099481 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
davisp committed May 4, 2011
1 parent de717d3 commit 2931117
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions INSTALL.Windows
Expand Up @@ -8,7 +8,7 @@ Dependencies

You will need the following installed:

* Erlang OTP (>=R12B5) (http://erlang.org/)
* Erlang OTP (=14B01) (http://erlang.org/)
* ICU (http://icu.sourceforge.net/)
* OpenSSL (http://www.openssl.org/)
* Mozilla SpiderMonkey (1.8) (http://www.mozilla.org/js/spidermonkey/)
Expand Down Expand Up @@ -50,12 +50,17 @@ You must check that:

* The `which cl` command points to the Microsoft compiler.

If you do not do this, the ones found in `/usr/bin` may be used instead.
* The `which mc` command points to the Microsoft message compiler.

* The `which mt` command points to the Microsoft manifest tool.

If you do not do this, the build may fail due to Cygwin ones found in `/usr/bin`
being used instead.

Building Erlang
---------------

You must include OpenSSL.
You must include Win32 OpenSSL.

However, you can skip the GUI tools by running:

Expand Down Expand Up @@ -89,7 +94,7 @@ Remember to use `/cygdrive/c/` instead of `c:/` as the directory prefix.

To set up your path, run:

export PATH=$ERL_TOP/release/win32/erts-5.7.2/bin:$PATH
export PATH=$ERL_TOP/release/win32/erts-5.8.2/bin:$PATH

If everything was successful, you should be ready to build CouchDB.

Expand All @@ -101,8 +106,8 @@ Building CouchDB
Once you have satisfied the dependencies you should run:

./configure \
--with-js-include=/cygdrive/c/path_to_seamonkey_include \
--with-js-lib=/cygdrive/c/path_to_seamonkey_lib \
--with-js-include=/cygdrive/c/path_to_spidermonkey_include \
--with-js-lib=/cygdrive/c/path_to_spidermonkey_lib \
--with-win32-icu-binaries=/cygdrive/c/path_to_icu_binaries_root \
--with-erlang=$ERL_TOP/release/win32/usr/include \
--with-win32-curl=/cygdrive/c/path/to/curl/root/directory \
Expand Down Expand Up @@ -145,4 +150,4 @@ To check that everything has worked, point your web browser to:

http://127.0.0.1:5984/_utils/index.html

From here you should run the test suite.
From here you should run the test suite in either Firefox 3.6+ or Safari 4+.

0 comments on commit 2931117

Please sign in to comment.