免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1863 | 回复: 0

[其他] libmemcache 如何在windows中安装 [复制链接]

论坛徽章:
0
发表于 2012-12-19 17:30 |显示全部楼层
通过打开libmemcached-1.0.14中的 README.win32 的说明,如下:
So you want to know how to build libmemcached on Windows? In order to
have a single build environment you need to install mingw to get a
"unix environment" to run the configure script.

An easy way to get started is to install the msysgit fullinstall
package from: http://code.google.com/p/msysgit/downloads/list

msysgit does not contain the "autotools" needed to generate a
configure script, so you need to generate that on another box (this
should not be a problem if you're trying to build from a tar archive).

msysgit does not contain the tools to build the documentation, so you
need to add --without-docs to configure.

I'm normally building libmemcached with:

Ex:
$ ./configure --without-docs --with-memcached=../memcached/memcached.exe
$ make all install

libmemcached-1.0.14的下载地址:http://download.tangent.org/libmemcached-1.0.14.tar.gz
msysgit fullinstall package 下载地址:http://code.google.com/p/msysgit/downloads/list
http://211.162.127.23/download/2 ... preview20121022.exe

1.下载并解压好libmemcached-1.0.14
2.下载并安装msysgit
3.运行msys.bat
4.进入libmemcached-1.0.14的目录
$ cd  libmemcached-1.0.14
$ ./configure --without-docs --with-memcached
$make all install

结果出错了,请高手指点一把~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP