Re: curl dependency
I like the idea of having two sets of JS tests, those run as part of "make check", and a smaller suite invocable from browsers that validates the install. Towards that end, I created a branch[1], copied all the tests to test/javascript/test and tweaked the relevant bits in run.tpl. Most are unchanged, and there are only two tests that fail now, attachment_names, which looks like it might be a real bug, and attachments_multipart which requires the use of the XMLHttpRequest object. This one might possibly be fixed with some enhancements to couch_http.js or couchjs, will look more into it. Next I'll start auditing them all to see if there's other browser specific code that can be removed. We can then do the same for the browser tests in www/script/test or just replace all that completely with Jan's new stuff as the lion's share of it is moving to test/javascript/test [1] https://github.com/bdionne/couchdb/commit/adcde6c07ae3586ee779b20a24a608337f9b5957 On Jun 4, 2011, at 11:29 PM, Paul Davis wrote: > Of course! Granted one of the two requires that we maintain a table of > data that is updated continuously and has many significant global > variants and the other is a fairly static definition that can be > traced back to a (relatively) deterministic set of bit patterns. > > On Sat, Jun 4, 2011 at 9:42 PM, Jan Lehnardt wrote: >> >> On 5 Jun 2011, at 03:19, Paul Davis wrote: >> >>> Or we write our own code to make HTTP requests (Which isn't out of the >>> question) and remove the curl dependency altogether. >> >> Can we also write our own unicode collation code? :) >> >> Cheers >> Jan >> -- >> >> >>> >>> On Sat, Jun 4, 2011 at 9:10 PM, Jan Lehnardt wrote: >>>> >>>> On 4 Jun 2011, at 22:10, Paul Davis wrote: >>>> >>>>> Its already a soft dependency. If curl isn't found all that happens is >>>>> that you can't run ./test/javascript/run after you build it. >>>> >>>> Which means curl is a hard dependency if you want to run the JS tests >>>> that we intend to move from the browser into CLI JS tests, right? >>>> >>>> Cheers >>>> Jan >>>> -- >>>> >>>> >>>>> >>>>> On Sat, Jun 4, 2011 at 4:02 PM, Chris Anderson wrote: >>>>>> This sparks another thought that we could have a ./configure directive >>>>>> that says --no-curl or something. Since we only need curl for purposes >>>>>> of running the developer test suite. >>>>>> >>>>>> Chris >>>>>> >>>>>> On Wed, Jun 1, 2011 at 2:33 PM, Arash Bizhan zadeh >>>>>> wrote: >>>>>>> Hi, >>>>>>> I am trying to compile couch on RH enterprise. The official RH package >>>>>>> for >>>>>>> curl is 7.15, but Couch needs 7.18. I would like to know what is the >>>>>>> best >>>>>>> way to handle this? Is there any specific reason that Couch depends on >>>>>>> 7.18? Can the dependency be downgraded to 7.15? >>>>>>> Can anybody advise me on how to handle this specific dependency and >>>>>>> other >>>>>>> dependencies ( i.e Erlang) please? >>>>>>> >>>>>>> thanks, >>>>>>> -arash >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Chris Anderson >>>>>> http://jchrisa.net >>>>>> http://couchbase.com >>>>>> >>>> >>>> >> >>
Re: curl dependency
Of course! Granted one of the two requires that we maintain a table of data that is updated continuously and has many significant global variants and the other is a fairly static definition that can be traced back to a (relatively) deterministic set of bit patterns. On Sat, Jun 4, 2011 at 9:42 PM, Jan Lehnardt wrote: > > On 5 Jun 2011, at 03:19, Paul Davis wrote: > >> Or we write our own code to make HTTP requests (Which isn't out of the >> question) and remove the curl dependency altogether. > > Can we also write our own unicode collation code? :) > > Cheers > Jan > -- > > >> >> On Sat, Jun 4, 2011 at 9:10 PM, Jan Lehnardt wrote: >>> >>> On 4 Jun 2011, at 22:10, Paul Davis wrote: >>> >>>> Its already a soft dependency. If curl isn't found all that happens is >>>> that you can't run ./test/javascript/run after you build it. >>> >>> Which means curl is a hard dependency if you want to run the JS tests >>> that we intend to move from the browser into CLI JS tests, right? >>> >>> Cheers >>> Jan >>> -- >>> >>> >>>> >>>> On Sat, Jun 4, 2011 at 4:02 PM, Chris Anderson wrote: >>>>> This sparks another thought that we could have a ./configure directive >>>>> that says --no-curl or something. Since we only need curl for purposes >>>>> of running the developer test suite. >>>>> >>>>> Chris >>>>> >>>>> On Wed, Jun 1, 2011 at 2:33 PM, Arash Bizhan zadeh >>>>> wrote: >>>>>> Hi, >>>>>> I am trying to compile couch on RH enterprise. The official RH package >>>>>> for >>>>>> curl is 7.15, but Couch needs 7.18. I would like to know what is the best >>>>>> way to handle this? Is there any specific reason that Couch depends on >>>>>> 7.18? Can the dependency be downgraded to 7.15? >>>>>> Can anybody advise me on how to handle this specific dependency and other >>>>>> dependencies ( i.e Erlang) please? >>>>>> >>>>>> thanks, >>>>>> -arash >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Chris Anderson >>>>> http://jchrisa.net >>>>> http://couchbase.com >>>>> >>> >>> > >
Re: curl dependency
On 5 Jun 2011, at 03:19, Paul Davis wrote: > Or we write our own code to make HTTP requests (Which isn't out of the > question) and remove the curl dependency altogether. Can we also write our own unicode collation code? :) Cheers Jan -- > > On Sat, Jun 4, 2011 at 9:10 PM, Jan Lehnardt wrote: >> >> On 4 Jun 2011, at 22:10, Paul Davis wrote: >> >>> Its already a soft dependency. If curl isn't found all that happens is >>> that you can't run ./test/javascript/run after you build it. >> >> Which means curl is a hard dependency if you want to run the JS tests >> that we intend to move from the browser into CLI JS tests, right? >> >> Cheers >> Jan >> -- >> >> >>> >>> On Sat, Jun 4, 2011 at 4:02 PM, Chris Anderson wrote: >>>> This sparks another thought that we could have a ./configure directive >>>> that says --no-curl or something. Since we only need curl for purposes >>>> of running the developer test suite. >>>> >>>> Chris >>>> >>>> On Wed, Jun 1, 2011 at 2:33 PM, Arash Bizhan zadeh >>>> wrote: >>>>> Hi, >>>>> I am trying to compile couch on RH enterprise. The official RH package for >>>>> curl is 7.15, but Couch needs 7.18. I would like to know what is the best >>>>> way to handle this? Is there any specific reason that Couch depends on >>>>> 7.18? Can the dependency be downgraded to 7.15? >>>>> Can anybody advise me on how to handle this specific dependency and other >>>>> dependencies ( i.e Erlang) please? >>>>> >>>>> thanks, >>>>> -arash >>>>> >>>> >>>> >>>> >>>> -- >>>> Chris Anderson >>>> http://jchrisa.net >>>> http://couchbase.com >>>> >> >>
Re: curl dependency
Or we write our own code to make HTTP requests (Which isn't out of the question) and remove the curl dependency altogether. On Sat, Jun 4, 2011 at 9:10 PM, Jan Lehnardt wrote: > > On 4 Jun 2011, at 22:10, Paul Davis wrote: > >> Its already a soft dependency. If curl isn't found all that happens is >> that you can't run ./test/javascript/run after you build it. > > Which means curl is a hard dependency if you want to run the JS tests > that we intend to move from the browser into CLI JS tests, right? > > Cheers > Jan > -- > > >> >> On Sat, Jun 4, 2011 at 4:02 PM, Chris Anderson wrote: >>> This sparks another thought that we could have a ./configure directive >>> that says --no-curl or something. Since we only need curl for purposes >>> of running the developer test suite. >>> >>> Chris >>> >>> On Wed, Jun 1, 2011 at 2:33 PM, Arash Bizhan zadeh >>> wrote: >>>> Hi, >>>> I am trying to compile couch on RH enterprise. The official RH package for >>>> curl is 7.15, but Couch needs 7.18. I would like to know what is the best >>>> way to handle this? Is there any specific reason that Couch depends on >>>> 7.18? Can the dependency be downgraded to 7.15? >>>> Can anybody advise me on how to handle this specific dependency and other >>>> dependencies ( i.e Erlang) please? >>>> >>>> thanks, >>>> -arash >>>> >>> >>> >>> >>> -- >>> Chris Anderson >>> http://jchrisa.net >>> http://couchbase.com >>> > >
Re: curl dependency
On 4 Jun 2011, at 22:10, Paul Davis wrote: > Its already a soft dependency. If curl isn't found all that happens is > that you can't run ./test/javascript/run after you build it. Which means curl is a hard dependency if you want to run the JS tests that we intend to move from the browser into CLI JS tests, right? Cheers Jan -- > > On Sat, Jun 4, 2011 at 4:02 PM, Chris Anderson wrote: >> This sparks another thought that we could have a ./configure directive >> that says --no-curl or something. Since we only need curl for purposes >> of running the developer test suite. >> >> Chris >> >> On Wed, Jun 1, 2011 at 2:33 PM, Arash Bizhan zadeh wrote: >>> Hi, >>> I am trying to compile couch on RH enterprise. The official RH package for >>> curl is 7.15, but Couch needs 7.18. I would like to know what is the best >>> way to handle this? Is there any specific reason that Couch depends on >>> 7.18? Can the dependency be downgraded to 7.15? >>> Can anybody advise me on how to handle this specific dependency and other >>> dependencies ( i.e Erlang) please? >>> >>> thanks, >>> -arash >>> >> >> >> >> -- >> Chris Anderson >> http://jchrisa.net >> http://couchbase.com >>
Re: curl dependency
Its already a soft dependency. If curl isn't found all that happens is that you can't run ./test/javascript/run after you build it. On Sat, Jun 4, 2011 at 4:02 PM, Chris Anderson wrote: > This sparks another thought that we could have a ./configure directive > that says --no-curl or something. Since we only need curl for purposes > of running the developer test suite. > > Chris > > On Wed, Jun 1, 2011 at 2:33 PM, Arash Bizhan zadeh wrote: >> Hi, >> I am trying to compile couch on RH enterprise. The official RH package for >> curl is 7.15, but Couch needs 7.18. I would like to know what is the best >> way to handle this? Is there any specific reason that Couch depends on >> 7.18? Can the dependency be downgraded to 7.15? >> Can anybody advise me on how to handle this specific dependency and other >> dependencies ( i.e Erlang) please? >> >> thanks, >> -arash >> > > > > -- > Chris Anderson > http://jchrisa.net > http://couchbase.com >
Re: curl dependency
This sparks another thought that we could have a ./configure directive that says --no-curl or something. Since we only need curl for purposes of running the developer test suite. Chris On Wed, Jun 1, 2011 at 2:33 PM, Arash Bizhan zadeh wrote: > Hi, > I am trying to compile couch on RH enterprise. The official RH package for > curl is 7.15, but Couch needs 7.18. I would like to know what is the best > way to handle this? Is there any specific reason that Couch depends on > 7.18? Can the dependency be downgraded to 7.15? > Can anybody advise me on how to handle this specific dependency and other > dependencies ( i.e Erlang) please? > > thanks, > -arash > -- Chris Anderson http://jchrisa.net http://couchbase.com
Re: curl dependency
On 3 Jun 2011, at 15:50, Pasi Eronen wrote: > Hi Jan, > > Done: http://wiki.apache.org/couchdb/Installing_on_RHEL5 (section > "Building CouchDB from source (with standard packages only)") Pasi, thank you very much :) Cheers Jan -- > > Best regards, > Pasi > > On Fri, Jun 3, 2011 at 11:16, Jan Lehnardt wrote: >> Hi Pasi, >> >> would you consider adding this info to the wiki, so people can find it more >> easily next time? :) >> >> Cheers >> Jan >> -- >> >> On 3 Jun 2011, at 08:36, Pasi Eronen wrote: >> >>> See the thread "Installing CouchDB on CentOS 5.6" on couchdb-user >>> list, May-June 2011; >>> most of it probably applies to RHEL6 as well. >>> >>> Best regards, >>> Pasi >>> >>> On Thu, Jun 2, 2011 at 04:05, Arash Bizhan zadeh wrote: Thanks for the tip. But it seems 1.1.x is not released yet. I cannot convince our IT team to consider it. So let me rephrase my question: What is the best way to deploy couchdb on RH enterprise 6? Does anybody have a guide line written down? On Wed, Jun 1, 2011 at 6:09 PM, Randall Leeds wrote: > On Wed, Jun 1, 2011 at 14:33, Arash Bizhan zadeh > wrote: >> Hi, >> I am trying to compile couch on RH enterprise. The official RH package > for >> curl is 7.15, but Couch needs 7.18. I would like to know what is the best >> way to handle this? Is there any specific reason that Couch depends on >> 7.18? Can the dependency be downgraded to 7.15? >> Can anybody advise me on how to handle this specific dependency and other >> dependencies ( i.e Erlang) please? >> >> thanks, >> -arash >> > > There are specific features used that require the newer version of > libcurl. > However, what version are you building from source? > The 1.1.x branch and trunk no longer require curl and configure should > not fail in its absence. > >> >>
Re: curl dependency
Hi Jan, Done: http://wiki.apache.org/couchdb/Installing_on_RHEL5 (section "Building CouchDB from source (with standard packages only)") Best regards, Pasi On Fri, Jun 3, 2011 at 11:16, Jan Lehnardt wrote: > Hi Pasi, > > would you consider adding this info to the wiki, so people can find it more > easily next time? :) > > Cheers > Jan > -- > > On 3 Jun 2011, at 08:36, Pasi Eronen wrote: > >> See the thread "Installing CouchDB on CentOS 5.6" on couchdb-user >> list, May-June 2011; >> most of it probably applies to RHEL6 as well. >> >> Best regards, >> Pasi >> >> On Thu, Jun 2, 2011 at 04:05, Arash Bizhan zadeh wrote: >>> Thanks for the tip. But it seems 1.1.x is not released yet. I cannot >>> convince our IT team to consider it. So let me rephrase my question: What is >>> the best way to deploy couchdb on RH enterprise 6? Does anybody have a guide >>> line written down? >>> >>> On Wed, Jun 1, 2011 at 6:09 PM, Randall Leeds >>> wrote: >>> On Wed, Jun 1, 2011 at 14:33, Arash Bizhan zadeh wrote: > Hi, > I am trying to compile couch on RH enterprise. The official RH package for > curl is 7.15, but Couch needs 7.18. I would like to know what is the best > way to handle this? Is there any specific reason that Couch depends on > 7.18? Can the dependency be downgraded to 7.15? > Can anybody advise me on how to handle this specific dependency and other > dependencies ( i.e Erlang) please? > > thanks, > -arash > There are specific features used that require the newer version of libcurl. However, what version are you building from source? The 1.1.x branch and trunk no longer require curl and configure should not fail in its absence. >>> > >
Re: curl dependency
Hi Pasi, would you consider adding this info to the wiki, so people can find it more easily next time? :) Cheers Jan -- On 3 Jun 2011, at 08:36, Pasi Eronen wrote: > See the thread "Installing CouchDB on CentOS 5.6" on couchdb-user > list, May-June 2011; > most of it probably applies to RHEL6 as well. > > Best regards, > Pasi > > On Thu, Jun 2, 2011 at 04:05, Arash Bizhan zadeh wrote: >> Thanks for the tip. But it seems 1.1.x is not released yet. I cannot >> convince our IT team to consider it. So let me rephrase my question: What is >> the best way to deploy couchdb on RH enterprise 6? Does anybody have a guide >> line written down? >> >> On Wed, Jun 1, 2011 at 6:09 PM, Randall Leeds wrote: >> >>> On Wed, Jun 1, 2011 at 14:33, Arash Bizhan zadeh >>> wrote: Hi, I am trying to compile couch on RH enterprise. The official RH package >>> for curl is 7.15, but Couch needs 7.18. I would like to know what is the best way to handle this? Is there any specific reason that Couch depends on 7.18? Can the dependency be downgraded to 7.15? Can anybody advise me on how to handle this specific dependency and other dependencies ( i.e Erlang) please? thanks, -arash >>> >>> There are specific features used that require the newer version of libcurl. >>> However, what version are you building from source? >>> The 1.1.x branch and trunk no longer require curl and configure should >>> not fail in its absence. >>> >>
Re: curl dependency
See the thread "Installing CouchDB on CentOS 5.6" on couchdb-user list, May-June 2011; most of it probably applies to RHEL6 as well. Best regards, Pasi On Thu, Jun 2, 2011 at 04:05, Arash Bizhan zadeh wrote: > Thanks for the tip. But it seems 1.1.x is not released yet. I cannot > convince our IT team to consider it. So let me rephrase my question: What is > the best way to deploy couchdb on RH enterprise 6? Does anybody have a guide > line written down? > > On Wed, Jun 1, 2011 at 6:09 PM, Randall Leeds wrote: > >> On Wed, Jun 1, 2011 at 14:33, Arash Bizhan zadeh >> wrote: >> > Hi, >> > I am trying to compile couch on RH enterprise. The official RH package >> for >> > curl is 7.15, but Couch needs 7.18. I would like to know what is the best >> > way to handle this? Is there any specific reason that Couch depends on >> > 7.18? Can the dependency be downgraded to 7.15? >> > Can anybody advise me on how to handle this specific dependency and other >> > dependencies ( i.e Erlang) please? >> > >> > thanks, >> > -arash >> > >> >> There are specific features used that require the newer version of libcurl. >> However, what version are you building from source? >> The 1.1.x branch and trunk no longer require curl and configure should >> not fail in its absence. >> >
Re: curl dependency
Thanks for the tip. But it seems 1.1.x is not released yet. I cannot convince our IT team to consider it. So let me rephrase my question: What is the best way to deploy couchdb on RH enterprise 6? Does anybody have a guide line written down? On Wed, Jun 1, 2011 at 6:09 PM, Randall Leeds wrote: > On Wed, Jun 1, 2011 at 14:33, Arash Bizhan zadeh > wrote: > > Hi, > > I am trying to compile couch on RH enterprise. The official RH package > for > > curl is 7.15, but Couch needs 7.18. I would like to know what is the best > > way to handle this? Is there any specific reason that Couch depends on > > 7.18? Can the dependency be downgraded to 7.15? > > Can anybody advise me on how to handle this specific dependency and other > > dependencies ( i.e Erlang) please? > > > > thanks, > > -arash > > > > There are specific features used that require the newer version of libcurl. > However, what version are you building from source? > The 1.1.x branch and trunk no longer require curl and configure should > not fail in its absence. >
Re: curl dependency
On Wed, Jun 1, 2011 at 14:33, Arash Bizhan zadeh wrote: > Hi, > I am trying to compile couch on RH enterprise. The official RH package for > curl is 7.15, but Couch needs 7.18. I would like to know what is the best > way to handle this? Is there any specific reason that Couch depends on > 7.18? Can the dependency be downgraded to 7.15? > Can anybody advise me on how to handle this specific dependency and other > dependencies ( i.e Erlang) please? > > thanks, > -arash > There are specific features used that require the newer version of libcurl. However, what version are you building from source? The 1.1.x branch and trunk no longer require curl and configure should not fail in its absence.
curl dependency
Hi, I am trying to compile couch on RH enterprise. The official RH package for curl is 7.15, but Couch needs 7.18. I would like to know what is the best way to handle this? Is there any specific reason that Couch depends on 7.18? Can the dependency be downgraded to 7.15? Can anybody advise me on how to handle this specific dependency and other dependencies ( i.e Erlang) please? thanks, -arash