[Gambas-user] gambas3 library pathes

Willy Raets willy at ...2734...
Mon Apr 23 22:23:01 CEST 2012


On ma, 2012-04-23 at 13:58 +0200, Benoît Minisini wrote:
> I wrote a little page about libraries on the wiki to explain how to use 
> them.


Thanks for that, very clear and exactly the way I understood it.
It works fine as long as using it in IDE.

Distribution seems to be the key problem.
And I do not mean distributing to another Gambas developer but to a end
user with no littel or no idea on how linux works. So double click the
package, provide password and install (like on Debian or Ubuntu).

Because when setting Component/Library to Yes (in Project properties)
and making an executable for use you can use it just fine from IDE.

But when trying to make a installation package of the library (with
Component/Library set to Yes) for distribution to end user it becomes a
component upon install instead of a library.

So I set Component/Library back to No (in Project properties) to make a
installation package which installs just fine into /usr/bin (where all
my gambas built applications get installed) and can be used during
development in IDE as well, if pointing to it in Project -> properties
-> Tab Libraries.

But then upon distributing an application that uses it library cn not be
found and application doesn't install (see other post for details,
screens and source)

Ideal situation would be that if an application uses a Gambas library it
gets packaged along with the application as a dependency. So that only
one package would be enough for end users to install the application. 

Don't know if that is possible as I have no know how on packaging
possibilities. Is something like that possible? Because that would make
life a hell lot of easier on distribution.

Willy







More information about the User mailing list