On Mon, Nov 30, 2009 at 8:09 AM, FrankLane <reiser.p...@gmail.com> wrote:
>
> Hi - I downloaded sqlite-amalgamation-3_6_20.zip and now I have a folder with
> three files: sqlite3.c, sqlite3.h, and sqlite3ext.h. I have no idea what to
> do next. I have a Mac 2.4 GHz Intel Core 2 Duo running Mac OS X 10.6.1. Can
> anyone guide me to a page that steps me through an installation process?


What you should do next depends on what you want to do next. Do you
want to just use the sqlite database from the command line as is? In
that case, do what Simon told you in a different email, that is, use
the sqlite version that comes with the operating system. You can find
it at /usr/bin/sqlite3 and its header files under /usr/include

If you want to tinker with the sqlite source code, tweak the compile
time settings, or just want the latest version, then, make sure you
have the developer tools installed (Xcode), then go into your folder
that you downloaded above and type

sqlite-src % ./configure
sqlite-src % make
sqlite-src % sudo make install

The above three commands will build a new version of sqlite and
install it under /usr/local/

Then, make sure that /usr/local/bin comes before /usr/bin in your
search path and fire up /usr/local/bin/sqlite3 and have fun.



-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
Sent from Madison, WI, United States
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to