Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for 7.8 and above #1

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

wenzeslaus
Copy link

These are some minimum changes needed for 7.8 and couple fixes to in the dependencies to make them more up to date and run on Linux. On failure, the configure step shows the log file. Unfortunately and importantly, this still does not compile (but the current master doesn't either for me on Linux and on Travis on macOS).

This adds a GitHub Action build on Linux and macOS. On macOS, it configures, but the build fails in almost every directory (the output is currently truncated, so the actual error is not visible). The Linux build ends with configure error when checking GDAL:

$PREFIX/bin/x86_64-conda_cos6-linux-gnu-cc -o conftest -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/grass-7.8.2 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix  -I$PREFIX/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem $PREFIX/include  -I$PREFIX/include -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,$PREFIX/lib -Wl,-rpath-link,$PREFIX/lib -L$PREFIX/lib -Wl,--export-dynamic  -L$PREFIX/lib conftest.c  -L$PREFIX/lib -lgdal -lcrypto -L$PREFIX/lib -ltiledb -L$PREFIX/lib -lpoppler -ljson-c -L$PREFIX/lib -L$PREFIX/lib -lfreexl -L$PREFIX/lib -lgeos_c -L$PREFIX/lib -lsqlite3 -L$PREFIX/lib -lkmlbase -lkmldom -lkmlengine -lkmlxsd -lkmlregionator -L$PREFIX/lib -lexpat -L$PREFIX/lib -lxerces-c -lpthread -L$PREFIX/lib -lopenjp2 -L$PREFIX/lib -lnetcdf -lmfhdf -ldf -lhdf5_hl -lhdf5 -lrt -lpthread -lz -ldl -lm -lcurl -L$PREFIX/lib -lhdf5 -L$PREFIX/lib -lmfhdf -ldf -lgif -L$PREFIX -L$PREFIX/lib -ljpeg -L$PREFIX/lib -lgeotiff -L$PREFIX/lib -ltiff -L$PREFIX -L$PREFIX/lib -lpng -L$PREFIX -L$PREFIX/lib -lcfitsio -L$PREFIX/lib -lpq -lzstd -llzma -L$PREFIX/lib -lproj -lz -L$PREFIX -L$PREFIX/lib -lpthread -lm -lrt -ldl -L$PREFIX/lib64 -L$PREFIX/lib -ldap -ldapserver -ldapclient -L$PREFIX/lib -lcurl -L$PREFIX/lib -lxml2 -L$PREFIX/lib -lz -L$PREFIX/lib -llzma -L$PREFIX/lib -L$PREFIX/lib -licui18n -licuuc -licudata -lm -ldl -lpthread -luuid -L$PREFIX/lib -lspatialite -lpcre -L$PREFIX/lib -lcurl -L$PREFIX/lib -lxml2 -L$PREFIX/lib -lz -L$PREFIX/lib -llzma -lpthread -L$PREFIX/lib -lm -ldl -L$PREFIX/lib -lkea -L$PREFIX/lib -lhdf5 -lhdf5_hl -lhdf5_cpp 1>&5
...
$PREFIX/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: warning: libcrypto.so.1.0.0, needed by $PREFIX/lib/libdap.so, not found (try using -rpath or -rpath-link)
$PREFIX/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: $PREFIX/lib/libgdal.so: undefined reference to `libdap::Error::get_error_message[abi:cxx11]() const'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant