tags:

views:

11

answers:

1

I have SQLite 3.6.7 and i wanted to update it. Can any one say how to update my SQLite to the latest version step by step ...

Im developing OS X apps for this im using SQLite 3.6.7 ...But I came to know that i cant directly use foreign keys so i want to update my SQLite to the latest version ... Can any one help me out with this by mentioning the step by step procedure to do it ...

+1  A: 

Download the "amalgamation" tarball for UNIX-like systems.

Extract the contents.

Launch Terminal, and cd to the extracted directory.

Type:

CFLAGS='-arch i686 -arch x86_64' LDFLAGS='-arch i686 -arch x86_64' ./configure --disable-dependency-tracking

make

make install

Strictly speaking, the first line above could just be ./configure. The CFLAGS LDFLAGS --disable-dependency-tracking thing isn't necessary, but it makes a library that can be used from both 32-bit and 64-bit apps.

Doug Currie