Opened 5 years ago
Last modified 5 years ago
#59976 closed defect
build fail: port -vd install gdal +cfitsio +gcc9 +ecw +grass +grib +hdf5 +jasper +libkml +lta +lzma +mysql8 +native +netcdf +openjpeg +perf +poppler +postgresql11 +xerces — at Version 1
Reported by: | TheLastLovemark | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | Veence (Vincent) | |
Port: | gdal |
Description (last modified by TheLastLovemark)
I know... me and my variants.
This debug message caught my attention:
configure: WARNING: unrecognized options: --without-bsb checking build system type... x86_64-apple-darwin17.7.0 checking host system type... x86_64-apple-darwin17.7.0 checking for gcc... /opt/local/bin/gcc-mp-9 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.0.2/gdal': configure: error: C compiler cannot create executables See `config.log' for more details Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.0.2/gdal" && ./configure --prefix=/opt/local --with-local=yes --with-libz=yes --with-zstd=yes --with-png=yes --with-libtiff=internal --with-geotiff=internal --with-jpeg=internal --with-charls=yes --with-gif=yes --with-proj=/opt/local/lib/proj6 --with-qhull=yes --with-pam --with-sqlite3=/opt/local --with-spatialite=/opt/local --with-curl=/opt/local/bin/curl-config --with-geos=/opt/local/bin/geos-config --with-expat=/opt/local --without-libgrass --without-ogdi --without-fme --without-hdf4 --without-kakadu --without-mrsid --without-jp2mrsid --without-msg --without-bsb --without-oci --with-mysql=/opt/local/lib/mysql8/bin/mysql_config --without-ingres --without-odbc --without-idb --without-sde --without-opencl --without-perl --without-python --mandir=/opt/local/share/man --with-libjson-c=internal --with-cpp14 --with-liblzma=yes --with-libkml=/opt/local --with-libkml-inc=/opt/local/include --with-libkml-lib=/opt/local/lib --with-grass=/opt/local/share/grass76 --with-ecw=/opt/local/lib/ECW --with-hdf5=/opt/local --with-netcdf=/opt/local --with-jasper=/opt/local/include --with-openjpeg=/opt/local/include/openjpeg-2.3 --with-xerces=/opt/local --with-pg=/opt/local/lib/postgresql11/bin/pg_config --with-poppler=/opt/local --with-cfitsio Exit code: 77 Error: Failed to configure gdal, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.0.2/gdal/config.log Error: Failed to configure gdal: configure failure: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: configure failure: command execution failed while executing "$procedure $targetname" Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port gdal failed
It made me think this is related to my other ticket here: #59973
But it could also be related to manually installing ECW in /opt/local/lib/ECW as instructed by:
DEBUG: configure phase started at Thu Jan 16 19:56:12 EST 2020 ---> Configuring gdal DEBUG: Preferred compilers: clang macports-clang-9.0 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0 macports-gcc-9 macports-gcc-8 macports-gcc-7 macports-gcc-6 DEBUG: Using compiler 'Xcode Clang' DEBUG: Executing proc-pre-org.macports.configure-configure-0 DEBUG: Found Dependency: path: /opt/local/lib/libgcc filename: libgcc_s.1.dylib regex: ^libgcc_s.1.dylib$ DEBUG: Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: zlib zstd libpng giflib proj6 qhull sqlite3 spatialite curl charls libgcc9 lzma libkml hdf5 netcdf jasper openjpeg xercesc3 postgresql11 mysql8 poppler cfitsio bash-completion pkgconfig gcc9 DEBUG: Executing proc-pre-org.macports.configure-configure-1 DEBUG: compilers.enforce_c list: DEBUG: compilers.enforce_fortran list: DEBUG: compilers.enforce_some_fortran list: DEBUG: Executing proc-pre-org.macports.configure-configure-2 DEBUG: Executing proc-pre-org.macports.configure-configure-3 DEBUG: Found Dependency: path: /opt/local/lib/libgcc filename: libgcc_s.1.dylib regex: ^libgcc_s.1.dylib$ DEBUG: Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: zlib zstd libpng giflib proj6 qhull sqlite3 spatialite curl charls libgcc9 lzma libkml hdf5 netcdf jasper openjpeg xercesc3 postgresql11 mysql8 poppler cfitsio bash-completion pkgconfig gcc9 DEBUG: Executing proc-pre-org.macports.configure-configure-4 DEBUG: Executing proc-pre-org.macports.configure-configure-5 DEBUG: Executing proc-pre-org.macports.configure-configure-6 Error: **** * The Intergraph ECW SDK version 5.1.1 is needed to * compile gdal with the ecw variant. It must be installed separately. * Please download the macOS version of the SDK * 'ERDAS ECW/JP2 SDK v5.1.1 (MacOSX)' from * http://download.intergraph.com/ * Choose to install it in /opt/local/lib/ECW. * Then try to install GDAL again. **** Error: Failed to configure gdal: ECW SDK 5.1.1 not installed. DEBUG: Error code: NONE DEBUG: Backtrace: ECW SDK 5.1.1 not installed. while executing "$pre $targetname" Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port gdal failed
(Logically this happened first)
Although the URL has changed, (it is now available at: https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v5-1-macosx
) installing this was simple.
The installed files are where they should be:
sh-3.2# cd /opt/local/lib/ECW/ sh-3.2# ls .ERDASEcwJp2SDKChoices ERDAS_ECW_JPEG2000_SDK.pdf Licenses apidoc lib .Repository Examples TestData etc redistributable .Uninstall.sh Frameworks Uninstall include
log file attached
Change History (2)
Changed 5 years ago by TheLastLovemark
Attachment: | gdal+variants_main.log added |
---|
comment:1 Changed 5 years ago by TheLastLovemark
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.