Difference between revisions of "SQLite: Compile dari source"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 5: | Line 5: | ||
Compile SQLite: | Compile SQLite: | ||
− | wget | + | wget https://sqlite.org/2014/sqlite-autoconf-3080401.tar.gz |
− | cp sqlite-autoconf- | + | cp sqlite-autoconf-3080401.tar.gz /usr/local/src |
cd /usr/local/src | cd /usr/local/src | ||
− | tar zxvf sqlite-autoconf- | + | tar zxvf sqlite-autoconf-3080401.tar.gz |
− | cd /usr/local/src/sqlite-autoconf- | + | cd /usr/local/src/sqlite-autoconf-3080401 |
./configure | ./configure | ||
make | make |
Latest revision as of 09:06, 14 March 2014
Siapkan pendukung
sudo apt-get install build-essential
Compile SQLite:
wget https://sqlite.org/2014/sqlite-autoconf-3080401.tar.gz cp sqlite-autoconf-3080401.tar.gz /usr/local/src cd /usr/local/src tar zxvf sqlite-autoconf-3080401.tar.gz cd /usr/local/src/sqlite-autoconf-3080401 ./configure make sudo make install sudo ldconfig
Pastikan ldconfig di jalankan
Cek sqlite3
sqlite3 --version
Error header mismatch
Jika di jalankan sqlite3 keluar
SQLite header and source version mismatch 2010-08-23 18:52:01 42537b60566f288167f1b5864a5435986838e3a3 2011-06-28 17:39:05 af0d91adf497f5f36ec3813f04235a6e195a605f
SOLUSI:
- Coba remove file sqlite3 dari /usr/bin atau /usr/local/bin
- Compile lagi