当前位置: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. <span style="color: #008080;">1</span> <span style="color: #0000ff;">tar</span>
  2. <span style="color: #008080;">2</span> cd washome/couchdbinstall/icu/<span style="color: #000000;">src
  3. </span><span style="color: #008080;">3</span> ./<span style="color: #000000;">configure
  4. </span><span style="color: #008080;">4</span> <span style="color: #0000ff;">make</span> && <span style="color: #0000ff;">make</span> <span style="color: #0000ff;">install</span>

 


libcurl:curl-7.36.0.tar.gz 

  1. <span style="color: #008080;">1</span> <span style="color: #0000ff;">tar</span>
  2. <span style="color: #008080;">2</span> <span style="color: #000000;">cd XX
  3. </span><span style="color: #008080;">3</span> ./configure && <span style="color: #0000ff;">make</span> && <span style="color: #0000ff;">make</span> <span style="color: #0000ff;">install</span>

 


ncurses :ncurses-5.9.tar.gz 

  1. <span style="color: #008080;">1</span> <span style="color: #0000ff;">tar</span>
  2. <span style="color: #008080;">2</span> <span style="color: #000000;">cd XX
  3. </span><span style="color: #008080;">3</span> ./configure && <span style="color: #0000ff;">make</span> && <span style="color: #0000ff;">make</span> <span style="color: #0000ff;">install</span>

 


openssl:openssl-1.0.1g.tar.gz 

  1. <span style="color: #008080;">1</span> <span style="color: #0000ff;">tar</span>
  2. <span style="color: #008080;">2</span> <span style="color: #000000;">cd
  3. </span><span style="color: #008080;">3</span> ./config -fPIC --prefix=/usr/local/<span style="color: #000000;">openssl
  4. </span><span style="color: #008080;">4</span> <span style="color: #0000ff;">make</span> && <span style="color: #0000ff;">make</span> <span style="color: #0000ff;">install</span>
  5. <span style="color: #008080;">5</span> <span style="color: #0000ff;">vi</span> etc/<span style="color: #0000ff;">ld</span><span style="color: #000000;">.so.conf
  6. </span><span style="color: #008080;">6</span> /usr/local/openssl/<span style="color: #000000;">lib
  7. </span><span style="color: #008080;">7</span> export OPENSSL=/usr/local/openssl/<span style="color: #000000;">bin
  8. </span><span style="color: #008080;">8</span> export PATH=$OPENSSL:$PATH:$HOME/bin

 


erlang:otp_src_R16B03.tar.gz 

  1. <span style="color: #008080;">1</span> <span style="color: #0000ff;">tar</span>
  2. <span style="color: #008080;">2</span> ./configure --prefix=/usr/local/ --with-ssl=/usr/local/openssl --without-<span style="color: #000000;">javac
  3. </span><span style="color: #008080;">3</span> <span style="color: #0000ff;">make</span> && <span style="color: #0000ff;">make</span> <span style="color: #0000ff;">install</span>

 


couchdb:apache-couchdb-1.5.0.tar.gz 

  1. <span style="color: #008080;">1</span> <span style="color: #0000ff;">tar</span>
  2. <span style="color: #008080;">2</span> ./configure --with-js-lib=/usr/local/spidermonkey/lib64 --with-js-include=/usr/local/spidermonkey/include --prefix=/washome/<span style="color: #000000;">mycouchdb
  3. </span><span style="color: #008080;">3</span> <span style="color: #0000ff;">make</span> && <span style="color: #0000ff;">make</span> <span style="color: #0000ff;">install</span>

 

修改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

标签:

人气教程排行