博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Compiling gearman on CentOS 5.6
阅读量:6228 次
发布时间:2019-06-21

本文共 3312 字,大约阅读时间需要 11 分钟。

Compiling gearman on CentOS 5.6

Last updated: Sat, 03 Sep 2011 07:37:57 -0700View thread  at 

Hi Song,
How did you manage to compile 0.22 . I am trying to compile 0.22 on my 
64bit cent OS 5.6. I get this error on make:
configure: error: cannot find boost/program_options.hpp
Yeah but you said you managed to make 0.22 work but how?
On Aug 17, 3:37 am, Herman Radtke <hermanrad...*******> wrote: 
> >> I did that but still get compile errors.  I did manage to get 0.22 o 
> >> compile so I am trying that out. 
> > Hi Song, 
> > How did you manage to compile 0.22 . I am trying to compile 0.22 on my 
> > 64bit cent OS 5.6. I get this error on make: 
> > configure: error: cannot find boost/program_options.hpp 
> 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 
> hermanrad...*******
Thanks,
does libdrizzle work?
does libdrizzle work ? thanks :)
@Herman
I followed your steps and I get this:
checking for Boost headers version >= 1.39.0... yes 
checking for Boost's header version... 1_41 
checking for the toolset name used by Boost for g  ... gcc41 -gcc 
checking boost/program_options.hpp usability... yes 
checking boost/program_options.hpp presence... yes 
checking for boost/program_options.hpp... yes 
checking for the Boost program_options library... 
configure: error: cannot find the flags to link with Boost 
program_options
any idea?
Anyone having a problem setting up their gearman on CentOS 5.6
follow this steps and if you have problems reply to this thread:
@herman its been a while I was so busy
So here it is:
yum remove boost* 
yum install boost141* boost141-* libevent-devel* libevent 
cd /usr/lib/boost141 && /bin/cp -rf * ../ 
cd /usr/lib64/boost141 && /bin/cp -rf * ../ 
cd /usr/include && ln -s boost141/boost/
vi /etc/yum.repos.d/drizzle.repo
// add this
[drizzle-dev] 
name=drizzle-dev 
baseurl=http://rpm.drizzle.org/7-dev/redhat/5/$basearch/ 
enabled=0 
gpgcheck=0
yum install --enablerepo=drizzle-dev drizzle7 drizzle7-devel 
libdrizzle libdrizzle-devel
rpm -U    
wget     download/gearmand-0.24.tar.z 
tar xf gearmand-0.24.tar.gz 
cd gearmand-0.24 
libdrizzle_CFLAGS="-I/usr/include/libdrizzle-2.0" libdrizzle_LIBS="- 
ldrizzle-2.0" CXX=/usr/bin/g  44 CC=/usr/bin/gcc44 ./configure -- 
prefix=/usr 
make 
make test 
make install
My new lines where messed up so here it is, I will post it again:
yum remove boost* 
yum install boost141* boost141-* libevent-devel* libevent 
cd /usr/lib/boost141 && /bin/cp -rf * ../ 
cd /usr/lib64/boost141 && /bin/cp -rf * ../ 
cd /usr/include && ln -s boost141/boost/
vi /etc/yum.repos.d/drizzle.repo
// add this
[drizzle-dev] 
name=drizzle-dev 
baseurl=http://rpm.drizzle.org/7-dev/redhat/5/$basearch/ 
enabled=0 
gpgcheck=0
yum install --enablerepo=drizzle-dev drizzle7 drizzle7-devel 
libdrizzle libdrizzle-devel
rpm -U    
wget     download/gearmand-0.24.tar.z 
tar xf gearmand-0.24.tar.gz 
cd gearmand-0.24 
libdrizzle_CFLAGS="-I/usr/include/libdrizzle-2.0" libdrizzle_LIBS="- 
ldrizzle-2.0" CXX=/usr/bin/g  44 CC=/usr/bin/gcc44 ./configure -- 
prefix=/usr 
make 
make test 
make install
still messed up

转载于:https://www.cnblogs.com/jiamei/archive/2012/04/17/2453437.html

你可能感兴趣的文章
工作之忠、智、勇
查看>>
电子书下载:Beginning Nokia Apps Development: Using MeeGo, Mobile QT and OpenSymbian
查看>>
mysql 5.0存储过程学习总结
查看>>
matlab练习程序(Ritter‘s最小包围圆)
查看>>
SQL存储过程教程
查看>>
最详细的临时表,表变量的对比
查看>>
C#中直接打印Report文件(rdlc)
查看>>
C 温故知新 之 指针:基本概念&变量的指针和指向变量的指针
查看>>
引用计数
查看>>
C#:XML操作类 (转)
查看>>
struts2 API chm帮助文档生成介绍说明(转)
查看>>
ORACLE数据缓冲区DB cache
查看>>
数据字典统一管理,动态下拉框
查看>>
不让自己的应用程序在桌面的图标列表里启动显示的方法
查看>>
矩阵的坐标变换(转)
查看>>
汽车常识全面介绍 - 引擎详论
查看>>
枚举类型、结构体和类的区别
查看>>
AngularJS使用ngMessages进行表单验证
查看>>
【Spark 深入学习 01】 Spark是什么鬼?
查看>>
ASP.NET上传控件
查看>>