[MacPorts] #36859: can't install php54-memcached; it uses libmemcached 0.34

MacPorts noreply at macports.org
Fri Nov 2 18:39:22 PDT 2012


#36859: can't install php54-memcached; it uses libmemcached 0.34
---------------------+--------------------------------
 Reporter:  asuth@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.1.2
 Keywords:           |       Port:  libmemcached
---------------------+--------------------------------
 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/36859>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list