Just a bit of background information onthis topic:

For tranformations defined by a EPSG code Proj4 needs a translation table. To 
find these tables it uses the environment variable.  Usually this is set when 
installing the package.

However some distributions split Proje4 into two packages. One with the 
binaries and one with these translation files. If the package maintainer 
forgets about this fact and does not set the dependency to both packages, 
QMapShack does not work as expected and users think it's because QMapShack is 
faulty. That is why QMapShack probes for a propper setup and points out that 
it's not QMapShack's fault. 

 Oliver


Am Samstag, 6. August 2016, 15:35:20 schrieb Dr Rainer Woitok:
> Greetings,
> 
> my last  successful  compilation of  a working  QMapShack binary  was on
> 2016-04-06 and was based on  changeset "87709920c2ac".  Meanwhile I have
> updated my  QMapShack source repository  to changest "ea5af564edb9", and
> the compilation process still completes without any errors, but starting
> QMapShack opens a box saying
> 
>         Fatal... QMapShack detected a badly installed Proj4 library. The
>         translation  tables  for  EPSG  projections   usually  stored in
>         /usr/share/proj  are   missing.    Please  contact the   package
>         maintainer of your ditribution to fix it.
> 
> 1. Mind the missing "4" in path "/usr/share/proj" mentioned in the mess-
>    age above.
> 
> 2. On my system the Proj4 translation tables have always resided in dir-
>    ectory "~/share/proj4/" (even though the file  is named "epsg" rather
>    than "EPSG" there).   Either the QMapShack binary  based on changeset
>    "87709920c2ac" found them there or it didn't yet need them.
> 
> 3. I'm always running "cmake" with the "-LAH" option to receive a log of
>    how QMapShack currently is configured.   This output  doesn't contain
>    the string "/usr/share/proj" indicating there isn't any configuration
>    variable  defaulting to  "/usr/share/proj"  (or  "/usr/share/proj4").
>    And a case insensitive search  for just "proj" in  that file only in-
>    dicates that  "cmake" found the "proj4" library  and used the correct
>    value for configuration variable "PROJ_INCLUDE_DIR".
> 
> 4. I recursively  "grep"-ed through the whole  source repository for the
>    string "/usr/share/proj",  but this only returned above error message
>    in  files "src/CMainWindow.cpp", "src/locale/qmapshack.ts", and "src/
>    locale/qmapshack_*.ts".
> 
> Any idea how to tell "cmake" where these files are residing?
> 
> Sincerely,
>   Rainer
> 
> ----------------------------------------------------------------------------
> -- _______________________________________________
> Qlandkartegt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users


------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to