<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>Thought to share a build experience with PROJ.6 6.1.0 on macOS
Mojave (10.14) natively. A change in "configure" was required. I
also passed extra variables to "configure". Let's call this a
sanity check ahead of a bug report? Soonest I can generate diffs
is at then end of this week.<br>
</p>
<p>In "configure" the test for the presence/absence of SQLite3 seems
to always fail. In other words, absent pkgsrc, regardless of
whether SQLITE3_CFLAGS and SQLITE3_LIBS are defined or not, the
results are the same. I have not, yet, installed pkgsrc.</p>
<p>To successfully compile, I also had to tease the right results
out of configure. Notably, I pointed to SQLite3 twice.<br>
</p>
<p><font face="Courier New, Courier, monospace">$ ./configure
-prefix=/opt/proj-6.1.0
SQLITE3_CFLAGS=-I/opt/sqlite-3.28.0/include
SQLITE3_LIBS=-L/opt/sqlite-3.28.0/lib -lsqlite3 CC=gcc -arch
x86_64 CXX=g++ -arch x86_64 CPP=gcc -E CXXCPP=g++ -E
CPPFLAGS=-I/opt/sqlite-3.28.0/include
LDFLAGS=-L/opt/sqlite-3.28.0/lib -lsqlite3</font></p>
<p>Other subtleties may not apply, such as the SQLite3 build.</p>
<p>Tests passed.</p>
<p>If the "tests" for pkgsrc, and then SQLITE3_CFLAGS and
SQLITE3_LIBS definitions failed on macOS, then it is possible they
will fail on "Unix/Linux" as well. Possible? Plausible?</p>
<p>Thanks,</p>
<p>= David</p>
<p><br>
</p>
</body>
</html>