You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by km <sr...@gmail.com> on 2010/03/06 08:46:13 UTC
static binary
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
Re: static binary
Posted by Noah Slater <ns...@tumbolia.org>.
You should take a look at binary package formats then. RPM and Deb are very popular, and it is possible to install them on systems that are not RMP or Debian/Ubuntu native. There are loads of options though. If you pick a decent one, it should mean that your final package is more stable and less buggy than one you might handroll.
On 6 Mar 2010, at 19:48, Shawn McDermott wrote:
>
> On Mar 6, 2010, at 1:27 PM, Noah Slater wrote:
>
>> But you're using Ubuntu, where such things exist already. So...?
>
> Nope. I just hijacked this thread to say that I had done it. I am using OpenSuse.
>
>>
>> On 6 Mar 2010, at 18:22, Shawn McDermott wrote:
>>
>>>
>>> On Mar 6, 2010, at 12:19 PM, Andrew Melo wrote:
>>>
>>>> On Sat, Mar 6, 2010 at 12:06 PM, Shawn McDermott <sg...@gmail.com> wrote:
>>>>>
>>>>>
>>>>> 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.
>>>>
>>>> Erlang and the other dependencies all have --prefix options in their
>>>> configure scripts, so you can build and install them without needing
>>>> root.
>>>>
>>>> best,
>>>> Andrew
>>>>
>>> good point, but I wanted precompiled binaries that I could install without the user having to wait for compiling to finish.
>>>
>>>>
>>>>>>
>>>>>> 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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Andrew Melo
>>>
>>
>
Re: static binary
Posted by Shawn McDermott <sg...@gmail.com>.
On Mar 6, 2010, at 1:27 PM, Noah Slater wrote:
> But you're using Ubuntu, where such things exist already. So...?
Nope. I just hijacked this thread to say that I had done it. I am using OpenSuse.
>
> On 6 Mar 2010, at 18:22, Shawn McDermott wrote:
>
>>
>> On Mar 6, 2010, at 12:19 PM, Andrew Melo wrote:
>>
>>> On Sat, Mar 6, 2010 at 12:06 PM, Shawn McDermott <sg...@gmail.com> wrote:
>>>>
>>>>
>>>> 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.
>>>
>>> Erlang and the other dependencies all have --prefix options in their
>>> configure scripts, so you can build and install them without needing
>>> root.
>>>
>>> best,
>>> Andrew
>>>
>> good point, but I wanted precompiled binaries that I could install without the user having to wait for compiling to finish.
>>
>>>
>>>>>
>>>>> 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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Andrew Melo
>>
>
Re: static binary
Posted by Noah Slater <ns...@tumbolia.org>.
But you're using Ubuntu, where such things exist already. So...?
On 6 Mar 2010, at 18:22, Shawn McDermott wrote:
>
> On Mar 6, 2010, at 12:19 PM, Andrew Melo wrote:
>
>> On Sat, Mar 6, 2010 at 12:06 PM, Shawn McDermott <sg...@gmail.com> wrote:
>>>
>>>
>>> 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.
>>
>> Erlang and the other dependencies all have --prefix options in their
>> configure scripts, so you can build and install them without needing
>> root.
>>
>> best,
>> Andrew
>>
> good point, but I wanted precompiled binaries that I could install without the user having to wait for compiling to finish.
>
>>
>>>>
>>>> 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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>>
>> --
>> --
>> Andrew Melo
>
Re: static binary
Posted by Shawn McDermott <sg...@gmail.com>.
On Mar 6, 2010, at 12:19 PM, Andrew Melo wrote:
> On Sat, Mar 6, 2010 at 12:06 PM, Shawn McDermott <sg...@gmail.com> wrote:
>>
>>
>> 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.
>
> Erlang and the other dependencies all have --prefix options in their
> configure scripts, so you can build and install them without needing
> root.
>
> best,
> Andrew
>
good point, but I wanted precompiled binaries that I could install without the user having to wait for compiling to finish.
>
>>>
>>> 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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>
>
>
> --
> --
> Andrew Melo
Re: static binary
Posted by Andrew Melo <an...@gmail.com>.
On Sat, Mar 6, 2010 at 12:06 PM, Shawn McDermott <sg...@gmail.com> wrote:
>
>
> 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.
Erlang and the other dependencies all have --prefix options in their
configure scripts, so you can build and install them without needing
root.
best,
Andrew
>>
>> 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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>
>>>
>>
>
>
--
--
Andrew Melo
Re: static binary
Posted by Shawn McDermott <sg...@gmail.com>.
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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>
>>
>
Re: static binary
Posted by Noah Slater <ns...@tumbolia.org>.
You don't need root access to install CouchDB.
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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>
>>
>
Re: static binary
Posted by Shawn McDermott <sg...@gmail.com>.
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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>
Re: static binary
Posted by Noah Slater <ns...@tumbolia.org>.
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.
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 <ns...@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 <ns...@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 <ns...@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
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>
>>>
>
Re: static binary
Posted by Shawn McDermott <sg...@gmail.com>.
On Mar 6, 2010, at 9:29 AM, km wrote:
> On Sat, Mar 6, 2010 at 10:33 PM, Noah Slater <ns...@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 <ns...@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 <ns...@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
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
Re: static binary
Posted by km <sr...@gmail.com>.
On Sat, Mar 6, 2010 at 10:33 PM, Noah Slater <ns...@tumbolia.org> wrote:
> You cannot.
>
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 <ns...@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 <ns...@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
> >>>>
> >>>>
> >>
> >>
>
>
Re: static binary
Posted by Noah Slater <ns...@tumbolia.org>.
You cannot.
There is no such thing as a static binary for CouchDB. It uses an interpreted language, which means you need 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 <ns...@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 <ns...@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
>>>>
>>>>
>>
>>
Re: static binary
Posted by km <sr...@gmail.com>.
On Sat, Mar 6, 2010 at 8:46 PM, Noah Slater <ns...@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 <ns...@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
> >>
> >>
>
>
Re: static binary
Posted by Noah Slater <ns...@tumbolia.org>.
If you're on Ubuntu, why not install the package from the official repositories?
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 <ns...@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
>>
>>
Re: static binary
Posted by km <sr...@gmail.com>.
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 <ns...@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
>
>
Re: static binary
Posted by Noah Slater <ns...@tumbolia.org>.
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