Hi Simon, your "compile-sqlite3-rsync" page seems to be the top hit these days. After a good dealing of puzzling over why make sqlite3_rsync was failing I realized that it is because Apple's /usr/bin/make is GNU Make 3.81 and it does not understand something about sqlite's makefiles (perhaps the include of main.mk). To further confuse things, homebrew has this caveat in its "make" recipe that I only saw once I did a reinstall:
Caveats
GNU "make" has been installed as "gmake".
If you need to use it as "make", you can add a "gnubin" directory to your PATH from your bashrc like: ...
So building on gary_0's tip, the script for macOS is:
brew install make
git clone https://github.com/sqlite/sqlite.git
cd sqlite
./configure
gmake sqlite3-rsync
Building from the "Complete canonical source tree" on https://www.sqlite.org/download.html also works!
Thanks for all your great blogging :)
Hi Simon, your "compile-sqlite3-rsync" page seems to be the top hit these days. After a good dealing of puzzling over why
make sqlite3_rsyncwas failing I realized that it is because Apple's/usr/bin/makeis GNU Make 3.81 and it does not understand something about sqlite's makefiles (perhaps the include of main.mk). To further confuse things, homebrew has this caveat in its "make" recipe that I only saw once I did a reinstall:So building on gary_0's tip, the script for macOS is:
brew install make git clone https://github.com/sqlite/sqlite.git cd sqlite ./configure gmake sqlite3-rsyncBuilding from the "Complete canonical source tree" on https://www.sqlite.org/download.html also works!
Thanks for all your great blogging :)