標籤:
按照這個步驟裝了兩台,在SUSE上安裝是沒有問題了,打包的話還在研究,查了一下光拷貝編譯後檔案有些問題。
軟體版本及依賴:
1.SpiderMonkey 1.7.0
2.icu4c 4.2.1
3.libcurl 7.36.0
4.ncurses 5.9
5.openssl 1.0.1g
6.erlang R16B03 依賴 ncurses、openssl
7.couchDB 1.5.0 依賴上述所有
SpiderMonkey: js-1.7.0.tar.gz
1 tar2 cd 3 make 4 make BUILD_OPT=1 JS_DIST=/usr/local -f Makefile.ref export
icu4c : icu4c-53_1-src.tar
1 tar2 cd washome/couchdbinstall/icu/src 3 ./configure 4 make && make install
libcurl:curl-7.36.0.tar.gz
1 tar2 cd XX3 ./configure && make && make install
ncurses :ncurses-5.9.tar.gz
1 tar2 cd XX3 ./configure && make && make install
openssl:openssl-1.0.1g.tar.gz
1 tar2 cd3 ./config -fPIC --prefix=/usr/local/openssl 4 make && make install 5 vi etc/ld.so.conf 6 /usr/local/openssl/lib7 export OPENSSL=/usr/local/openssl/bin 8 export PATH=$OPENSSL:$PATH:$HOME/bin
erlang:otp_src_R16B03.tar.gz
1 tar2 ./configure --prefix=/usr/local/ --with-ssl=/usr/local/openssl --without-javac3 make && make install
couchdb:apache-couchdb-1.5.0.tar.gz
1 tar2 ./configure --with-js-lib=/usr/local/spidermonkey/lib64 --with-js-include=/usr/local/spidermonkey/include --prefix=/washome/mycouchdb 3 make && make install
修改couchdb安裝目錄etc/couchdb/default.ini
中的bind ip
如報錯libicu.s0.53不能開啟對象 則export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/spidermonkey/lib
或設定環境變數
在SUSE LINUX上編譯安裝CouchDB1.5.0