# libmemcache 如何在windows中安装（很急！！！）

mickey_52 发布于 2012/12/20 10:22

 通过打开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 结果出错了，请高手指点一把~

0
Post your error message first as detail as possible.
0

0

#### 引用来自“李珍珍”的答案

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).

0

#### 引用来自“bcui6611”的答案

Post your error message first as detail as possible.
erro like : ./libmemcached-1.0/struct/sasl.h:39:23: error sasl/sasl.h :No such file or directory

./libmemcached-1.0/struct/sasl.h:47: error ISO C++ forbids declaration of 'sasl_callback_t' with notype ....

I think i just not understanding the text of

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).

can you help me？ thank you very much！

0

m