Opened 12 years ago

Last modified 12 years ago

#36859 closed defect

can't install php54-memcached; it uses libmemcached 0.34 — at Initial Version

Reported by: asuth@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: libmemcached

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?

Change History (0)

Note: See TracTickets for help on using tickets.