View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000117 | Pgpool-II | Incompatible change | public | 2014-10-07 17:00 | 2014-11-28 14:10 |
| Reporter | yuri.kurenkov | Assigned To | Muhammad Usama | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | open | ||
| Platform | Linux | OS | CentOS | OS Version | 6.5 |
| Summary | 0000117: Can't build pgpool-II 3.3.4 with new libmemcached | ||||
| Description | After upgrading CentOS 6.5 to latest security fixes libmemceched was upgraded from libmemcached-0.31-1.1.el6.x86_64 libmemcached-devel-0.31-1.1.el6.x86_64 to libmemcached-devel-1.0.17-1.rhel6.x86_64 libmemcached-1.0.17-1.rhel6.x86_64 This upgrade was broke building pgpool-II with memcached support. Downgrade libmemcached and libmecached-devel solve this problem. | ||||
| Steps To Reproduce | Build pgpool-II-3.3.4 with libmemcached-1.0.17 from sources | ||||
| Additional Information | ./configure --host=x86_64-redhat-linux-gnu --build=x86_64-redhat-linux-gnu \ --program-prefix= \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --datadir=/usr/share \ --includedir=/usr/include \ --libdir=/usr/lib64 \ --libexecdir=/usr/libexec \ --localstatedir=/var \ --sharedstatedir=/var/lib \ --mandir=/usr/share/man \ --infodir=/usr/share/info --with-pgsql=/usr/pgsql-9.2 \ --disable-static --with-pam --with-openssl=/usr --disable-rpath \ --with-memcached=/usr/include/memcached \ --sysconfdir=/etc/pgpool-II/ .... checking libmemcached/memcached.h usability... yes checking libmemcached/memcached.h presence... yes checking for libmemcached/memcached.h... yes checking for memcached_create in -lmemcached... no configure: error: libmemcached is not installed | ||||
| Tags | No tags attached. | ||||
|
|
worked for me. [t-ishii@localhost pgpool-II-3.3.4]$ cat /etc/centos-release CentOS release 6.5 (Final) [t-ishii@localhost pgpool-II-3.3.4]$ rpm -qa|grep libmemcached libmemcached-devel-1.0.17-1.rhel6.x86_64 libmemcached-1.0.17-1.rhel6.x86_64 [t-ishii@localhost pgpool-II-3.3.4]$ ./configure --with-openssl --with-memcached=/usr : : checking libmemcached/memcached.h usability... yes checking libmemcached/memcached.h presence... yes checking for libmemcached/memcached.h... yes checking for memcached_create in -lmemcached... yes checking for PQexecPrepared in -lpq... yes checking for PQprepare... yes checking whether to use row lock against the sequence table for insert_lock... no checking whether to use table lock against the target table for insert_lock... no configure: creating ./config.status config.status: creating Makefile config.status: creating parser/Makefile config.status: creating pcp/Makefile config.status: creating watchdog/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands |
|
|
Yes, my mistake is --with-memcached=%{_includedir}/memcached in my pgpool.spec to build 3.3.4. But before libmemcached-1.0.17 pgpool-II up to 3.3.3 builds with this option. But one more stone exist: my old --with-openssl=/usr broke build. This is diff for fixed pgpool.spec: # diff -u pgpool.spec.orig pgpool.spec.new --- pgpool.spec.orig 2014-10-07 11:36:33.575527062 +0400 +++ pgpool.spec.new 2014-11-11 17:35:14.015608872 +0300 @@ -76,8 +76,8 @@ %build %configure --with-pgsql=%{pghome} \ - --disable-static --with-pam --with-openssl=/usr --disable-rpath \ - --with-memcached=%{_includedir}/memcached \ + --disable-static --with-pam --with-openssl --disable-rpath \ + --with-memcached=%{_usr} \ --sysconfdir=%{_sysconfdir}/pgpool-II/ make %{?_smp_flags} |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-10-07 17:00 | yuri.kurenkov | New Issue | |
| 2014-11-06 08:10 | t-ishii | Assigned To | => Muhammad Usama |
| 2014-11-06 08:10 | t-ishii | Status | new => assigned |
| 2014-11-08 09:09 | t-ishii | Note Added: 0000489 | |
| 2014-11-11 23:39 | yuri.kurenkov | Note Added: 0000490 | |
| 2014-11-28 14:10 | t-ishii | Status | assigned => resolved |