WISE-Developers / WISE_Application

WISE_Application formerly known as WISE
GNU Affero General Public License v3.0
7 stars 2 forks source link

Library Conflicts #54

Open spydmobile opened 5 months ago

spydmobile commented 5 months ago

Prometheus & WISE screw GDAL and Proj for other installed software in some cases because of our approach.

While we may not be able to do much for Prometheus on this, we can fix this in wise.

spydmobile commented 5 months ago

my ambition: Installing wise - We should check if we have the MINIMUM MAJOR version of the libs that we need, and if they are not sufficient upgrade them, and if they are, use them, and if they are not present we should install the latest release. but we should not be hard coding to OLDER versions. instead we should make our code run with our minimum version and all versions that are released after it. Period.

RobBryce commented 5 months ago

Prometheus is a problem child due to COM. I've wanted to axe COM for 2 decades because of what it does for directory searches, and what it needs in its path. There are some solutions that we can consider - like programmatically add the EXE to its path at start-up time, then manually load DLL's, but that's painful. We had a version of Prometheus 7 for testing purposes but it's a long way from prime time - basically Prometheus running on the PSaaS codebase without COM. It was buggy AND hasn't been kept current.

That said, WISE shouldn't be a problem or at least not as much because it doesn't have COM directory issues to deal with, but is significantly out of date with the current version of GDAL. @BadgerOnABike was the last person to look into this and didn't see a need to upgrade about 15 months ago. May be worth revisiting.

spydmobile commented 5 months ago

Prometheus is a problem child due to COM.

Ya, im not think about Prometheus, so much, but I just installed in on windows 11 pro ARM and it wont install and wont recognize java or the runtimes, or aything. It just breaks, so we need to at the very least make the installer aware of what version of windows its in and weather its compatible or not. DOnt think its about COM at all, BUT i suspect the same will happen when i try and install WISE.

That said, WISE shouldn't be a problem or at least not as much because it doesn't have COM directory issues to deal with, but is significantly out of date with the current version of GDAL. @BadgerOnABike was the last person to look into this and didn't see a need to upgrade about 15 months ago. May be worth revisiting.

I am going to push for a rethink of how we use/include GDAL and PROJ and how we approach it in the grand scheme, it should work with whats already installed and if whats installed is too old, upgrade it. but what we do now locks down the version for other apps making them not work that is 100% unacceptable.