<div dir="ltr"><div dir="ltr">On Thu, Sep 10, 2020 at 12:21 PM Xavier Robert <<a href="mailto:xavier.robert@univ-grenoble-alpes.fr">xavier.robert@univ-grenoble-alpes.fr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div>I am trying to compile the last Therion version on my Macos 10.14.6. The compilation fails with the ./utest with the error:</div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">./utest</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">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</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">(null): error -- PROJ library: -61 (generic error of unknown origin): epsg:32634</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make: *** [tests] Error 1</span></div></div></div></blockquote><div><br></div><div>Hi, this looks like a Proj version mismatch (Proj compiled into Therion trying to open a database belonging to another version of Proj installed in the system). Check if Proj command line utilities work (run e.g. "<span style="color:rgb(0,0,0);font-family:monospace">projinfo EPSG:32634"</span>), check the version and check if the version matches the version of Proj used in Therion.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><span style="font-variant-ligatures:no-common-ligatures"></span></div><div>With the master (6c41c82) version:<br></div><div><ul><li>A « tclsh thcdata.tcl » gives « No PROJ system definitions imported ».</li><li>If I do a search for « 32634 » in thcsdata.cxx, I find only 1 line:</li></ul></div><div></div></div></blockquote><div>This is expected as the latest commits call Proj API to get the definitions instead of preprocessing them.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div>I also have the <span style="color:rgb(0,0,0)">sqlite3 from Anaconda installed.</span></div></div></blockquote><div> </div><div>The sqlite error is produced by sqlite linked to Proj directly, it doesn't use external/system sqlite3. </div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div></div><div>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).</div></div></blockquote><div> </div><div>5.4.4 used different handling of Proj definitions (they were compiled into therion binary).</div><div> </div><div>Martin </div></div></div>