当前位置:Gxlcms > 数据库问题 > 在SUSE LINUX上编译安装CouchDB1.5.0

在SUSE LINUX上编译安装CouchDB1.5.0

时间:2021-07-01 10:21:17 帮助过:2人阅读

tar 2 cd 3 make 4 make BUILD_OPT=1 JS_DIST=/usr/local -f Makefile.ref export

 


icu4c : icu4c-53_1-src.tar 

1 tar
2 cd washome/couchdbinstall/icu/src 
3 ./configure 
4 make && make install

 


libcurl:curl-7.36.0.tar.gz 

1 tar
2 cd XX
3 ./configure && make && make install

 


ncurses :ncurses-5.9.tar.gz 

1 tar
2 cd XX
3 ./configure && make && make install

 


openssl:openssl-1.0.1g.tar.gz 

1 tar
2 cd
3 ./config -fPIC --prefix=/usr/local/openssl 
4 make && make install 
5 vi etc/ld.so.conf   
6 /usr/local/openssl/lib
7 export OPENSSL=/usr/local/openssl/bin 
8 export PATH=$OPENSSL:$PATH:$HOME/bin

 


erlang:otp_src_R16B03.tar.gz 

1 tar
2 ./configure --prefix=/usr/local/ --with-ssl=/usr/local/openssl --without-javac
3 make && make install

 


couchdb:apache-couchdb-1.5.0.tar.gz 

1 tar
2 ./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

标签:

人气教程排行