jhs / build-couchdb

Batteries-included CouchDB build system
68 stars 17 forks source link

Build on Fedora 13 failed #6

Closed thomo closed 14 years ago

thomo commented 14 years ago

zlib is missed and rake has the wrong version (see below) - how to update these? (gem install zlib failed with "no such file to load -- zlib (LoadError)" :-| )

ThoMo


[thomo@f13 build-couchdb]$ . ./env.sh Confirmed build: /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/bin/ruby Confirmed build: /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/bin/gem /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/lib/ruby/1.9.1/rubygems/package.rb:10:in require': no such file to load -- zlib (LoadError) from /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/lib/ruby/1.9.1/rubygems/package.rb:10:in<top (required)>' from /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/lib/ruby/1.9.1/rubygems/format.rb:9:in require' .... from /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/bin/gem:24:in

' /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/bin/rake 0.8.3 is not version 0.8.7 [thomo@f13 build-couchdb]$

jhs commented 14 years ago

Hi, Thomo. Would you please update and try the latest master? Note, there is no more env.sh. You just run rake. See the new README.md for Fedora instructions.

Thanks!

thomo commented 14 years ago

Hi jhs. Now I can compile it but running 'couchdb' does output nothing on stdout, no log files ...

[thomo@f13 build-couchdb]$ build/bin/couchdb

^C

[thomo@f13 build-couchdb]$

Looks like the process sleeps

[root@f13 bin]# ps ax | grep couch

30683 pts/1 Sl+ 0:00 /home/thomo/projects/external/build-couchdb/build/lib/erlang/erts-5.7.5/bin/beam.smp -Bd -K true -A 4 -- -root /home/thomo/projects/external/build-couchdb/build/lib/erlang -progname erl -- -home /home/thomo -- -noshell -noinput -sasl errlog_type error -couch_ini /home/thomo/projects/external/build-couchdb/build/etc/couchdb/default.ini /home/thomo/projects/external/build-couchdb/build/etc/couchdb/local.ini -s couch

I also try if disabling selinux or iptables anything change but also nothing happen.

jhs commented 14 years ago

I have seen this problem before. In my case, it was something about the openssl or zlib libraries. For me, the --enable-shared-zlib fixed it.

Are you on x86? 32 or 64 bit build? Thanks.

thomo commented 14 years ago

Yeah! After installing some further devel packages (openssl, wxGTK-devel and flex - dont know if later was needed) it runs now. All tests was passed too. Thanks a lot.

thomo commented 14 years ago

I forget this:

jhs commented 14 years ago

openssl-devel is definitely required. Good luck. Let me know if you have other issues!