|
From: | Dr . Jürgen Sauermann |
Subject: | Fwd: sqlite3 on macOS |
Date: | Mon, 3 Oct 2022 14:12:07 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
Hi Jürgen:
Doing some investigation I came across this(see my comments below):
./configure…….checking for SQLite3 library >= 3.0.0... yescat: /include/sqlite3.h: No such file or directory./configure: line 19132: test: !=: unary operator expectedconfigure: WARNING: Cannot find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version!
locate sqlite……./usr/bin/sqlite3/usr/lib/libsqlite3.0.dylib/usr/lib/libsqlite3.dylib/usr/lib/sqlite3
Gandalf:trunk pteeson$ cd /usr/libGandalf:lib pteeson$ ls -al s*lrwxr-xr-x 1 root wheel 27 12 Jun 14:42 sqlite3 -> /System/Library/Tcl/sqlite3
========= My questions =======This version and location of sqlite3 goes back to macOS Snow Leopard (2009).It has been part of every macOS release up to and including Mojave (2017-last version I can run on my HW)
--with-sqlite3=[ARG]Build the native function for SQL using sqlite3. ARG may provide thenon-default location of the sqlite3 library.
(1) Based on the above it seems macOS version is not in the default location.What is the default location on Unix type systems? Also Windows?
So what is the most elegant solution to this?(I don’t use sqlite and for sure I will not remember every time I download a new version of Gnuapl.)(2) Would adding a note to the README make sense?Or recognize macOS and fix it in configure?
(3) Forget about it
Anyway I thought to pass it on for your comment.
respect
Peter
[Prev in Thread] | Current Thread | [Next in Thread] |