mickey_51 发表于 2012-12-19 17:30

libmemcache 如何在windows中安装

通过打开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/25093847/30456352/5/exe/79/58/1351965222223_570/msysGit-fullinstall-1.8.0-preview20121022.exe)

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

结果出错了,请高手指点一把~
页: [1]
查看完整版本: libmemcache 如何在windows中安装