[MacPorts] #36859: can't install php54-memcached; it uses libmemcached 0.34
MacPorts
noreply at macports.org
Fri Nov 2 19:06:42 PDT 2012
#36859: can't install php54-memcached; it uses libmemcached 0.34
---------------------------+--------------------------
Reporter: asuth@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: libmemcached |
---------------------------+--------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => ryandesign@…
Old description:
> I can't install php54-memcached.
>
> $ sudo port install php54-memcached
> ---> Computing dependencies for php54-memcached
> ---> Dependencies to be installed: libmemcached
> ---> Fetching archive for libmemcached
> ---> Attempting to fetch libmemcached-0.34_0.darwin_12.x86_64.tbz2 from
> http://packages.macports.org/libmemcached
> ---> Attempting to fetch libmemcached-0.34_0.darwin_12.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/libmemcached
> ---> Attempting to fetch libmemcached-0.34_0.darwin_12.x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/libmemcached
> ---> Fetching distfiles for libmemcached
> ---> Verifying checksum(s) for libmemcached
> ---> Extracting libmemcached
> ---> Configuring libmemcached
> ---> Building libmemcached
> ...
>
> And it fails with:
> :info:configure checking for libmemcached location... configure: error:
> Can't find libmemcached 1.0.x headers under "/opt/local"
> :info:configure Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_php_php-
> memcached/php54-memcached/work/memcached-2.1.0" && ./configure
> --prefix=/opt/local --with-php-config=/opt/local/bin/php-config54 --with-
> libmemcached-dir=/opt/local --with-zlib-dir=/opt/local
> :info:configure Exit code: 1
> :error:configure org.macports.configure for port php54-memcached
> returned: configure failure: command execution failed
>
> There appear to be two versions of libmemcached:
>
> $ port search libmemcached
> libmemcached @0.34 (devel)
> libmemcached is a C and C++ client library to the memcached server
>
> libmemcached @1.0.10 (devel)
> libmemcached is a C and C++ client library to the memcached server
>
> And it's using the wrong one?
New description:
I can't install php54-memcached.
{{{
$ sudo port install php54-memcached
---> Computing dependencies for php54-memcached
---> Dependencies to be installed: libmemcached
---> Fetching archive for libmemcached
---> Attempting to fetch libmemcached-0.34_0.darwin_12.x86_64.tbz2 from
http://packages.macports.org/libmemcached
---> Attempting to fetch libmemcached-0.34_0.darwin_12.x86_64.tbz2 from
http://lil.fr.packages.macports.org/libmemcached
---> Attempting to fetch libmemcached-0.34_0.darwin_12.x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/libmemcached
---> Fetching distfiles for libmemcached
---> Verifying checksum(s) for libmemcached
---> Extracting libmemcached
---> Configuring libmemcached
---> Building libmemcached
...
}}}
And it fails with:
{{{
:info:configure checking for libmemcached location... configure: error:
Can't find libmemcached 1.0.x headers under "/opt/local"
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_php_php-memcached/php54-memcached/work/memcached-2.1.0"
&& ./configure --prefix=/opt/local --with-php-config=/opt/local/bin/php-
config54 --with-libmemcached-dir=/opt/local --with-zlib-dir=/opt/local
:info:configure Exit code: 1
:error:configure org.macports.configure for port php54-memcached returned:
configure failure: command execution failed
}}}
There appear to be two versions of libmemcached:
{{{
$ port search libmemcached
libmemcached @0.34 (devel)
libmemcached is a C and C++ client library to the memcached server
libmemcached @1.0.10 (devel)
libmemcached is a C and C++ client library to the memcached server
}}}
And it's using the wrong one?
--
Comment:
We only have libmemcached 1.0.10 in MacPorts. Do you perhaps have a local
portfile of libmemcached 0.34?
--
Ticket URL: <https://trac.macports.org/ticket/36859#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list