Sqlite3 version 3.6.19 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    sqlite3  most recent diff


    version 3.6.19

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


      The sqlite3 Portfile 59629 2009-10-18 10:35:46Z mww macports.org $

      PortSystem 1.0

      Name: sqlite3
      Version: 3.6.19
      Category: databases
      Platform: darwin
      Maintainers: mww
      Description: an embedded SQL database engine
      Long Description: SQLite3 is an SQL database engine in a C library. Programs that link the SQLite3 library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite3) that can be used to administer an SQLite3 database and which serves as an example of how to use the SQLite3 library.

      Homepage: http://www.sqlite.org/
      Master Sites: ${homepage}
      distname sqlite-${version}
      dist_subdir ${name}/${version}
      Checksums: md5 aa03cc24a52851bb204fc1e489e195e8 sha1 1f85a324edfb42ec00bb6dbbec5a178346c950ee rmd160 119db76399eca04f21051c6ff156ccbb0c8d35b5

      depends_lib port:readline port:ncurses

      # '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)
      # '-lncurses' is needed to build universal on Tiger; see #15661
      configure.args --enable-threadsafe --disable-tcl --enable-load-extension --with-readline-inc="-I${prefix}/include" --with-readline-lib="-L${prefix}/lib -lreadline -lm -lncurses"
      # search in worksrcpath for sqlite3.h first -- dont pick up an installed one!
      configure.cppflags "-DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include"

      use_parallel_build no
      build.type gnu

      test.run yes
      test.target test

      livecheck.type regex
      livecheck.url http://www.sqlite.org/download.html
      livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\.

      post-destroot {
      xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.