Forum: pgmemcache 2.0.6 released

Posted by: Hannu Valtonen
Date: 2011-05-02 21:16
Summary:pgmemcache 2.0.6 released
Project:pgmemcache

pgmemcache 2.0.6
================
* Fix building on earlier releases than 9.1. (thanks for the bugreport from Florian Von Block)
* Add libsasl2-dev to build deps

Sponsors Ads

Latest News

pgmemcache 2.1.1 released

Hannu Valtonen - 2013-05-21 21:30 -

pgmemcache 2.1.0 released

Hannu Valtonen - 2013-05-21 21:30 -

pgmemcache 2.0.6 released

Hannu Valtonen - 2011-05-02 21:16 -

pgmemcache 2.0.5 released

Hannu Valtonen - 2011-05-02 21:15 -

pgmemcache 2.0.4 released

Hannu Valtonen - 2010-05-08 14:15 -
Monitor Forum | Start New Thread Start New Thread
CentOS 5.6 pgmemcache make failed [ reply ]
By: Benson Jin on 2012-06-06 18:24
[forum:1016693]
Hi All,

I have been searching every corner of the net for a few days now, and I still can not get the pgmemcache_2.0.6 compiled in my CentOS 5.6 box. Below is my environment:
CentOS 5.6
Kenel: 2.6.18-238.el5
PostgreSQL: 9.0.4 64bit with FP datetime
SASL: cyrus-sasl-devel-2.1.22-5.el5_4.3
gcc: 4.1.2 and 4.4.6 (neither works)

Error:
sed 's,MODULE_PATHNAME,$libdir/pgmemcache,g' pgmemcache.sql.in >pgmemcache.sql
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-str liasing -fwrapv -fpic -I. -I. -I/usr/pg9/include/postgresql/server -I/usr/pg9/include/postgresql/interna GNU_SOURCE -c -o pgmemcache.o pgmemcache.c
In file included from pgmemcache.c:11:
pgmemcache.h:26: error: expected identifier or â(â before â-â token
pgmemcache.h:26: error: stray â#â in program
In file included from /usr/local/include/libmemcached-1.0/memcached.h:87,
from /usr/local/include/libmemcached/memcached.h:39,
from pgmemcache.h:27,
from pgmemcache.c:11:
/usr/local/include/libmemcached-1.0/struct/server.h:75: error: expected specifier-qualifier-list before ached_socket_tâ
In file included from pgmemcache.c:11:
pgmemcache.h:28:33: error: libmemcached/server.h: No such file or directory
In file included from pgmemcache.c:11:
pgmemcache.h:29: error: expected identifier or â(â before â-â token
pgmemcache.h:29: error: stray â#â in program
pgmemcache.h:70: error: expected â)â before â*â token
pgmemcache.c:31: error: declaration of âsasl_callbacksâ as array of voids
pgmemcache.c:33: error: âSASL_CB_USERâ undeclared here (not in a function)
pgmemcache.c:34: error: âSASL_CB_AUTHNAMEâ undeclared here (not in a function)
pgmemcache.c:35: error: âSASL_CB_PASSâ undeclared here (not in a function)
pgmemcache.c:35: error: âget_sasl_passwordâ undeclared here (not in a function)
pgmemcache.c:36: error: âSASL_CB_LIST_ENDâ undeclared here (not in a function)
pgmemcache.c:40: warning: no previous prototype for â_PG_initâ
pgmemcache.c: In function âmemcache_get_multiâ:
pgmemcache.c:439: warning: passing argument 3 of âget_typlenbyvalalignâ from incompatible pointer type
pgmemcache.c:449: warning: passing argument 8 of âarray_refâ from incompatible pointer type
pgmemcache.c: In function âserver_stat_functionâ:
pgmemcache.c:829: warning: passing argument 1 of âmemcached_stat_get_keysâ discards qualifiers from poin arget type
pgmemcache.c: In function âget_sasl_usernameâ:
pgmemcache.c:864: error: âSASL_BADPARAMâ undeclared (first use in this function)
pgmemcache.c:864: error: (Each undeclared identifier is reported only once
pgmemcache.c:864: error: for each function it appears in.)
pgmemcache.c:869: error: âSASL_OKâ undeclared (first use in this function)
pgmemcache.c: At top level:
pgmemcache.c:872: error: expected â)â before â*â token
make: *** [pgmemcache.o] Error 1


Can someone please give us a hand in installing pgmemcache?

Thanks in advance!

Benson

Powered By FusionForge