Download and Install db46 version 4.6.21 on Mac OS X
Thursday the 3rd of July, 2008

    db46  most recent diff


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



      # $Id: Portfile 36877 2008-05-17 03:45:14Z ryandesign macports.org $

      PortSystem 1.0

      Name: db46
      Version: 4.6.21
      revision 1
      Category: databases
      Maintainers: blair openmaintainer
      Platform: darwin
      use_parallel_build yes
      Description: The Berkeley DB package, version 4.6
      Long Description: Version 4.6 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.

      Homepage: http://www.oracle.com/database/berkeley-db/index.html
      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
      distname db-${version}
      patch.dir ${workpath}/${distname}
      dist_subdir db4
      checksums ${distname}${extract.suffix} md5 718082e7e35fc48478a2334b0bc4cd11 patch.${version}.1 md5 4878872edfc53c6ecb871b1062a4bdaf

      worksrcdir ${distname}/build_unix

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

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

      post-destroot {
      foreach lib { libdb.a libdb_cxx.a } {
      delete ${destroot}${prefix}/lib/db46/${lib}
      }
      foreach bin { archive hotbackup dump printlog upgrade checkpoint recover verify deadlock load stat codegen } {
      move ${destroot}${prefix}/bin/db_${bin} ${destroot}${prefix}/bin/db46_${bin}
      }
      }

      Variant: java description {Enable java bindings} {
      configure.args-append --enable-java
      }

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

     Where to find more information:

    Darwin Ports



    image test