You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Wendall Cada <we...@83864.com> on 2012/03/08 18:24:05 UTC

Fedora/Centos RPMs for 1.2.0-git

I've created a working spec file and patches that match what's available 
in Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 1.2.0-git. 
I've added a patch for COUCHDB-1424 provided by Filipe. I'll pull this 
patch out once 1.2.0 is ready for a vote again and other changes have 
been pushed.

Instructions and source files can be found here: 
https://github.com/wendall911/couchdb-rpm

If you have any questions, hit me up in irc, my nick is wendall911

Wendall

Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Noah Slater <ns...@tumbolia.org>.
Cool. Please let us know how you get on. Getting packages in either would
be a huge bonus for the project. Maybe the maintainer would be open to
co-maintainership?

On Fri, Mar 9, 2012 at 5:09 PM, Wendall Cada <we...@83864.com> wrote:

> I'll ping the maintainer with the revisions I've made. There has been very
> little progress for quite some time from this maintainer, so I'm
> withholding expectations. For now, just giving people the ability to
> install from a compatible package is a start. I don't have any established
> relationships with the couchdb maintainer.
>
> Wendall
>
>
> On 03/09/2012 04:12 AM, Noah Slater wrote:
>
>> This is great! And way to get them in Fedora or CentOS?
>>
>>
>>
>> On 8 Mar 2012, at 17:24, Wendall Cada<we...@83864.com>  wrote:
>>
>>  I've created a working spec file and patches that match what's available
>>> in Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 1.2.0-git.
>>> I've added a patch for COUCHDB-1424 provided by Filipe. I'll pull this
>>> patch out once 1.2.0 is ready for a vote again and other changes have been
>>> pushed.
>>>
>>> Instructions and source files can be found here:
>>> https://github.com/wendall911/**couchdb-rpm<https://github.com/wendall911/couchdb-rpm>
>>>
>>> If you have any questions, hit me up in irc, my nick is wendall911
>>>
>>> Wendall
>>>
>>
>

Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Wendall Cada <we...@83864.com>.
I'll ping the maintainer with the revisions I've made. There has been 
very little progress for quite some time from this maintainer, so I'm 
withholding expectations. For now, just giving people the ability to 
install from a compatible package is a start. I don't have any 
established relationships with the couchdb maintainer.

Wendall

On 03/09/2012 04:12 AM, Noah Slater wrote:
> This is great! And way to get them in Fedora or CentOS?
>
>
>
> On 8 Mar 2012, at 17:24, Wendall Cada<we...@83864.com>  wrote:
>
>> I've created a working spec file and patches that match what's available in Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 1.2.0-git. I've added a patch for COUCHDB-1424 provided by Filipe. I'll pull this patch out once 1.2.0 is ready for a vote again and other changes have been pushed.
>>
>> Instructions and source files can be found here: https://github.com/wendall911/couchdb-rpm
>>
>> If you have any questions, hit me up in irc, my nick is wendall911
>>
>> Wendall


Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Noah Slater <ns...@tumbolia.org>.
This is great! And way to get them in Fedora or CentOS?



On 8 Mar 2012, at 17:24, Wendall Cada <we...@83864.com> wrote:

> I've created a working spec file and patches that match what's available in Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 1.2.0-git. I've added a patch for COUCHDB-1424 provided by Filipe. I'll pull this patch out once 1.2.0 is ready for a vote again and other changes have been pushed.
> 
> Instructions and source files can be found here: https://github.com/wendall911/couchdb-rpm
> 
> If you have any questions, hit me up in irc, my nick is wendall911
> 
> Wendall

Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Wendall Cada <we...@83864.com>.
Ok, I've now tested this against Centos x64 and confirmed everything 
builds correctly. You'll have to modify the .spec to use the 
js-devel-1.7 if required.

Wendall

On 03/10/2012 06:07 PM, Wendall Cada wrote:
> I'm updated one of the patches and fixed the spec to use the proper 
> libdir path. I belive this will work correctly on Centos x64. I 
> haven't tested yet, testing some other patches first, then will build 
> on an x64 box to test.
>
> Wendall
>
> On 03/10/2012 04:37 PM, Wendall Cada wrote:
>> Sorry, that was a hackish patch, so I removed it. I'll figure out a 
>> proper way to make this work. Thanks for the feedback. There will be 
>> another problem later in the build process with this same issue that 
>> needs resolved as well.
>>
>> Thanks,
>>
>> Wendall
>>
>> On 03/10/2012 01:50 PM, Jeroen Janssen wrote:
>>> Hi,
>>>
>>> Thanks for the tip Randall.
>>>
>>> The original (EPEL6) couchdb 1.0.2 srpm has an "autoreconf" patch
>>> included that contains a line with
>>>    sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
>>>
>>> I don't know if anything else of that 'autoreconf' patch is also
>>> needed for it to work correctly, but that might explain why I have the
>>> issue on my x64 machine since the patch is not included in the git
>>> repository that Wendall provided.
>>>
>>> (i.e. I am talking about couchdb-9999-Autoreconf.patch in the
>>> couchdb-1.0.2-8.el.src.rpm)
>>>
>>> Best regards,
>>>
>>> Jeroen Janssen
>>>
>>> On Sat, Mar 10, 2012 at 8:16 PM, Randall 
>>> Leeds<ra...@gmail.com>  wrote:
>>>> Try --libdir=/usr/lib64
>>>>
>>>> IIRC, this is due to x86_64 CentOS treating /usr/lib as the lib
>>>> directory rather than /usr/lib64.
>>>>
>>>> On Sat, Mar 10, 2012 at 00:41, Jeroen 
>>>> Janssen<je...@gmail.com>  wrote:
>>>>> Hi,
>>>>>
>>>>> I'm running on a CentOS 6.2 x86_64 machine and I get a build error
>>>>> related to erl_driver.h.
>>>>> (note I have been able to rebuild the couchdb-1.0.2 RPMS without any
>>>>> issues in this same environment)
>>>>>
>>>>> checking erl_driver.h usability... no
>>>>> checking erl_driver.h presence... no
>>>>> checking for erl_driver.h... no
>>>>>
>>>>> (note during a couchdb-1.0.2 rebuild these all state 'yes')
>>>>>
>>>>> It seems erl_driver.h is located at
>>>>> /usr/lib64/erlang/usr/include/erl_driver.h, but this is not correctly
>>>>> detected?
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Jeroen Janssen
>>>>>
>>>>> On Thu, Mar 8, 2012 at 6:24 PM, Wendall Cada<we...@83864.com>  
>>>>> wrote:
>>>>>> I've created a working spec file and patches that match what's 
>>>>>> available in
>>>>>> Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 
>>>>>> 1.2.0-git. I've
>>>>>> added a patch for COUCHDB-1424 provided by Filipe. I'll pull this 
>>>>>> patch out
>>>>>> once 1.2.0 is ready for a vote again and other changes have been 
>>>>>> pushed.
>>>>>>
>>>>>> Instructions and source files can be found here:
>>>>>> https://github.com/wendall911/couchdb-rpm
>>>>>>
>>>>>> If you have any questions, hit me up in irc, my nick is wendall911
>>>>>>
>>>>>> Wendall
>>
>


Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Wendall Cada <we...@83864.com>.
I'm updated one of the patches and fixed the spec to use the proper 
libdir path. I belive this will work correctly on Centos x64. I haven't 
tested yet, testing some other patches first, then will build on an x64 
box to test.

Wendall

On 03/10/2012 04:37 PM, Wendall Cada wrote:
> Sorry, that was a hackish patch, so I removed it. I'll figure out a 
> proper way to make this work. Thanks for the feedback. There will be 
> another problem later in the build process with this same issue that 
> needs resolved as well.
>
> Thanks,
>
> Wendall
>
> On 03/10/2012 01:50 PM, Jeroen Janssen wrote:
>> Hi,
>>
>> Thanks for the tip Randall.
>>
>> The original (EPEL6) couchdb 1.0.2 srpm has an "autoreconf" patch
>> included that contains a line with
>>    sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
>>
>> I don't know if anything else of that 'autoreconf' patch is also
>> needed for it to work correctly, but that might explain why I have the
>> issue on my x64 machine since the patch is not included in the git
>> repository that Wendall provided.
>>
>> (i.e. I am talking about couchdb-9999-Autoreconf.patch in the
>> couchdb-1.0.2-8.el.src.rpm)
>>
>> Best regards,
>>
>> Jeroen Janssen
>>
>> On Sat, Mar 10, 2012 at 8:16 PM, Randall 
>> Leeds<ra...@gmail.com>  wrote:
>>> Try --libdir=/usr/lib64
>>>
>>> IIRC, this is due to x86_64 CentOS treating /usr/lib as the lib
>>> directory rather than /usr/lib64.
>>>
>>> On Sat, Mar 10, 2012 at 00:41, Jeroen 
>>> Janssen<je...@gmail.com>  wrote:
>>>> Hi,
>>>>
>>>> I'm running on a CentOS 6.2 x86_64 machine and I get a build error
>>>> related to erl_driver.h.
>>>> (note I have been able to rebuild the couchdb-1.0.2 RPMS without any
>>>> issues in this same environment)
>>>>
>>>> checking erl_driver.h usability... no
>>>> checking erl_driver.h presence... no
>>>> checking for erl_driver.h... no
>>>>
>>>> (note during a couchdb-1.0.2 rebuild these all state 'yes')
>>>>
>>>> It seems erl_driver.h is located at
>>>> /usr/lib64/erlang/usr/include/erl_driver.h, but this is not correctly
>>>> detected?
>>>>
>>>> Best regards,
>>>>
>>>> Jeroen Janssen
>>>>
>>>> On Thu, Mar 8, 2012 at 6:24 PM, Wendall Cada<we...@83864.com>  
>>>> wrote:
>>>>> I've created a working spec file and patches that match what's 
>>>>> available in
>>>>> Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 
>>>>> 1.2.0-git. I've
>>>>> added a patch for COUCHDB-1424 provided by Filipe. I'll pull this 
>>>>> patch out
>>>>> once 1.2.0 is ready for a vote again and other changes have been 
>>>>> pushed.
>>>>>
>>>>> Instructions and source files can be found here:
>>>>> https://github.com/wendall911/couchdb-rpm
>>>>>
>>>>> If you have any questions, hit me up in irc, my nick is wendall911
>>>>>
>>>>> Wendall
>


Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Wendall Cada <we...@83864.com>.
Sorry, that was a hackish patch, so I removed it. I'll figure out a 
proper way to make this work. Thanks for the feedback. There will be 
another problem later in the build process with this same issue that 
needs resolved as well.

Thanks,

Wendall

On 03/10/2012 01:50 PM, Jeroen Janssen wrote:
> Hi,
>
> Thanks for the tip Randall.
>
> The original (EPEL6) couchdb 1.0.2 srpm has an "autoreconf" patch
> included that contains a line with
>    sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
>
> I don't know if anything else of that 'autoreconf' patch is also
> needed for it to work correctly, but that might explain why I have the
> issue on my x64 machine since the patch is not included in the git
> repository that Wendall provided.
>
> (i.e. I am talking about couchdb-9999-Autoreconf.patch in the
> couchdb-1.0.2-8.el.src.rpm)
>
> Best regards,
>
> Jeroen Janssen
>
> On Sat, Mar 10, 2012 at 8:16 PM, Randall Leeds<ra...@gmail.com>  wrote:
>> Try --libdir=/usr/lib64
>>
>> IIRC, this is due to x86_64 CentOS treating /usr/lib as the lib
>> directory rather than /usr/lib64.
>>
>> On Sat, Mar 10, 2012 at 00:41, Jeroen Janssen<je...@gmail.com>  wrote:
>>> Hi,
>>>
>>> I'm running on a CentOS 6.2 x86_64 machine and I get a build error
>>> related to erl_driver.h.
>>> (note I have been able to rebuild the couchdb-1.0.2 RPMS without any
>>> issues in this same environment)
>>>
>>> checking erl_driver.h usability... no
>>> checking erl_driver.h presence... no
>>> checking for erl_driver.h... no
>>>
>>> (note during a couchdb-1.0.2 rebuild these all state 'yes')
>>>
>>> It seems erl_driver.h is located at
>>> /usr/lib64/erlang/usr/include/erl_driver.h, but this is not correctly
>>> detected?
>>>
>>> Best regards,
>>>
>>> Jeroen Janssen
>>>
>>> On Thu, Mar 8, 2012 at 6:24 PM, Wendall Cada<we...@83864.com>  wrote:
>>>> I've created a working spec file and patches that match what's available in
>>>> Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 1.2.0-git. I've
>>>> added a patch for COUCHDB-1424 provided by Filipe. I'll pull this patch out
>>>> once 1.2.0 is ready for a vote again and other changes have been pushed.
>>>>
>>>> Instructions and source files can be found here:
>>>> https://github.com/wendall911/couchdb-rpm
>>>>
>>>> If you have any questions, hit me up in irc, my nick is wendall911
>>>>
>>>> Wendall


Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Jeroen Janssen <je...@gmail.com>.
Hi,

Thanks for the tip Randall.

The original (EPEL6) couchdb 1.0.2 srpm has an "autoreconf" patch
included that contains a line with
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"

I don't know if anything else of that 'autoreconf' patch is also
needed for it to work correctly, but that might explain why I have the
issue on my x64 machine since the patch is not included in the git
repository that Wendall provided.

(i.e. I am talking about couchdb-9999-Autoreconf.patch in the
couchdb-1.0.2-8.el.src.rpm)

Best regards,

Jeroen Janssen

On Sat, Mar 10, 2012 at 8:16 PM, Randall Leeds <ra...@gmail.com> wrote:
> Try --libdir=/usr/lib64
>
> IIRC, this is due to x86_64 CentOS treating /usr/lib as the lib
> directory rather than /usr/lib64.
>
> On Sat, Mar 10, 2012 at 00:41, Jeroen Janssen <je...@gmail.com> wrote:
>> Hi,
>>
>> I'm running on a CentOS 6.2 x86_64 machine and I get a build error
>> related to erl_driver.h.
>> (note I have been able to rebuild the couchdb-1.0.2 RPMS without any
>> issues in this same environment)
>>
>> checking erl_driver.h usability... no
>> checking erl_driver.h presence... no
>> checking for erl_driver.h... no
>>
>> (note during a couchdb-1.0.2 rebuild these all state 'yes')
>>
>> It seems erl_driver.h is located at
>> /usr/lib64/erlang/usr/include/erl_driver.h, but this is not correctly
>> detected?
>>
>> Best regards,
>>
>> Jeroen Janssen
>>
>> On Thu, Mar 8, 2012 at 6:24 PM, Wendall Cada <we...@83864.com> wrote:
>>> I've created a working spec file and patches that match what's available in
>>> Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 1.2.0-git. I've
>>> added a patch for COUCHDB-1424 provided by Filipe. I'll pull this patch out
>>> once 1.2.0 is ready for a vote again and other changes have been pushed.
>>>
>>> Instructions and source files can be found here:
>>> https://github.com/wendall911/couchdb-rpm
>>>
>>> If you have any questions, hit me up in irc, my nick is wendall911
>>>
>>> Wendall

Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Randall Leeds <ra...@gmail.com>.
Try --libdir=/usr/lib64

IIRC, this is due to x86_64 CentOS treating /usr/lib as the lib
directory rather than /usr/lib64.

On Sat, Mar 10, 2012 at 00:41, Jeroen Janssen <je...@gmail.com> wrote:
> Hi,
>
> I'm running on a CentOS 6.2 x86_64 machine and I get a build error
> related to erl_driver.h.
> (note I have been able to rebuild the couchdb-1.0.2 RPMS without any
> issues in this same environment)
>
> checking erl_driver.h usability... no
> checking erl_driver.h presence... no
> checking for erl_driver.h... no
>
> (note during a couchdb-1.0.2 rebuild these all state 'yes')
>
> It seems erl_driver.h is located at
> /usr/lib64/erlang/usr/include/erl_driver.h, but this is not correctly
> detected?
>
> Best regards,
>
> Jeroen Janssen
>
> On Thu, Mar 8, 2012 at 6:24 PM, Wendall Cada <we...@83864.com> wrote:
>> I've created a working spec file and patches that match what's available in
>> Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 1.2.0-git. I've
>> added a patch for COUCHDB-1424 provided by Filipe. I'll pull this patch out
>> once 1.2.0 is ready for a vote again and other changes have been pushed.
>>
>> Instructions and source files can be found here:
>> https://github.com/wendall911/couchdb-rpm
>>
>> If you have any questions, hit me up in irc, my nick is wendall911
>>
>> Wendall

Re: Fedora/Centos RPMs for 1.2.0-git

Posted by Jeroen Janssen <je...@gmail.com>.
Hi,

I'm running on a CentOS 6.2 x86_64 machine and I get a build error
related to erl_driver.h.
(note I have been able to rebuild the couchdb-1.0.2 RPMS without any
issues in this same environment)

checking erl_driver.h usability... no
checking erl_driver.h presence... no
checking for erl_driver.h... no

(note during a couchdb-1.0.2 rebuild these all state 'yes')

It seems erl_driver.h is located at
/usr/lib64/erlang/usr/include/erl_driver.h, but this is not correctly
detected?

Best regards,

Jeroen Janssen

On Thu, Mar 8, 2012 at 6:24 PM, Wendall Cada <we...@83864.com> wrote:
> I've created a working spec file and patches that match what's available in
> Fedora (couchdb-1.0.3) and Centos (couchdb-1.0.2), but for 1.2.0-git. I've
> added a patch for COUCHDB-1424 provided by Filipe. I'll pull this patch out
> once 1.2.0 is ready for a vote again and other changes have been pushed.
>
> Instructions and source files can be found here:
> https://github.com/wendall911/couchdb-rpm
>
> If you have any questions, hit me up in irc, my nick is wendall911
>
> Wendall