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<[email protected]> 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<[email protected]> 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<[email protected]>
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