Mysqlxx version 3.0.8 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    mysqlxx  most recent diff


    version 3.0.8

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


      The mysqlxx Portfile 57749 2009-09-16 04:30:02Z ryandesign macports.org $

      PortSystem 1.0

      Name: mysqlxx
      Version: 3.0.8
      Category: databases
      Maintainers: genetikayos.com:kayos
      Platform: darwin freebsd
      Description: C++ wrapper for MySQL's C API
      Long Description: MySQL++ is a C++ wrapper for MySQL's C API. It is built around STL principles, to make dealing with the database as easy as dealing with an STL container.
      Homepage: http://tangentsoft.net/mysql++/
      Master Sites: http://tangentsoft.net/mysql++/releases/
      distname mysql++-${version}
      Checksums: md5 b977bbf671df08661c15cde051db1513 sha1 060d81dcf284732a4dc3f74b305f48ec8d12150f rmd160 686fc71773c3d828ed01374ba383e2d58ea5f370

      depends_lib port:gettext port:zlib

      Variant: mysql4 conflicts mysql5 description {Build with MySQL 4 support} {
      depends_lib-append port:mysql4
      configure.args --with-mysql=${prefix}
      }

      Variant: mysql5 conflicts mysql4 description {Build with MySQL 5 support} {
      depends_lib-append path:bin/mysql_config5:mysql5
      configure.args --with-mysql-lib=${prefix}/lib/mysql5/mysql --with-mysql-include=${prefix}/include/mysql5/mysql
      }

      if {![variant_isset mysql4]} {
      default_variants +mysql5
      }

      livecheck.type regex
      livecheck.url [lindex ${master_sites} 0]?C=M&O=D
      livecheck.regex mysql\\+\\+-(\[0-9.\]+)\\.tar

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.