Thanks, now this comes up:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/OTB-6.6/OTBTargets.cmake:1114
(message):
The imported target "otbQgisDescriptor" references the file
"/usr/bin/otbQgisDescriptor"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/x86_64-linux-gnu/cmake/OTB-6.6/OTBTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/OTB-6.6/OTBConfig.cmake:82 (include)
CMakeLists.txt:5 (FIND_PACKAGE)
On 7/23/19 2:15 PM, Bas Couwenberg wrote:
On 2019-07-23 13:10, Angelos Tzotsos wrote:
This is what I got from a test build on Launchpad:
https://launchpad.net/~gcpp-kalxas/+archive/ubuntu/osgeolive/+sourcepub/10360913/+listing-archive-extra
That would be:
configure: error: checking for GetAvailableApplications... failed
The configure log for that shows:
/usr/bin/ld: /tmp/ccnIzndw.o: relocation R_X86_64_32 against
`.rodata._ZNK3itk10Statistics37MersenneTwisterRandomVariateGenerator14GetNameOfClassEv.str1.8'
can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
You can try to enable PIE for bionic by removing it in debian/rules:
# Disable PIE on Ubuntu where it's still problematic
VENDOR_DERIVES_FROM_UBUNTU ?= $(shell dpkg-vendor --derives-from
Ubuntu && echo yes)
DISTRIBUTION_RELEASE := $(shell lsb_release -cs)
ifeq ($(VENDOR_DERIVES_FROM_UBUNTU),yes)
ifneq (,$(filter $(DISTRIBUTION_RELEASE),xenial bionic))
export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
endif
endif
Kind Regards,
Bas
--
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos