[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2901: Packages dependies (step 7 of packager)


http://gambaswiki.org/bugtracker/edit?object=BUG.2901&from=L21haW4-

Comment #24 by Willy RAETS:

There is another flaw:

If on my development system I set LibTester (the application using the library) to use the one in ~/.local/share/gambas3/lib/vendorname and next cretae a .deb package for installation on a target system (no IDE) things go wrong.
This is because I will first install the library from .deb package onto the target system, and that one will end up in /usr/lib/gambas3/vendorname.
When next running LibTester it will want the library to be in ~/.local/share/gambas3/lib/vendorname where it will never be on a target system.
So, the application doesn't start, although the library is installed on the system

So, what is set in IDE apears to be a hardcode path. On my development system I always first need to install the library from .deb package, next open LibTester and choose the version in /usr/lib/gambas3/vendorname and uninstall the one in ~/.local/share/gambas3/lib/vendorname, next package into a .deb package to make it work on a target system. A lot of useless work and time IMHO.

I expect what is set in IDE to ONLY address what library it depends on and it's minimal version.
The library itself in turn determines the max version (compatible until).
Location as used in IDE during development (~/.local/share/gambas3/lib/vendorname) should not matter as only on a system where the library is created will you find one in this location.
I expect libraries to be searched by runtime and/or interpreter in the possible paths gambas libraries can reside and in order as stated on wiki.
And once found use that one if it is within min and max version limit.

So, maybe that could be a point of attention too, it would make working with libraries so much less work.

Willy RAETS changed the state of the bug to: Opened.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----