Boost libraries on CentOS are a nightmare. I am still trying to find a
solution that compiles and passes the tests without segfaulting.
--
Herman Radtke
herman...@gmail.com | http://hermanradtke.com
yum install gcc gcc-c++ make boost-devel libevent-devel.x86_64
libuuid-devel sqlite-devel.x86_64
cd /usr/local/
wget http://launchpad.net/gearmand/trunk/0.23/+download/gearmand-0.23.tar.gz
tar xvzf gearmand-0.23.tar.gz
ln -s gearmand-0.23 gearmand
cd gearmand
./configure
make
useradd -M gearmand
mkdir /var/run/gearmand
sed -i 's:/usr/sbin/gearmand:/usr/local/gearmand/gearmand/gearmand:'
support/gearmand.init
cp support/gearmand.init /etc/init.d/gearmand
chmod a+x /etc/init.d/gearmand
chkconfig gearmand on
This obviously doesn't do a make install, instead we run it out of
/usr/local/germand/ which symlinks to the current version downloaded.
--
Bradley Falzon
br...@teambrad.net
These steps do not work for me. Standard CentOS 5.6 ships with boost 1.37.
Here is what I did to install 0.24:
yum install boost141 boost141--devel
cd /usr/lib/boost141 && cp * ../
cd /usr/lib64/boost141 && cp * ../
cd /usr/include && ln -s boost141/boost/
now configure and make as normal
My apologies, I didn't see your original post was related directly to
libdrizzle. We haven't used libdrizzle itself, that configuration was
using sqlite only.
--
Bradley Falzon
br...@teambrad.net
We don't use libdrizzle, however, no reason why
http://docs.drizzle.org/installing/from_source.html#compiling-the-source
wouldn't work.
The RPM's as docs.drizzle suggest are version 0.8 in epel, appears
gearman requires 1.0.
http://docs.drizzle.org/installing/redhat.html#using-rpms has some
instructions on packages required to compile from source.
geocine and I worked out a bunch of issues with compiling and he got
his working. He said he was going to reply to this thread with a
write-up. If you want to hope on irc.freenode.net and ping me (i am
hjr3) we can work through your issues. I don't want to spam the list
with all the back and forth it is going to require in order to figure
out what sys config we need to tweak.
On 2/13/12 17:01, Erich wrote:
> I followed these great instructions, but unfortunately ran into a make error:
You could try these instructions:
http://labs.consol.de/nagios/mod-gearman/#_centos_redhat
I did them for 0.25, but they might work with latest tarball too.
Bye,
Sven