Libdbi-drivers version 0.8.3-1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    libdbi-drivers  most recent diff


    version 0.8.3-1

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


      The libdbi-drivers Portfile 52353 2009-06-15 01:32:57Z ryandesign macports.org $

      PortSystem 1.0

      Name: libdbi-drivers
      Version: 0.8.3-1
      Category: databases devel
      Maintainers: umich.edu:mta
      Description: Drivers for libdbi
      Long Description: $description
      Homepage: http://libdbi.sourceforge.net/
      Platform: darwin
      Master Sites: sourceforge

      Checksums: md5 4de79b323162a5a7652b65b608eca6cd sha1 599fbab115419e8fc88b3b31a38031584ee213b5 rmd160 e0aa9e67f6560fb44018b1d35d90d4ac21b48597

      depends_lib port:libdbi

      configure.args --with-dbi-incdir=${prefix}/include --with-dbi-libdir=${prefix}/lib --disable-docs

      if {![variant_isset mysql5] && ![variant_isset postgresql83] &&
      ![variant_isset sqlite2] && ![variant_isset sqlite3]} {
      default_variants +sqlite3
      }

      Variant: mysql5 description "Include drivers for MySQL" {
      configure.args-append --with-mysql --with-mysql-incdir=${prefix}/include/mysql5 --with-mysql-libdir=${prefix}/lib/mysql5/mysql
      depends_lib-append path:bin/mysql_config5:mysql5
      }

      Variant: postgresql83 description "Include drivers for PostgreSQL" {
      configure.args-append --with-pgsql --with-pgsql-incdir=${prefix}/include/postgresql83 --with-pgsql-libdir=${prefix}/lib/postgresql83
      depends_lib-append port:postgresql83
      }

      Variant: sqlite2 description "Include drivers for SQLite" {
      configure.args-append --with-sqlite --with-sqlite-dir=${prefix}
      depends_lib-append port:sqlite2
      }

      Variant: sqlite3 description "Include drivers for SQLite3" {
      configure.args-append --with-sqlite3 --with-sqlite3-dir=${prefix}
      depends_lib-append port:sqlite3
      }

      Variant: docs description "Build the documentation" {
      configure.args-delete --disable-docs
      depends_build-append port:openjade
      }

      Variant: debug description "Build debug version" {
      build.target debug
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.