<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Greg,
<div class=""><br class="">
</div>
<div class="">There’s a few things at play here and we’ve not done a particularly good job at helping you get started down the right path. The docs omit a lot of what is needed to run a development build. </div>
<div class=""><br class="">
</div>
<div class="">Your problem is definitely caused by not having the correct files in PROJ_LIB. From the output below it would seem as if you are missing the contents of nad/ in PROJ_LIB. That is, the epsg file and other init-files. You have two options: </div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>1) dump the contents of proj-datumgrid in nad/</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>2) Copy the files from nad/ to your PROJ_LIB folder alongside the proj-datumgrid files</div>
<div class=""><br class="">
</div>
<div class="">It should also be noted that the proj-datumgrid repository is not meant to be used in “development mode" (although it probably can). Generally you are safer to just download the most recent proj-datumgrid archives and unpackage them in your PROJ_LIB
folder.</div>
<div class=""><br class="">
</div>
<div class="">I suggest you take a look at the Travis setup for a written out example of how to set up a development version of PROJ: <a href="https://github.com/OSGeo/proj.4/blob/master/travis/install.sh" class="">https://github.com/OSGeo/proj.4/blob/master/travis/install.sh</a></div>
<div class=""><br class="">
</div>
<div class="">I hope that helps you move on.</div>
<div class=""><br class="">
</div>
<div class="">/Kristian</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 30 Aug 2018, at 04:50, Greg Minshall <<a href="mailto:minshall@acm.org" class="">minshall@acm.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">hi.<br class="">
<br class="">
sorry if i missed a step in the README files.<br class="">
<br class="">
i cloned the current git repository, checked out a recent release (i<br class="">
tried for both 5.1.0 and 5.0.1), followed the instructions in README.md<br class="">
----<br class="">
cd proj<br class="">
mkdir build<br class="">
cd build<br class="">
cmake ..<br class="">
cmake --build .<br class="">
----<br class="">
<br class="">
i then cloned proj-datumgrid, and pointed the environmental variable<br class="">
PROJ_LIB in its direction<br class="">
----<br class="">
bash minshall-apollo: {1195} ls $PROJ_LIB<br class="">
BETA2007.gsb README.DATUMGRID cmake/ lla/ nzgd2kgrid0005.gsb stpaul<br class="">
CMakeLists.txt TN conus north-america/ oceania/<br class="">
FL WI egm96_15.gtx ntf_r93.gsb prvi<br class="">
HOWTORELEASE WO europe/ ntv1_can.dat stgeorge<br class="">
MD alaska hawaii null stlrnc<br class="">
----<br class="">
<br class="">
then, back in proj.4/build, ran ctest, and came up with lots of<br class="">
failures. (i tried various things in proj-datumgrid, such as attempts<br class="">
at cmake, checking out 1.6, etc., to no avail.)<br class="">
<br class="">
any thoughts on what i might be doing wrong? i'm on lubuntu, relatively<br class="">
recent. also, for all this, i did *not* run ./autogen.sh, ./configure,<br class="">
etc. are they still part of the build process?<br class="">
<br class="">
one thought: do i need to first do (whatever the cmake equivalent of)<br class="">
"make install"? or, do the tests run out of the build directories?<br class="">
<br class="">
cheers, Greg<br class="">
<br class="">
p.s. ctest run, failures:<br class="">
----<br class="">
bash minshall-apollo: {1210} ctest<br class="">
Test project /home/minshall/src/import/osgeo/proj/proj.4/build<br class="">
Start 1: test27<br class="">
1/29 Test #1: test27 ........................... Passed 0.31 sec<br class="">
Start 2: test83<br class="">
2/29 Test #2: test83 ........................... Passed 0.26 sec<br class="">
Start 3: testvarious<br class="">
3/29 Test #3: testvarious ......................***Failed 0.08 sec<br class="">
Start 4: geodesic-test<br class="">
4/29 Test #4: geodesic-test .................... Passed 0.00 sec<br class="">
Start 5: Builtins<br class="">
5/29 Test #5: Builtins ......................... Passed 0.01 sec<br class="">
Start 6: Builtins2<br class="">
6/29 Test #6: Builtins2 ........................***Failed 0.02 sec<br class="">
Start 7: Axisswap<br class="">
7/29 Test #7: Axisswap .........................***Failed 0.00 sec<br class="">
Start 8: Deformation<br class="">
8/29 Test #8: Deformation ......................***Failed 0.00 sec<br class="">
Start 9: Ellipsoid<br class="">
9/29 Test #9: Ellipsoid ........................***Failed 0.00 sec<br class="">
Start 10: GDA<br class="">
10/29 Test #10: GDA .............................. Passed 0.00 sec<br class="">
Start 11: 4D-API-cs2cs-style<br class="">
11/29 Test #11: 4D-API-cs2cs-style ...............***Failed 0.00 sec<br class="">
Start 12: DHDN_ETRS89<br class="">
12/29 Test #12: DHDN_ETRS89 ......................***Failed 0.00 sec<br class="">
Start 13: GIGS-5101.1-jhs<br class="">
13/29 Test #13: GIGS-5101.1-jhs ..................***Failed 0.00 sec<br class="">
Start 14: GIGS-5101.2-jhs<br class="">
14/29 Test #14: GIGS-5101.2-jhs ..................***Failed 0.00 sec<br class="">
Start 15: GIGS-5101.3-jhs<br class="">
15/29 Test #15: GIGS-5101.3-jhs ..................***Failed 0.00 sec<br class="">
Start 16: GIGS-5101.4-jhs-etmerc<br class="">
16/29 Test #16: GIGS-5101.4-jhs-etmerc ...........***Failed 0.00 sec<br class="">
Start 17: GIGS-5102.1<br class="">
17/29 Test #17: GIGS-5102.1 ......................***Failed 0.00 sec<br class="">
Start 18: GIGS-5103.1<br class="">
18/29 Test #18: GIGS-5103.1 ......................***Failed 0.00 sec<br class="">
Start 19: GIGS-5103.2<br class="">
19/29 Test #19: GIGS-5103.2 ......................***Failed 0.00 sec<br class="">
Start 20: GIGS-5103.3<br class="">
20/29 Test #20: GIGS-5103.3 ......................***Failed 0.00 sec<br class="">
Start 21: GIGS-5105.2<br class="">
21/29 Test #21: GIGS-5105.2 ......................***Failed 0.00 sec<br class="">
Start 22: GIGS-5106<br class="">
22/29 Test #22: GIGS-5106 ........................***Failed 0.00 sec<br class="">
Start 23: GIGS-5107<br class="">
23/29 Test #23: GIGS-5107 ........................***Failed 0.00 sec<br class="">
Start 24: GIGS-5109<br class="">
24/29 Test #24: GIGS-5109 ........................***Failed 0.00 sec<br class="">
Start 25: GIGS-5111.1<br class="">
25/29 Test #25: GIGS-5111.1 ......................***Failed 0.00 sec<br class="">
Start 26: GIGS-5112<br class="">
26/29 Test #26: GIGS-5112 ........................***Failed 0.00 sec<br class="">
Start 27: GIGS-5113<br class="">
27/29 Test #27: GIGS-5113 ........................***Failed 0.00 sec<br class="">
Start 28: GIGS-5201<br class="">
28/29 Test #28: GIGS-5201 ........................***Failed 0.00 sec<br class="">
Start 29: GIGS-5208<br class="">
29/29 Test #29: GIGS-5208 ........................***Failed 0.00 sec<br class="">
<br class="">
17% tests passed, 24 tests failed out of 29<br class="">
<br class="">
Total Test time (real) = 0.74 sec<br class="">
<br class="">
The following tests FAILED:<br class="">
3 - testvarious (Failed)<br class="">
6 - Builtins2 (Failed)<br class="">
7 - Axisswap (Failed)<br class="">
8 - Deformation (Failed)<br class="">
9 - Ellipsoid (Failed)<br class="">
11 - 4D-API-cs2cs-style (Failed)<br class="">
12 - DHDN_ETRS89 (Failed)<br class="">
13 - GIGS-5101.1-jhs (Failed)<br class="">
14 - GIGS-5101.2-jhs (Failed)<br class="">
15 - GIGS-5101.3-jhs (Failed)<br class="">
16 - GIGS-5101.4-jhs-etmerc (Failed)<br class="">
17 - GIGS-5102.1 (Failed)<br class="">
18 - GIGS-5103.1 (Failed)<br class="">
19 - GIGS-5103.2 (Failed)<br class="">
20 - GIGS-5103.3 (Failed)<br class="">
21 - GIGS-5105.2 (Failed)<br class="">
22 - GIGS-5106 (Failed)<br class="">
23 - GIGS-5107 (Failed)<br class="">
24 - GIGS-5109 (Failed)<br class="">
25 - GIGS-5111.1 (Failed)<br class="">
26 - GIGS-5112 (Failed)<br class="">
27 - GIGS-5113 (Failed)<br class="">
28 - GIGS-5201 (Failed)<br class="">
29 - GIGS-5208 (Failed)<br class="">
Errors while running CTest<br class="">
_______________________________________________<br class="">
Proj mailing list<br class="">
<a href="mailto:Proj@lists.maptools.org" class="">Proj@lists.maptools.org</a><br class="">
http://lists.maptools.org/mailman/listinfo/proj<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>