On Mar 6, 2010, at 11:50 AM, Noah Slater wrote:
> You don't need root access to install CouchDB. true, but to install all the dependencies(erlang) you do. > > On 6 Mar 2010, at 17:30, Shawn McDermott wrote: > >> >> On Mar 6, 2010, at 11:24 AM, Noah Slater wrote: >> >>> That's not really a binary though, is it? >>> >>> If you knew EXACTLY what system you wanted to roll-out to, you could tar up >>> all of the files for Erlang, SpiderMonkey, the shared libraries, the >>> CouchDB code, and all the supporting files. You could then untar that >>> archive on the target server, and have a running CouchDB instance. >>> >>> Why on earth you would want to do this, is beyond me. >> >> The reason I did it was to have an install that would not require root >> access. >> >>> >>> On 6 Mar 2010, at 15:39, Shawn McDermott wrote: >>> >>>> >>>> On Mar 6, 2010, at 9:29 AM, km wrote: >>>> >>>>> On Sat, Mar 6, 2010 at 10:33 PM, Noah Slater <[email protected]> wrote: >>>>> >>>>>> You cannot. >>>>>> >>>>> >>>> >>>> I have done it....... what I had to do was compile erlang, libjs, and >>>> couchdb, create an installer (I used izpack) that installs all of that to >>>> a location, then using sed/awk scrapes all the files to the new install >>>> path. It works but it is nasty! >>>> >>>> Shawn >>>> >>>>> I dont know! >>>>> I have just stumbled upon an option passed to the configure like this >>>>> ./configure *--enable-static* --with-js-include=/path/to/js/include >>>>> --with-js-lib=/path/to/js/lib >>>>> >>>>> But I am really doubtful if the final build includes other dependencies >>>>> like js libraries as well! >>>>> >>>>> Krishna >>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>> >>>>>> >>>>>> There is no such thing as a static binary for CouchDB. It uses an >>>>>> interpreted language, which means ed the interpreter, and the proper >>>>>> bindings for the interpreter built it. You also need an external >>>>>> SpiderMonkey, and such like. >>>>>> >>>>>> On 6 Mar 2010, at 12:05, km wrote: >>>>>> >>>>>>> On Sat, Mar 6, 2010 at 8:46 PM, Noah Slater <[email protected]> >>>>>> wrote: >>>>>>> >>>>>>>> If you're on Ubuntu, why not install the package from the official >>>>>>>> repositories? >>>>>>>> >>>>>>>> ya I already have 0.10 on ubuntu 9.10 from repositories. >>>>>>> But that doesnt solve my probelm. I am trying to install couchdb 0.11 >>>>>>> (unreleased) from source and compile it for now. >>>>>>> and I would like to know how i could change configure/make file to >>>>>> generate >>>>>>> a static binary for installation on other non-ubuntu systems. >>>>>>> >>>>>>> regards, >>>>>>> Krishna >>>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>>> >>>>>>>> On 6 Mar 2010, at 11:44, km wrote: >>>>>>>> >>>>>>>>> great! but how ? >>>>>>>>> I am able to compile 0.11 on ubuntu 9.10. >>>>>>>>> So what changes are needed to compile a static binary; which includes >>>>>>>> all >>>>>>>>> dependencies ? >>>>>>>>> >>>>>>>>> regards, >>>>>>>>> Krishna >>>>>>>>> >>>>>>>>> On Sat, Mar 6, 2010 at 8:33 PM, Noah Slater <[email protected]> >>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Yep, you should be able to do this yourself from the source tarball. >>>>>>>>>> >>>>>>>>>> On 6 Mar 2010, at 07:46, km wrote: >>>>>>>>>> >>>>>>>>>>> Hi all, >>>>>>>>>>> >>>>>>>>>>> Is it possible to make a static binary of the couchdb (upcoming >>>>>> release >>>>>>>>>>> 0.11) ? so that i can distribute it on other systems which donot >>>>>>>>>>> have >>>>>>>> all >>>>>>>>>>> the dependencies ? >>>>>>>>>>> any ideas ? >>>>>>>>>>> >>>>>>>>>>> thanks & regards, >>>>>>>>>>> >>>>>>>>>>> Krishna >>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>> >>> >> >
