With some difficulty I've managed to find and install libsqlite-tcl. This package was apparently dropped when CentOs went from version 7 to 8, but it is still built for CloudLinux which happens to be based on CentOs 8, saving me from having to find the source and building it myself. Nevertheless make is still failing on the same test as before:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utest is a Catch v2.11.3 host application.
Run with -? for options
-------------------------------------------------------------------------------
projections: EPSG label
-------------------------------------------------------------------------------
utest-proj.cxx:77
...............................................................................
utest-proj.cxx:78: FAILED:
CHECK( (epsg_labels.count(32634) > 0 && strcmp(epsg_labels[32634],"WGS 84 / UTM zone 34N") == 0) )
with expansion:
false
===============================================================================
test cases: 18 | 17 passed | 1 failed
assertions: 44 | 43 passed | 1 failed
make: *** [Makefile:184: tests] Error 1
I went to through the dependencies listed in the Appendix of the book just to make sure I had not missed anything; here is what I have installed:
just build-time, introduced in 5.4.4. It's used to generate parts of thcsdata.cxx (esri_labels and epsg_labels). It's used for Proj 6 and newer, which uses sqlite3 format of its database (older versions used plain text files).
Martin
On 2020-08-12 22:01 +0200, Martin Budaj wrote:
> Hi,
> check if you have libsqlite3-tcl (or equivalent) installed and working.
> It's required for correct parsing of projection names from the EPSG
> database.
Is this a build-time only dependency or should it also be present at runtime?
It gets pulled in on debian builds but I'm not quite sure why. It
should perhaps be explicitly specified. Is this new or has it been true for years?
Wookey
--
Principal hats: Linaro, Debian, Wookware, ARM
http://wookware.org/
_______________________________________________
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion