Author: davisp Date: Wed May 4 15:08:12 2011 New Revision: 1099481 URL: http://svn.apache.org/viewvc?rev=1099481&view=rev Log: Improve Windows build docs. Backport of 1099479 from trunk. Modified: couchdb/branches/1.0.x/ (props changed) couchdb/branches/1.0.x/INSTALL.Windows couchdb/branches/1.0.x/etc/default/couchdb (props changed) Propchange: couchdb/branches/1.0.x/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed May 4 15:08:12 2011 @@ -6,4 +6,4 @@ /couchdb/branches/list-iterator:782292-784593 /couchdb/branches/tail_header:775760-778477 /couchdb/tags/0.10.0:825400 -/couchdb/trunk:984170,984178,984214,984228,984237,984241,984501,991073,1045203,1083714,1095557,1095581,1097300 +/couchdb/trunk:984170,984178,984214,984228,984237,984241,984501,991073,1045203,1083714,1095557,1095581,1097300,1099479 Modified: couchdb/branches/1.0.x/INSTALL.Windows URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/INSTALL.Windows?rev=1099481&r1=1099480&r2=1099481&view=diff ============================================================================== --- couchdb/branches/1.0.x/INSTALL.Windows (original) +++ couchdb/branches/1.0.x/INSTALL.Windows Wed May 4 15:08:12 2011 @@ -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/) @@ -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: @@ -89,7 +94,7 @@ Remember to use `/cygdrive/c/` instead o 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. @@ -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 \ @@ -145,4 +150,4 @@ To check that everything has worked, poi 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+. Propchange: couchdb/branches/1.0.x/etc/default/couchdb ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed May 4 15:08:12 2011 @@ -6,5 +6,5 @@ /couchdb/branches/list-iterator/etc/default/couchdb:782292-784593 /couchdb/branches/tail_header/etc/default/couchdb:775760-778477 /couchdb/tags/0.10.0/etc/default/couchdb:825400 -/couchdb/trunk/etc/default/couchdb:984170,984178,984214,984228,984237,984241,984501,991073,1045203,1083714,1095557,1095581,1097300 +/couchdb/trunk/etc/default/couchdb:984170,984178,984214,984228,984237,984241,984501,991073,1045203,1083714,1095557,1095581,1097300,1099479 /incubator/couchdb/trunk/etc/default/couchdb:642419-694440