buaazp / zimg

A lightweight and high performance image storage and processing system.
http://zimg.buaa.us
BSD 3-Clause "New" or "Revised" License
2.69k stars 402 forks source link

关于编译zimg的问题 #141

Closed likai2016 closed 8 years ago

likai2016 commented 8 years ago

你好,我按照安装文档的步骤,到了编译zimg的程序,出现了【MEMCACHED_BEHAVIOR_TCP_KEEPALIVE’】没有定义的错误,请问是不是memcached的包有问题?

/home/zimg/setup/zimg/src/main.c:404: error: ‘MEMCACHED_BEHAVIOR_TCP_KEEPALIVE’ undeclared (first use in this function) /home/zimg/setup/zimg/src/main.c:404: error: (Each undeclared identifier is reported only once /home/zimg/setup/zimg/src/main.c:404: error: for each function it appears in.) /home/zimg/setup/zimg/src/main.c: In function ‘main’: /home/zimg/setup/zimg/src/main.c:576: error: ‘MEMCACHED_BEHAVIOR_TCP_KEEPALIVE’ undeclared (first use in this function)

likai2016 commented 8 years ago

应该找到问题了 是因为版本的问题,因为我找到的网上的文章说[libmemcached-0.42.tar.gz], 但是安装手册是说必须是[libmemcached should >= 1.0.18]