Memcached version 1.4.3 - How to Download and Install on Mac OS X
Tuesday the 9th of February, 2010

    memcached  most recent diff


    version 1.4.3

      View the most recent changes for the memcached port at: memcached.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for memcached.
      The raw portfile for memcached 1.4.3 is located here:
      http://memcached.darwinports.com/dports/sysutils/memcached/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/memcached


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The memcached Portfile 60355 2009-11-09 23:13:57Z brett macports.org $

      PortSystem 1.0

      Name: memcached
      Revision: 1
      Version: 1.4.3
      Description: A high performance, distributed memory object caching system.
      Long Description: Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
      Maintainers: brett
      Category: sysutils
      Platform: darwin
      Homepage: http://www.danga.com/memcached/
      Master Sites: googlecode:memcached
      Checksums: md5 83c6cc6bad9612536b5acbbbddab3eb3 sha1 d442ed2429b655cb639fec2cfb3e0461bdeecddf
      configure.args --mandir=${prefix}/share/man --with-libevent=${prefix}
      depends_lib port:libevent

      startupitem.create yes
      startupitem.name memcached
      startupitem.start "${prefix}/bin/memcached -u nobody -m 64 -c 10240 -p 11211 -d"
      startupitem.stop "/usr/bin/killall memcached"

      pre-configure {
      if {[info exists build_arch] && (${build_arch} == "x86_64" || $build_arch == "ppc64")} {
      configure.args-append --enable-64bit
      }
      }

      configure.args ac_cv_search_umem_cache_create=no ac_cv_header_umem_h=no

      Variant: sasl description {enable SASL authentication} {
      configure.args-append --enable-sasl
      }

      Variant: umem description {enable libumem support} {
      depends_lib-append port:umem
      configure.args-delete ac_cv_search_umem_cache_create=no
      configure.args-delete ac_cv_header_umem_h=no
      }

      livecheck.type regex
      livecheck.url ${homepage}download.bml
      livecheck.regex ${name}-(\\d+(?:\\.\\d+){2,})\\.

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/memcached
      % sudo port install memcached
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching memcached
      ---> Verifying checksum for memcached
      ---> Extracting memcached
      ---> Configuring memcached
      ---> Building memcached with target all
      ---> Staging memcached into destroot
      ---> Installing memcached
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using memcached with these commands:
      %  man memcached
      % apropos memcached
      % which memcached
      % locate memcached

     Where to find more information:

    Darwin Ports



    Lightbox this page.