Download and Install db41 version 4.1.25 on Mac OS X
Monday the 8th of September, 2008

    db41  most recent diff


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



      # $Id: Portfile 36876 2008-05-17 03:38:53Z ryandesign macports.org $

      PortSystem 1.0
      Name: db41
      Version: 4.1.25
      revision 1
      Category: databases
      Maintainers: nomaintainer
      Platform: darwin
      use_parallel_build yes
      Description: The Berkeley DB package, version 4.1
      Long Description: Version 4.1 of the Berkeley Data Base library which offers (key/value) storage with optional concurrent access or transactions interface. This port will install the AES (American Encryption Standard) enabled version. Utilities are included in the distribution to convert v1.85 databases to v4.1 databases, and a backwards compatible API is provided to maintain compatibility with programs using the v1.85 interface.

      Homepage: http://www.oracle.com/database/berkeley-db/
      master_sites http://download-west.oracle.com/berkeley-db/ http://download-east.oracle.com/berkeley-db/ http://download-uk.oracle.com/berkeley-db/
      patch_sites http://www.oracle.com/technology/products/berkeley-db/db/update/${version}/
      patchfiles patch.${version}.1 patch.${version}.2 patch.${version}.3
      distname db-${version}
      patch.dir ${workpath}/${distname}
      dist_subdir db4
      checksums ${distname}${extract.suffix} sha1 1c595d43c062cd340f430cb051c7d6a106ad5191 patch.${version}.1 sha1 755774f9c3d9a398d3e25f0b0a5ea7712e29a2c0 patch.${version}.2 sha1 bc80c9cf2417d660c15723afd35d3b10d6701ffe patch.${version}.3 sha1 42ae0a5eb71d7a14a47d1a0807977593841d3e7f

      worksrcdir ${distname}/build_unix

      configure.cmd ../dist/configure
      configure.args --enable-cxx --enable-compat185 --enable-dump185 --includedir=\\\${prefix}/include/db41 --libdir=\\\${prefix}/lib/db41 --program-transform-name="s,^db,db41," --disable-tcl

      destroot.destdir prefix=${destroot}${prefix} docdir=${destroot}${prefix}/share/${name}-${version}/

      post-destroot {
      delete ${destroot}${prefix}/share
      foreach lib { libdb.a libdb_cxx.a } {
      delete ${destroot}${prefix}/lib/db41/${lib}
      }
      foreach bin { archive dump dump185 printlog upgrade checkpoint recover verify deadlock load stat } {
      file rename ${destroot}${prefix}/bin/db_${bin} ${destroot}${prefix}/bin/db41_${bin}
      }
      }


    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/db41
      % sudo port install db41
      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 db41
      ---> Verifying checksum for db41
      ---> Extracting db41
      ---> Configuring db41
      ---> Building db41 with target all
      ---> Staging db41 into destroot
      ---> Installing db41
    - 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 db41 with these commands:
      %  man db41
      % apropos db41
      % which db41
      % locate db41

     Where to find more information:

    Darwin Ports



    image test