[PROJ] PROJ.6 6.1.0 on macOS 10.14 w/o pkgsrc

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[PROJ] PROJ.6 6.1.0 on macOS 10.14 w/o pkgsrc



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.

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.

To successfully compile, I also had to tease the right results out of configure. Notably, I pointed to SQLite3 twice.

$ ./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

Other subtleties may not apply, such as the SQLite3 build.

Tests passed.

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?


= David

PROJ mailing list
[hidden email]