Richard,

Kindly send the questions to the list, as there are way more knowledgeable SQLite and Mac users on the list than I am... however, I will fumble through an answer below...

On Sep 13, 2005, at 6:47 PM, Richard Nagle wrote:

Now what command would I use to compile a self standing
application for Mac users..

Since, I have the build folder.


Building a standalone app is a bit tricky... you have to ask why you want to do that. SQLite is a "faceless" application. Think of the command-line as the face to SQLite. What you really want to build is a face to SQLite. For that, you might be well advised to use Tito Cuiro's very nice Quicklite, which includes SQLite. See <http://www.webbotech.com/quickliteoverview.html>. Or download the SQLite Browser from sf.net. It has SQLite built in. Or the Perl DBD, or PHP... they all come with SQLite.

If you simply want to provide other users with the compiled files that you built, well, you can grab the SQLite binary from /usr/local/bin, and the supporting libraries from /usr/local/lib and, for good measure, the header file from /usr/local/include, put them in a similar folder hierarchy, zip them up, and make them available. But then, they will have to insure they put the files in their correct places, and they still will not have an "application" so to say. That would be way too much work both on your part and on your users' part... wouldn't it be just easier for them to download the source and build it themselves?

cd ~
mkdir sqlite_src
cd sqlite_src
curl http://www.sqlite.org/sqlite-3.2.5.tar.gz -o "sqlite-3.2.5.tar.gz"
tar xzf sqlite-3.2.5.tar.gz
./configure
make
sudo make install
make doc
cp -R doc ~/Sites/

You are done.


--
Puneet Kishor

Reply via email to