Hi Eric,

On Wed, May 22, 2019 at 3:32 PM Patton, Eric (NRCan/RNCan)
<[email protected]> wrote:
>
> Hi Markus,
>
> I noted your new installation instructions for the git repo and have used 
> those.
>
> The first error in error.log occurs in /usr/local/grass/lib/proj:
>
> test -d OBJ.x86_64-pc-linux-gnu || mkdir -p OBJ.x86_64-pc-linux-gnu
> gcc  -g -O2  -fPIC  -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include 
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include    -I/usr/local/include 
> -DPACKAGE=\""grasslibs"\"   
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include 
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"lib/proj\" -o 
> OBJ.x86_64-pc-linux-gnu/convert.o -c convert.c
> gcc  -g -O2  -fPIC  -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include 
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include    -I/usr/local/include 
> -DPACKAGE=\""grasslibs"\"   
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include 
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"lib/proj\" -o 
> OBJ.x86_64-pc-linux-gnu/datum.o -c datum.c
> gcc  -g -O2  -fPIC  -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include 
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include    -I/usr/local/include 
> -DPACKAGE=\""grasslibs"\"   
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include 
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"lib/proj\" -o 
> OBJ.x86_64-pc-linux-gnu/do_proj.o -c do_proj.c
> gcc  -g -O2  -fPIC  -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include 
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include    -I/usr/local/include 
> -DPACKAGE=\""grasslibs"\"   
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include 
> -I/usr/local/grass/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"lib/proj\" -o 
> OBJ.x86_64-pc-linux-gnu/ellipse.o -c ellipse.c
> do_proj.c: In function ‘GPJ_init_transform’:
> do_proj.c:136:6: error: expected ‘}’ before ‘else’
>       else {
>       ^~~~
> do_proj.c: At top level:
> do_proj.c:160:5: error: expected identifier or ‘(’ before ‘if’
>      if (info_trans->pj == NULL)
>      ^~
> do_proj.c:162:5: error: expected identifier or ‘(’ before ‘if’
>      if (info_trans->pj == NULL) {
>      ^~
> do_proj.c:167:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
> before ‘->’ token
>      info_trans->meters = 1.;
>                ^~
> do_proj.c:168:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
> before ‘->’ token
>      info_trans->zone = 0;
>                ^~
> do_proj.c:169:23: error: expected ‘)’ before ‘->’ token
>      sprintf(info_trans->proj, "pipeline");
>                        ^~
> do_proj.c:180:5: error: expected identifier or ‘(’ before ‘return’
>      return 1;
>      ^~~~~~
> do_proj.c:181:1: error: expected identifier or ‘(’ before ‘}’ token
>  }
>  ^
> ../../include/Make/Compile.make:32: recipe for target 
> 'OBJ.x86_64-pc-linux-gnu/do_proj.o' failed
> make: *** [OBJ.x86_64-pc-linux-gnu/do_proj.o] Error 1
> make: *** Waiting for unfinished jobs....

ok, there seems to be a problem with the PROJ installation.

Which proj version do you use? Please post the names of the related
packages here which you have installed (so that we see the precise
version names).

thanks
Markus
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to