incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn McDermott <sgt...@gmail.com>
Subject Re: static binary
Date Sat, 06 Mar 2010 15:39:22 GMT

On Mar 6, 2010, at 9:29 AM, km wrote:

> On Sat, Mar 6, 2010 at 10:33 PM, Noah Slater <nslater@tumbolia.org> 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 <nslater@tumbolia.org>
>> 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 <nslater@tumbolia.org>
>>>> 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
>>>>>> 
>>>>>> 
>>>> 
>>>> 
>> 
>> 


Mime
View raw message