воскресенье, 25 января 2009 г.

Compile memcached-1.2.6 under windows Visual Studio 2005 (use Jellycan Code )

1) i use files from http://code.jellycan.com/memcached/
get memcached-1.2.6-win32-bin.zip
libevent
2) need folder memcached and libevent put together
/src/libevent
/src/memcached

and event-config.h (from \libevent\WIN32-Code ) copy to "/src/libevent"
and in memcached properties VS2005 add
Additional Include Directiories - ../../libevent/
3) now you can compile memcached ,
4) all files here , VS2005 solution
http://stream.ifolder.ru/10219356

5) exe here - http://stream.ifolder.ru/10219544

TESTS (Cygwin)
1) if you have cygwin
you can test memcached , in folder "t" you have test perl files ,
for run test , open cygwin shell

form cygwin_lib_perl.rar - unpack to cygwin folder
OR install cygwin_Cache-Memcached-1.24.tar.gz and cygwin_String-CRC32-1.4.tar.gz

2)you can run test separately test like this
>perl udp.t
and you can run run_all_tests.bat and view *.txt fils
you will see like this


3) you see that tests

stats.t
incrdecr.t
64bit.t

FILED !!! i dont know why !!!
who have linux or unix , all tests passed ???

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

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