[Therion] Error while compiling Therion 5.5.x (proj issue?) on MacosX

Xavier Robert xavier.robert at univ-grenoble-alpes.fr
Thu Sep 10 12:13:02 CEST 2020


Dear all,

I am trying to compile the last Therion version on my Macos 10.14.6. The compilation fails with the ./utest with the error:
./utest
proj_create: cannot build projectedCRS 32634: cannot build geodeticCRS 4326: SQLite error on SELECT name, ellipsoid_auth_name, ellipsoid_code, prime_meridian_auth_name, prime_meridian_code, area_of_use_auth_name, area_of_use_code, publication_date, deprecated FROM geodetic_datum WHERE auth_name = ? AND code = ?: no such column: publication_date
(null): error -- PROJ library: -61 (generic error of unknown origin): epsg:32634
make: *** [tests] Error 1

Versions 5.5.0, 5.5.1, 2020-09-08-master (57fce14) and the today’s master (6c41c82) are raising the same error. 

With the master (6c41c82) version:
A « tclsh thcdata.tcl » gives « No PROJ system definitions imported ».
If I do a search for « 32634 » in thcsdata.cxx, I find only 1 line:
{false, true, false, "+init=epsg:32634", "PROJCS[\"WGS_1984_UTM_Zone_34N\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",500000.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",21.0],PARAMETER[\"Scale_Factor\",0.9996],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]", "WGS84 / UTM zone 34N"},

I tried the compilation with 2 proj versions: 6.3.2 (proj) and 7.1.1 (osgeo-proj). The compilation stops with the same error.
I also have the sqlite3 from Anaconda installed.

On the other side, I also tried to recompile the 5.4.4 version (that I already have and that is running fine), and I could recompile it without any errors (with proj 6.3.2, I did not tried with proj 7).

Does anyone have faced the same problem and have solved the issue ?

Cheers,

Xavier

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20200910/478638f4/attachment.htm>


More information about the Therion mailing list