SUSE LINUXでCouchDB1.5.0をコンパイルして、インストールする

1.必要なライブラリ
SpiderMonkey 1.7.0
icu4c 4.2.1
libcurl 7.36.0
ncurses 5.9
openssl 1.0.1g
erlang R16B03 依存 ncurses、openssl
couchDB 1.5.0

2.SpiderMonkey: js-1.7.0.tar.gz
tar
cd
make
make BUILD_OPT=1 JS_DIST=/usr/local -f Makefile.ref export
3.icu4c : icu4c-53_1-src.tar
tar
cd washome/couchdbinstall/icu/src
./configure
make && make install

4.ncurses :ncurses-5.9.tar.gz
tar
cd XX
./configure && make && make install

5.openssl:openssl-1.0.1g.tar.gz
tar
cd
./config -fPIC –prefix=/usr/local/openssl
make && make install
vi etc/ld.so.conf
/usr/local/openssl/lib
export OPENSSL=/usr/local/openssl/bin
export PATH=$OPENSSL:$PATH:$HOME/bin
6.erlang:otp_src_R16B03.tar.gz
tar
./configure –prefix=/usr/local/ –with-ssl=/usr/local/openssl –without-javac
make && make install

7.couchdb:apache-couchdb-1.5.0.tar.gz
tar
./configure –with-js-lib=/usr/local/spidermonkey/lib64 –with-js-include=/usr/local/spidermonkey/include –prefix=/washome/mycouchdb
make && make install

8.couchdbインストールディレクトリetc/couchdb/default.ini のbind ipを修正

Linux

Posted by arkgame