您的位置:首页 > 其它

ubuntu 解压命令

2015-04-07 12:12 239 查看
系统已安装:

1. tcmalloc (google-perftools-1.4 )

2. libmemcached v0.35(v0.30+)

编译gearmand-0.10:

tar zxvf gearmand-0.10.tar.gz

./compile-gearman.sh

=========gearman.sh=====

make distclean

CC=icc \

CXX=icpc \

CFLAGS=” -O3 -ip -std=gnu99 -no-prec-div -xSSE3 -axSSE4.2,SSE4.1,SSE3 -static-intel -no-gcc” \

CPPFLAGS=’-I/opt/local/include -Wno-error’ \

LDFLAGS=’-L/opt/local/lib’ \

./configure \

–prefix=/opt/gearmand \

–enable-tcmalloc \

–disable-libsqlite3 \

–disable-libdrizzle \

–with-libevent-prefix=/opt/local \

–with-libmemcached-prefix=/opt/local

make install

=======end===

note:

1. 关闭gcc宏定义

2. 打开std gnu99支持

3. -ipo failed
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: