简体   繁体   English

使用build_couchDB构建CouchDB

[英]Building CouchDB with build_couchDB

I'm attempting to build and run CouchDB following the instructions at https://github.com/jhs/build-couchdb . 我正在尝试按照https://github.com/jhs/build-couchdb上的说明构建和运行CouchDB。 I am able to build successfully, but when I try to run CouchDB I first receive an error about a bad symbol lookup in a crypto library. 我能够成功构建,但是当我尝试运行CouchDB时,我首先收到一个有关密码库中错误的符号查找的错误。 Every subsequent time I run it I get the following error: 以后每次运行它时,都会出现以下错误:

Apache CouchDB 1.6.0 (LogLevel=info) is starting. Apache CouchDB 1.6.0(LogLevel = info)已启动。

{"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/couchdb/build/etc/couchdb/default.ini","/couchdb/build/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,uuids,{undef,[{crypto,rand_bytes",[]},{couch_uuids,new_prefix,0,[{file,"/couchdb/dependencies/couchdb/src/couchdb/couch_uuids.erl"},{line,84}]},{couch_uuids,state,0,[{file,"/couchdb/dependencies/couchdb/src/couchdb/couch_uuids.erl"},{line,100}]},{couch_uuids,init,1,[{file,"/couchdb/dependencies/couchdb/src/couchdb/couch_uuids.erl"},{line,50}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}}}}}}},[{couch_server_sup,start_server,1,[{file,"/couchdb/dependencies/couchdb/src/couchdb/couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,269}]}]}}}}}},[{couch,start,0,[{file,"/co {“初始化在do_boot中终止”,{{badmatch,{错误,{bad_return,{{couch_app,启动,[正常,[“ / couchdb / build / etc / couchdb / default.ini”,“ // couchdb / build / etc等/couchdb/local.ini“]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,uuids,{undef,[{crypto,rand_bytes”,[ ]},{couch_uuids,new_prefix,0,[{file,“ / couchdb / dependencies / couchdb / src / couchdb / couch_uuids.erl”},{line,84}]},{couch_uuids,state,0,[{file ,“ / couchdb / dependencies / couchdb / src / couchdb / couch_uuids.erl”},{line,100}]},{couch_uuids,init,1,[{file,“ / couchdb / dependencies / couchdb / src / couchdb / couch_uuids.erl“},{line,50}]},{gen_server,init_it,6,[{file,” gen_server.erl“},{line,304}]},{proc_lib,init_p_do_apply,3,[{file ,“ proc_lib.erl”},{line,239}]}}}}}}}}}},[{couch_server_sup,start_server,1,[{file,“ / couchdb / dependencies / couchdb / src / couchdb / couch_server_sup。 erl“},{line,98}]},{application_master,start_it_old,4,[{file,” application_master.erl“},{line,269}]}}}}}}}}}},[{couch,start ,0,[{file,“ / co uchdb/dependencies/couchdb/src/couchdb/couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}} uchdb / dependencies / couchdb / src / couchdb / couch.erl“},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

I installed all of the dependencies listed on the github page as well as the dependencies listed on Apache's installation guide . 我安装了github页面上列出的所有依赖项以及Apache的安装指南中列出的依赖项。 Additionally, I have rebuilt with the option to not strip down erlang/otp 另外,我重新构建了不剥离erlang / otp的选项

rake otp_keep="*"

I am running on CentOS 6.6 我在CentOS 6.6上运行

I ended up not using build-couchdb, but followed the instructions from the Apache wiki on installing couchdb . 我最终没有使用build-couchdb,但是遵循了Apache Wiki中关于安装ouchdb的指示。 I had to set permissions as explained on the CouchDB guide , but it all worked out just fine. 我必须按照CouchDB指南中的说明设置权限,但是一切都很好。

This has been the best way I could figure out how to install CouchDB on Redhat/CentOS RHEL5/RHEL6. 这是我弄清楚如何在Redhat / CentOS RHEL5 / RHEL6上安装CouchDB的最好方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM