diff options
author | Mark Hammond <mhammond@apache.org> | 2009-10-17 03:30:05 +0000 |
---|---|---|
committer | Mark Hammond <mhammond@apache.org> | 2009-10-17 03:30:05 +0000 |
commit | ad18ea644ee7650425320736b10a48a8cbd0d340 (patch) | |
tree | 4df70f314eee22dc3f7bb266c3f1b295143b0f45 /README | |
parent | 2df3fabfdc2039504295219c88e0d160f76c1afb (diff) |
have 'make dist' build a windows installer on windows
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826173 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'README')
-rw-r--r-- | README | 29 |
1 files changed, 26 insertions, 3 deletions
@@ -370,21 +370,44 @@ Now we need to run a complicated configure command-line. --with-js-lib=/cygdrive/c/path_to_seamonkey_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 + --with-win32-curl=/cygdrive/c/path/to/curl/root/directory \ + --with-openssl-bin-dir=c:/openssl/bin \ + --with-msvc-redist-dir=c:/dir/with/vcredist_platform_executable \ --prefix=$ERL_TOP/release/win32 +Relax, then relax some more, then get a beer and relax some more; the +above command may take many many minutes to complete... + Note that all paths must be in cygwin format. Those starting with $ERL_TOP can be entered literally, assuming ERL_TOP is set as described above. +Notes: + When building the installer, the necessary openssl binaries are pulled from + the directory pointed to --with-openssl-bin-dir. + +Now we can build it and "install" it into the $ERL_TOP/release/win32 (or +wherever you set --prefix to above) directory: + + $ make install + Relax on your new couch: - The $ERL_TOP/win32/release directory is now ready to .zip up, be packaged + The $ERL_TOP/release/win32 directory is now ready to .zip up, be packaged by an installer, etc. To test it in-place, execute: - $ $ERL_TOP/win32/release/bin/couchdb.bat + $ $ERL_TOP/release/win32/bin/couchdb.bat and everything should work fine. +To create an installer, execute: + + $ make dist + +and look for etc/windows/setup-couch*.exe. Note - only do this after +a clean build, not after testing in-place - otherwise your test database and +log files will be shipped! + + Additional Notes: Building erlang: |