Post by Dan M. WallI am an experienced Windows user and application developer. I am now
attempting to actually use a Mac!! God forbid!!
I have an SQLite database and I'm trying to figure out how to install
SQLite so I can view it and update it. I downloaded the bin files
but I'm obviously missing something.
Mac OS X 10.5 already has SQLite 3.4.0 installed. That's not exactly
new, but if all you need to do is open a vanilla file and poke
around, you could do OK.
I assume you've already found /Applications/Utilities/Terminal.app,
and are working in the command line.
You should be able to use the installed "/usr/bin/sqlite3" shell by just
issuing the command:
$ sqlite3 <database name>
If you need to install a newer version, make sure you've got the full
Development tools installed. You don't need the IDE for SQLite, but
you need the compilers.
If you download and unpack the amalgamation source, you can just
issue the command:
$ cc -o sqlite3 sqlite3.c shell.c
And that will build the sqlite3 binary. And any defines (-D), like
SQLITE_ENABLE_FTS, that you might require:
$ cc -DSQLITE_ENABLE_FTS -DSQLITE_ENABLE_RTREE -o sqlite3 sqlite3.c shell.c
Post by Dan M. WallPlease forgive my Mac OSX ignorance! Any help you can provide would be
greatly appreciated!
Unless you're doing desktop stuff with XCode, developing for Mac OS X
is really about developing for UNIX. OS X has a more BSD flavor than
Linux, but knowledge is generally somewhat cross-compatible.
-j
--
Jay A. Kreibich < J A Y @ K R E I B I.C H >
"Our opponent is an alien starship packed with atomic bombs. We have
a protractor." "I'll go home and see if I can scrounge up a ruler
and a piece of string." --from Anathem by Neal Stephenson