For record's sake: I did find out how to fix ALL the installation issues.
I have had just the most horrible time compiling Gearman 0.28. I understand this fix has been committed in 0.29, but for this is for people who had the same problems as I have.
I am running the following CentOS and cPanel versions:
Linux 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 20:13:52 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
CentOS release 5.8 (Final)
# /usr/local/cpanel/cpanel -V
I could not install using "pecl install gearman" because it errors at libgearman not installed. I could not install libgearman because Boost was not up-to-date. After updating Boost, I could not make Gearman 0.28 because of this bug.
Here are the steps I did to fix the errors:
*****Fix Boost 1.39 >= must be installed issue*****:
2. Install the EPEL repo list using "rpm -Uvh epel-release-5-4.noarch.rpm"
3. yum install boost141-devel
4. ln -s /usr/include/boost141/boost/ /usr/include/boost
5. export LDFLAGS="-L/usr/lib64/boost141"
6. export LD_LIBRARY_PATH=/usr/lib64/boost141:$LD_LIBRARY_PATH
*****Fix Gearman benchmark.lo error (before 0.29) *****:
1. yum install gcc44 gcc-c++
*****Configure, Make, Make Install (no rinsing or repeating)*****:
1. ./configure in your gearman folder after using wget for the current release
*****INSTALL THE PECL EXTENSION!!! YAY!*****:
If you're running cPanel 11.31.2.x and lower, like me, you will have to copy it to the correct location due to a cPanel bug.
2. cp gearman.so /usr/local/lib/php/extensions/no-debug-non-zts-20090626 (for me - check yours!)
3. chmod 775 gearman.so for good measure!
More importantly, give me a call if you need any help... seriously. This was the biggest pain in the ass and I'm a newbie in the Linux world.
On Tuesday, October 4, 2011 11:58:13 AM UTC-5, Tim Yim wrote: