Error while building couch base from Source
I am trying to install Couchbase from souce file and get the below error. Any help will be highly appreciated :)
Steps followed :
Downloaded the tar file.
Untar
Modified MakeFile to change install location "TOPDIR := /Users/user1/couchbase"
Error:
In file included from libmemc.c:28:
vbucket.h:26:32: error: libvbucket/vbucket.h: No such file or directory
libmemc.c: In function ‘binary_get’:
libmemc.c:533: error: unknown field ‘vbucket’ specified in initializer
libmemc.c: At top level:
libmemc.c:626: error: ‘PROTOCOL_BINARY_RESPONSE_NOT_MY_VBUCKET’ undeclared here (not in a function)
libmemc.c:626: error: array index in initializer not of integer type
libmemc.c:626: error: (near initialization for ‘response_texts’)
libmemc.c:631: error: ‘PROTOCOL_BINARY_RESPONSE_NOT_SUPPORTED’ undeclared here (not in a function)
libmemc.c:631: error: array index in initializer not of integer type
libmemc.c:631: error: (near initialization for ‘response_texts’)
libmemc.c:632: error: ‘PROTOCOL_BINARY_RESPONSE_EINTERNAL’ undeclared here (not in a function)
libmemc.c:632: error: array index in initializer not of integer type
libmemc.c:632: error: (near initialization for ‘response_texts’)
libmemc.c:633: error: ‘PROTOCOL_BINARY_RESPONSE_EBUSY’ undeclared here (not in a function)
libmemc.c:633: error: array index in initializer not of integer type
libmemc.c:633: error: (near initialization for ‘response_texts’)
libmemc.c:634: error: ‘PROTOCOL_BINARY_RESPONSE_ETMPFAIL’ undeclared here (not in a function)
libmemc.c:634: error: array index in initializer not of integer type
libmemc.c:634: error: (near initialization for ‘response_texts’)
libmemc.c: In function ‘binary_store’:
libmemc.c:670: error: unknown field ‘vbucket’ specified in initializer
libmemc.c:679: warning: initialized field overwritten
libmemc.c:679: warning: (near initialization for ‘request.message’)
make[1]: *** [libmemc.o] Error 1
make: *** [make-install-memcachetest] Error 2