[Gambas-user] Test Module, First try

Bruce adamnt42 at gmail.com
Sat Aug 15 01:17:02 CEST 2020



On 15/8/20 6:50 am, Brian G wrote:
> The ide if used to build an installation package, seems to always install the library to a subdirectory of the /usr/lib/gambas3 by default ... so I am a little confused?

Aha! Now we are getting into the packager! Haha heehee dribble dribble.

The IDE packager doesn't actually create the installation package. 
Depending on the package type and a whole lot of weird gambasian 
incantations. But, for example to create a Fedora style RPM it builds a 
SPEC file and then invokes rpmbuild to create the package(s).

rpmbuild uses its' own configuration files and incantations to build the 
package which may "overrule" certain things in the SPEC file or in the 
CLI options in the call from the IDE.

Further, when the package is installed the user (as root) can overrule 
things specified in the package! In particular there is an option called 
--prefix that tells the installer to use a different place to put thiings.

It's better to think of the "/usr/lib" in the IDE packager as a 
"suggestion" rather than the truth. It is only what gambas "thinks" 
should be a good place to put things.

... and let's not talk about flatpaks and the like, which one of our 
guys is working on. Last month he had thick black hair, now what little 
is left is very gray!

b


More information about the User mailing list