problems installing libcouchbase on Fedora 17 x64
Hi,
I tried to follow the instructions from
http://www.couchbase.com/develop/c/current
in order to install the libcouchbase on my Fedora 17 x64 machine.
The problem is that libcouchbase2 depends upon libevent-1.4 *specifically* (instead of libevent-1.4 or higher).
I already have libevent-2.0 installed and other package that depend on it, so I can not just remove libevent-2.0 and install libevent-1.4.
Is there a workaround for this issue?
Thanks for the help.
p.s. here are the details:
> sudo yum install -y libcouchbase2 libcouchbase-devel
Error: Package: libcouchbase2-libevent-2.0.2-1.x86_64 (couchbase)
Requires: libevent-1.4.so.2()(64bit)
> sudo yum info libevent
Package libevent-devel-2.0.18-1.fc17.x86_64 already installed and latest version
those rpms we publish, has been built for centos/red hat distributions, this is why you might see those restrictions. as another option, you can download tarballs and rebuild rpms
./configure && make dist-rpm
you of course need rpm devel tools. this task will record actual dependencies. as you can see we aren't claim strict reps
https://github.com/couchbase/libcouchbase/blob/master/packaging/rpm/libc...
i have to say , couchbase is a product with some potential but i based on what i have seen as
far as php library support goes the product sucks.
I ran into the same issue with fedora 17 and tried every single option even tried building from
scratch with no luck. Then you if you look at the doc's they are unclear as well. It says PHP 5.3
or higher but thats wrong as well. I got on CentOS 6.2 with PHP 5.3.x the thing working but as soon as
i went to 5.4.x it didnt work anymore and it complained about couchbase.so and jason_decode in line 0.
So you can build great servers but if the libary's to access them don't work the product becomes useless
Part of the problem is being understaffed and trying to support multiple platforms. It seems that most of the linux distros build and ship PHP with different compile time options, resulting in different behavior. Unfortunately we don't have the resources to try out all of the different OS/PHP combinations. We are however constantly trying to improve the quality and increate the test coverage for OS/platform combinations.
Hi,
after some investigation it seems that the dependency is on either libev OR libevent ..
These solved the problem:
> sudo yum install -y libev-devel
> sudo yum install -y libcouchbase2 libcouchbase-devel