incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendall Cada <wenda...@83864.com>
Subject Re: init terminating in do_boot
Date Fri, 01 Jun 2012 00:20:31 GMT
Fantastic, thank you. I have an updated package for JS 1.8.5. Looks like 
I'll need to create packages for ICU and cURL.

I've been avoiding working out the details, will let you know when I 
have packages that will install :)

Wendall

On 05/31/2012 03:58 PM, CGS wrote:
> Hi Wendall,
>
> Yes, of course. It's easy because I used most of the required packages form
> the repository. Still, there are few packages outdated, so, I needed to
> install them by hand from scratch.
>
> The packages I had to build because being outdated in the repository: ICU,
> JS (I used 1.8.0rc1, not so keen to try again with 1.8.5) and cURL. These
> are all of them. Take care to the following aspects:
> - ICU and cURL will be installed by default in /usr/local and
> LD_LIBRARY_PATH does not contain /usr/local/lib. To add it, there are two
> possibilities (not to attach any option to the configure script):
> a) in BASH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib (use
> setenv for TCSH);
> b) cd /usr/local/lib&&  for var in $(ls) ; do if [ ! -d ${var} ] ; then ln
> -s /usr/local/lib/${var} /usr/lib/${var} ; fi ; done&&  cd - (this will
> create a symbolic link for each library from /usr/local/lib in /usr/lib
> which is included in standard lib path - I did that after I got that error
> in do_boot, but it is better to do it from the beginning);
> - JS is even worse under x86_64 architecture as it creates /usr/local/lib64
> path in which it installs its libraries - do as above. To install it, use
> the instructions from
> http://wiki.apache.org/couchdb/Installing_SpiderMonkey(nothing more).
>
> How to build Erlang/OTP R15B01:
> - check out the prerequisite from Erlang (
> http://www.erlang.org/doc/installation_guide/INSTALL.html) and 'yum
> install' them all (at least I did that way and Erlang didn't complain),
> except for JAVA (I don't need the connection with it), fop (requires JAVA)
> and wxWidgets (I don't want to build nice windows in Erlang);
> - configure Erlang: ./configure --enable-threads --enable-smp-support
> --enable-kernel-poll --enable-sctp --enable-hipe
> --with-dynamic-trace=systemtap --without-javac (in my case, it complained
> about not finding dtrace even if I declared dynamic trace as systemtap, so,
> I had to discard it - nevertheless, it may be something which can be done,
> I hope, but I had no time to get into it);
> - build and install it: make (as simple user) and make install (as root).
> This will create (if everything goes well) /usr/local/lib/erlang and few
> symbolic links in /usr/local/bin, of course.
>
> How to build CouchDB:
>
> Check for the prerequisites on
> http://git-wip-us.apache.org/repos/asf/couchdb/repo?p=couchdb.git;a=blob;f=INSTALL.Unix;hb=master(it
> doesn't matter its outdated a bit, it provides with a list of what you
> need). In this moment you should have ICU, cURL, JS, Erlang and OpenSSL (as
> required by Erlang), so, all you need is help2man (which I yum'ed it).
>
> Furthermore, nothing simpler: ./configure&&  make (as simple user) and make
> install (as root).
>
> That's all. (Well, I omitted the steps related to download and decompress
> as I consider them as too obvious. :) )
>
> Comparing to the previous versions of CouchDB (1.1.0 was my first installed
> version :D), I really consider what the developers did was to have added a
> V6 engine to the installing scripts. ;)
>
> If you have problems, don't hesitate to post them here. I will help with
> what I can.
>
> Cheers,
> CGS
>
>
>
>
>
> On Thu, May 31, 2012 at 11:51 PM, Wendall Cada<wendallc@83864.com>  wrote:
>
>> George,
>>
>> Can you share your build instructions? If you have a working install
>> process for Centos 5.8, I can create an rpm that could benefit others. 5.8
>> is problematic. I think the information could be very useful for
>> build-couchdb as well, as I think it isn't working currently either.
>>
>> Wendall
>>
>>
>> On 05/31/2012 02:19 PM, CGS wrote:
>>
>>> Hi Dave,
>>>
>>> Thank you for your reply. Indeed, downgrading Erlang version didn't help,
>>> but your suggestion helped me in finding the error. It was a path problem
>>> (more precisely, /usr/local/lib which wasn't in LD_LIBRARY_PATH by default
>>> under CentOS 5.8, and I had libicui18n.so.49 there). I am surprised it
>>> didn't show the problem during running the configure script or while
>>> compiling CouchDB, but I suppose it was added by hand in the script
>>> searching paths. Now, CouchDB is purring like a cat. Thanks a lot from
>>> another happy CouchDB user!
>>>
>>> Cheers,
>>> George
>>>
>>>
>>>
>>>
>>> On Thu, May 31, 2012 at 10:05 PM, Dave Cottlehuber<dave@muse.net.nz>
>>>   wrote:
>>>
>>>   On 31 May 2012 18:39, CGS<cgsmcmlxxv@gmail.com>   wrote:
>>>>> I haven't attached any COUCHDB_USER variable to my BASH session (unless
>>>>>
>>>> the
>>>>
>>>>> couchdb script adds it, but I see no COUCHDB_USER in that script). So,
>>>>> no
>>>>> 'su'ing away from root.
>>>>>
>>>>> Is there any known problem in between CouchDB and Erlang/OTP R15B01?
Any
>>>>> idea, downgrading Erlang version would do any good?
>>>>>
>>>> No.
>>>>
>>>> You might get something useful by starting 'erl -init_debug'&   then
to
>>>> start up
>>>> erlang solo (not as couch) and then progressively start up dependent
>>>> apps:
>>>>
>>>>     erl -init_debug  -env ERL_LIBS
>>>> /usr/local/Cellar/couchdb/1.2.**0/lib/couchdb/erlang/lib -couch_ini
>>>>
>>>> and then:
>>>>
>>>>     application:load(crypto), application:start(crypto).
>>>>     application:load(couch), application:start(couch).
>>>>
>>>> output should resemble this (from my mac):
>>>>
>>>> https://friendpaste.com/**6zett3aAHSafRNZbgfMBoD<https://friendpaste.com/6zett3aAHSafRNZbgfMBoD>
>>>>
>>>> A+
>>>> Dave
>>>>
>>>>


Mime
View raw message