[gdal-dev] PROJ6?

Michael Smith michael.smith.erdc at gmail.com
Fri Feb 1 12:24:32 PST 2019


You need to change your build order, you need to build proj before you build gdal. 

 

 

-- 

Michael Smith

Remote Sensing/GIS Center

US Army Corps of Engineers

 

 

From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> on behalf of Komяpa Darafei Praliaskouski <me at komzpa.net>
Date: Friday, February 1, 2019 at 3:21 PM
To: Even Rouault <even.rouault at spatialys.com>
Cc: <gdal-dev at lists.osgeo.org>, Alan Stewart <astewart at terragotech.com>
Subject: Re: [gdal-dev] PROJ6?

 

Hello,

 

I can't rebuild gdal master with proj master as update of PostGIS env. 

Build scripts are unchanged and are from https://github.com/postgis/postgis-build-env. Here's tail of build log:

 

checking whether SSE is available at compile time... yes 
checking whether SSSE3 is available at compile time... yes 
checking whether AVX is available at compile time... yes 
checking to enable LTO (link time optimization) build... no 
checking whether we should hide internal symbols... no 
checking for local include/lib path... none 
checking for pthread_create in -lpthread... yes 
checking for PTHREAD_MUTEX_RECURSIVE... yes 
checking for PTHREAD_MUTEX_ADAPTIVE_NP... yes 
checking for pthread_spinlock_t... yes 
checking for 5 args mremap()... yes 
checking for _SC_PHYS_PAGES... yes 
checking for deflateInit_ in -lz... yes 
checking for inflateCopy in -lz... yes 
using pre-installed libz 
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes 
checking for shared library run path origin... /bin/bash: ./config.rpath: No such file or directory 
done                                                                                                                                                                                                                                                                                         
checking for iconv... yes 
checking for working iconv... yes 
checking for iconv declaration...  
        extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 
using ICONV_CPP_CONST="" 
checking for PROJ >= 6 library... checking for proj_create_from_wkt in -lproj... no 
checking for internal_proj_create_from_wkt in -lproj... no 
checking for internal_proj_create_from_wkt in -linternalproj... no 
configure: error: PROJ 6 symbols not found 
The command '/bin/sh -c git clone --depth 1 --branch ${GDAL_BRANCH} https://github.com/OSGeo/gdal &&     cd gdal/gdal &&     ./autogen.sh && ./configure && make -j${BUILD_THREADS} && make install &&     cd /src && rm -rf gdal' returned a non-zero code: 1                               
Traceback (most recent call last): 
 File "build.py", line 84, in <module> 
   '.' 
 File "/usr/lib/python3.6/subprocess.py", line 291, in check_call 
   raise CalledProcessError(retcode, cmd) 
subprocess.CalledProcessError: Command '['docker', 'build', '--pull', '--build-arg', 'BUILD_DATE=20190201', '--build-arg', 'POSTGRES_BRANCH=master', '--build-arg', 'GEOS_BRANCH=master', '--build-arg', 'GDAL_BRANCH=master', '--build-arg', 'PROJ_BRANCH=master', '-t', 'postgis/postgis-b
uild-env:latest', '.']' returned non-zero exit status 1.

 

On Fri, Feb 1, 2019 at 11:18 PM Even Rouault <even.rouault at spatialys.com> wrote:

On vendredi 1 février 2019 19:57:45 CET Alan Stewart wrote:
> OJ6. I assume this is version 6 of proj4.org? This does not seem to be
> available on their website.

PROJ 6 is not yet released. You need to use the master branch of
https://github.com/OSGeo/proj.4/

(In case you missed it, this is as consequence of the recently adopted
https://trac.osgeo.org/gdal/wiki/rfc73_proj6_wkt2_srsbarn )

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


 

-- 

Darafei Praliaskouski

Support me: http://patreon.com/komzpa

_______________________________________________ gdal-dev mailing list gdal-dev at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190201/5631c468/attachment-0001.html>


More information about the gdal-dev mailing list