Skip to content

Commit

Permalink
support CouchDB 1.1.1 with SDK 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dch committed Dec 30, 2011
1 parent 8ebea26 commit 094e86c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
18 changes: 3 additions & 15 deletions README.md
Expand Up @@ -233,8 +233,8 @@ The Javascript engine used by CouchDB is Mozilla Spidermonkey v1.8.5 [js185].

Finally we are going to build Apache CouchDB... whew! Recapping, we should have:

* erlang in `/relax/otp_src_R14B03/release/win32` with a copy stashed nearby
* openssl in `/relax/openssl/lib/{lib,ssl}eay32.lib`
* erlang in `/relax/otp_src_R14B04/release/win32` with a copy stashed nearby
* openssl in `/relax/openssl/{bin,lib}/{lib,ssl}eay32.{bin,lib}`
* libcurl in `/relax/curl/lib/libcurl.lib`
* js library in `/relax/js-1.8.5/js/src/dist/{bin,lib}/mozjs185-1.0.*`
* icu in `/relax/icu/bin/icu*.dll`
Expand All @@ -244,15 +244,7 @@ There are two relevant scripts for building CouchDB:
* `couchdb_config.sh` for CouchDB 1.1.1 or newer, supporting js185 only
* `couchdb_build.sh` which compiles, and packages, CouchDB

There are still some patches required against both released and trunk versions.
For CouchDB 1.1.0, the patch from [COUCHDB-1152] is required.

cd /relax && tar xzf bits/apache-couchdb-1.1.0.tar.gz
cd apache-couchdb-1.1.0
patch -p0 < ../bits/COUCHDB-1152_move_to_ICU-4_4_2.patch
/relax/bin/couchdb_config_js180.sh
/relax/bin/couchdb_build.sh

There are still some patches required against both released and master versions.
For CouchDB 1.1.1 or newer, two small filthy hacks are required, which
is needed until `configure.ac` avoids detection of cygwin's curl and avoids
assuming that help2man will be useful on Windows.
Expand All @@ -266,7 +258,3 @@ assuming that help2man will be useful on Windows.
mv /usr/bin/help2man /usr/bin/help2man.dist
./bootstrap
/relax/bin/couchdb_build.sh


[COUCHDB-1152]: https://issues.apache.org/jira/secure/attachment/12481030/COUCHDB-1152_move_to_ICU-4_4_2.patch
[COUCHDB-1197]: https://issues.apache.org/jira/secure/attachment/12493303/COUCHDB-1197_libtool_sed_hackery.patch
2 changes: 1 addition & 1 deletion bits/md5sums.txt
@@ -1,4 +1,4 @@
907b763d3a14b6649bf0371ffa75a36b *apache-couchdb-1.1.0.tar.gz
cd126219b9cb69a4c521abd6960807a6 *apache-couchdb-1.1.1.tar.gz
aafbb7a9773aae4ae06a7304197843ff *cmake-2.8.6-win32-x86.zip
be464adce11266492a2ccc8fc6b53c90 *curl-7.23.1.zip
eb0d2dcca17c0c05480cbb114dffb83f *icu4c-4_6_1-src.zip
Expand Down
3 changes: 1 addition & 2 deletions downloads.md
Expand Up @@ -51,5 +51,4 @@ http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
################################################################################
## CouchDB source
## not auto redirect but original link is from http://www.apache.org/dyn/closer.cgi?path=/couchdb/1.x.y/apache-couchdb-1.x.y.tar.gz
http://ftp.wayne.edu/apache/couchdb/1.0.3/apache-couchdb-1.0.3.tar.gz
http://ftp.wayne.edu/apache/couchdb/1.1.0/apache-couchdb-1.1.0.tar.gz
http://ftp.wayne.edu/apache/couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz

0 comments on commit 094e86c

Please sign in to comment.