понедельник, 26 января 2009 г.

Compile memcached windows (Cygwin) (all tests passed !!!)

Memcached win32 32 bit you can download from here
all tests from folder "t" passed ,

but in libevent test

Simple DNS resolve: [Timed out] FAILED
IPv6 DNS resolve: [Timed out] SKIPPED
Simple reverse DNS resolve: [Timed out] FAILED


//==============================================================
if you want install youself

1) you need
http://win6.jp/Cygwin/cygwin-1.5.25-15-ipv6-0.22.zip
http://monkey.org/~provos/libevent-1.4.9-stable.tar.gz
http://www.danga.com/memcached/dist/memcached-1.2.6.tar.gz

2) unpack cygwin-1.5.25-15-ipv6-0.22.zip - into you cygwin folder
about this files read site http://win6.jp/Cygwin/

3) in libevent http.c file add line ---> #define EAI_SYSTEM 11
now install libevent
./configure
make
make install

4) in memcached.c file add 3 lines --->

#define AI_PASSIVE 0x0020
#define AI_ADDRCONFIG 0x0001
#define EAI_SYSTEM 11
now install memcached

5) i run all tests and all tests passed !!!!!!! (unlike mamcached compile in visual studio )

Комментариев нет:

Отправить комментарий