在SUSE LINUX上編譯安裝CouchDB1.5.0

來源:互聯網
上載者:User

標籤:

按照這個步驟裝了兩台,在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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.