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 <[email protected]> on behalf of Komяpa Darafei Praliaskouski <[email protected]> Date: Friday, February 1, 2019 at 3:21 PM To: Even Rouault <[email protected]> Cc: <[email protected]>, Alan Stewart <[email protected]> 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 <[email protected]> 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 [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev -- Darafei Praliaskouski Support me: http://patreon.com/komzpa _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
