Hi,
Having major problems installing Gearman 0.28 with libDrizzle support.
Server:
Operating system Ubuntu 11.10
CPU Cores 1 core
RAM (Memory) 1GB
HDD (Disk Space) 50GB
Below my steps:
$wget https://launchpad.net/gearmand/trunk/0.28/+download/gearmand-0.28.tar.gz
$tar zfx gearmand-0.28.tar.gz
$cd gearmand-0.28/
$./configure
---
Configuration summary for gearmand version 0.28
* Installation prefix: /usr/local
* System type: unknown-linux-gnu
* Host CPU: x86_64
* C Compiler: gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
* Assertions enabled: yes
* Debug enabled: no
* Warnings as failure:
* Building with libsqlite3 no
* Building with libdrizzle yes
* Building with libmemcached no
* Building with libpq yes
* Building with tokyocabinet yes
Then:
$make
CXX libgearman-server/plugins/queue/drizzle/libgearman_server_libgearman_server_la-queue.lo
libgearman-server/plugins/queue/drizzle/queue.cc: In function 'gearmand_error_t gearman_server_queue_libdrizzle_init(gearmand::plugins::queue::Drizzle*, gearman_server_st*)':
libgearman-server/plugins/queue/drizzle/queue.cc:417:66: error: 'drizzle_column_skip_all' was not declared in this scope
libgearman-server/plugins/queue/drizzle/queue.cc: In function 'gearmand_error_t _libdrizzle_add(gearman_server_st*, void*, const char*, size_t, const char*, size_t, const void*, size_t, gearmand_job_priority_t, int64_t)':
libgearman-server/plugins/queue/drizzle/queue.cc:498:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:498:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:498:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 10 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:498:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 12 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:498:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:498:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:498:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 10 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:498:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 12 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:509:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:509:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:509:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 9 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:509:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 11 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:509:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:509:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:509:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 9 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:509:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 11 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc: In function 'gearmand_error_t _libdrizzle_done(gearman_server_st*, void*, const char*, size_t, const char*, size_t)':
libgearman-server/plugins/queue/drizzle/queue.cc:568:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:568:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:568:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 8 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:568:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 10 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:568:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:568:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'std::basic_string<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:568:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 8 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
libgearman-server/plugins/queue/drizzle/queue.cc:568:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 10 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat]
make[1]: *** [libgearman-server/plugins/queue/drizzle/libgearman_server_libgearman_server_la-queue.lo] Error 1
make[1]: Leaving directory `/root/gearmand-0.28'
make: *** [all] Error 2
You need to use the version of libdrizzle via lp:libdrizzle (i.e. trunk)