[GRASS-dev] PROJ problem compiling GRASS trunk

I just updated and tried to compile GRASS trunk. I also updated to the 2015-04-11 version of GDAL complete 1.11

When I tried compiling, I got the following error from /Users/cmbarton/grass_source/grass_trunk/lib/proj

urce/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/src/stlrnc.lla /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/src/stpaul.lla
/Library/Frameworks/PROJ.framework/Programs/nad2bin < FL.lla /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL
dyld: Library not loaded: /Users/Shared/src/proj.4/build-4.9.1/lion/usr/lib/libproj.9.dylib
Referenced from: /Library/Frameworks/PROJ.framework/Programs/nad2bin
Reason: image not found
/bin/sh: line 1: 65178 Trace/BPT trap: 5 /Library/Frameworks/PROJ.framework/Programs/nad2bin /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL < FL.lla
make[1]: *** [/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL] Error 133

When I rolled back to the 2014-12 version of GDAL complete 1.11, it compiles fine.

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)

www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Oops, the PROJ programs are still linked to my build. I'll fix it soon.

On May 18, 2015, at 2:51 PM, Michael Barton <michael.barton@asu.edu> wrote:

I just updated and tried to compile GRASS trunk. I also updated to the 2015-04-11 version of GDAL complete 1.11

When I tried compiling, I got the following error from /Users/cmbarton/grass_source/grass_trunk/lib/proj

urce/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/src/stlrnc.lla /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/src/stpaul.lla
/Library/Frameworks/PROJ.framework/Programs/nad2bin < FL.lla /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL
dyld: Library not loaded: /Users/Shared/src/proj.4/build-4.9.1/lion/usr/lib/libproj.9.dylib
  Referenced from: /Library/Frameworks/PROJ.framework/Programs/nad2bin
  Reason: image not found
/bin/sh: line 1: 65178 Trace/BPT trap: 5 /Library/Frameworks/PROJ.framework/Programs/nad2bin /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL < FL.lla
make[1]: *** [/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL] Error 133

When I rolled back to the 2014-12 version of GDAL complete 1.11, it compiles fine.

Michael

____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war

On Mon, May 18, 2015 at 8:49 PM, William Kyngesburye <woklist@kyngchaos.com>
wrote:

Oops, the PROJ programs are still linked to my build. I'll fix it soon.

I am not sure if this is related, but there is some problem with PROJ
programs not being on path. So when using m.proj which calls cs2cs, you get
an error from m.proj ("cs2cs program not found, install PROJ.4 first"). I
saw this on couple of computers which were using Michael's binaries.

Anna

On May 18, 2015, at 2:51 PM, Michael Barton <michael.barton@asu.edu>
wrote:

> I just updated and tried to compile GRASS trunk. I also updated to the
2015-04-11 version of GDAL complete 1.11
>
> When I tried compiling, I got the following error from
/Users/cmbarton/grass_source/grass_trunk/lib/proj
>
>
urce/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/src/stlrnc.lla
/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/src/stpaul.lla
> /Library/Frameworks/PROJ.framework/Programs/nad2bin < FL.lla
/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL
> dyld: Library not loaded:
/Users/Shared/src/proj.4/build-4.9.1/lion/usr/lib/libproj.9.dylib
> Referenced from: /Library/Frameworks/PROJ.framework/Programs/nad2bin
> Reason: image not found
> /bin/sh: line 1: 65178 Trace/BPT trap: 5
/Library/Frameworks/PROJ.framework/Programs/nad2bin
/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL
< FL.lla
> make[1]: ***
[/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL]
Error 133
>
>
> When I rolled back to the 2014-12 version of GDAL complete 1.11, it
compiles fine.
>
> Michael
>
> ____________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity
> Professor of Anthropology, School of Human Evolution & Social Change
> Head, Graduate Faculty in Complex Adaptive Systems Science
> Arizona State University
>
> voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
> fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no
particular pleasure I shall kill every ___ I can until the war is over.
That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of the
allied nations devoted an entire year exclusively to hating the ____ it
wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

I might have a hack to fix this. I add one of the programs to the path at compile time and could add the others too.

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)

www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On May 18, 2015, at 6:40 PM, Anna Petrášová <kratochanna@gmail.com> wrote:

On Mon, May 18, 2015 at 8:49 PM, William Kyngesburye <woklist@kyngchaos.com> wrote:

Oops, the PROJ programs are still linked to my build. I’ll fix it soon.

I am not sure if this is related, but there is some problem with PROJ programs not being on path. So when using m.proj which calls cs2cs, you get an error from m.proj (“cs2cs program not found, install PROJ.4 first”). I saw this on couple of computers which were using Michael’s binaries.

Anna

On May 18, 2015, at 2:51 PM, Michael Barton <michael.barton@asu.edu> wrote:

I just updated and tried to compile GRASS trunk. I also updated to the 2015-04-11 version of GDAL complete 1.11

When I tried compiling, I got the following error from /Users/cmbarton/grass_source/grass_trunk/lib/proj

urce/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/src/stlrnc.lla /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/src/stpaul.lla
/Library/Frameworks/PROJ.framework/Programs/nad2bin < FL.lla /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL
dyld: Library not loaded: /Users/Shared/src/proj.4/build-4.9.1/lion/usr/lib/libproj.9.dylib
Referenced from: /Library/Frameworks/PROJ.framework/Programs/nad2bin
Reason: image not found
/bin/sh: line 1: 65178 Trace/BPT trap: 5 /Library/Frameworks/PROJ.framework/Programs/nad2bin /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL < FL.lla
make[1]: *** [/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.3.0/etc/proj/nad/FL] Error 133

When I rolled back to the 2014-12 version of GDAL complete 1.11, it compiles fine.

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


William Kyngesburye <kyngchaosatkyngchaosdotcom>
http://www.kyngchaos.com/

“We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty.”

“Don’t you even hate 'em?”

“What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn’t kill one ___ nor shorten the war one day.”

<Ha, ha> “And it might give 'em all stomach ulcers.”

  • Tarzan, on war

grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev