[Gambas-user] linked project-files

PICCORO McKAY Lenz mckaygerhard at gmail.com
Sun Dec 3 18:00:57 CET 2017


the installation for ~/.local/ are not available for others! !!!!

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-12-03 12:50 GMT-04:00 Cristiano Guadagnino <criguada at gmail.com>:

> Hi PICCORO,
> this does not imply the use of root to install.
>
> As Christof said, libraries can reside either in
>
> ~/.local/share/gambas3/lib/$vendor
>
> or in
>
> /usr/lib/gambas3/$vendor
>
>
> The first case is when you install the library as simple user. The second
> one is when you install the library as root (and in this case the
> installation is system-wide).
>
> Regards
> Cris
>
>
> On Sun, Dec 3, 2017 at 5:33 PM, PICCORO McKAY Lenz <mckaygerhard at gmail.com
> > wrote:
>
>> its a problem due if this implis that the destination must be root to
>> install.. boviously.. and users only wnat to use from it place
>>
>> Lenz McKAY Gerardo (PICCORO)
>> http://qgqlochekone.blogspot.com
>>
>> 2017-12-03 12:28 GMT-04:00 Christof Thalhofer <chrisml at deganius.de>:
>>
>>> Am 03.12.2017 um 16:38 schrieb PICCORO McKAY Lenz:
>>> > the problem with libraries, they must be in specific path, no one of
>>> the
>>> > finding methods include a relative path search
>>>
>>> Why should this be a problem?
>>>
>>> If I write a project which uses a library, the interpreter knows where
>>> to look for it. Either in
>>>
>>> ~/.local/share/gambas3/lib/$vendor
>>>
>>> or in
>>>
>>> /usr/lib/gambas3/$vendor
>>>
>>> And that's all. If I deploy a project and libraries to other systems I
>>> am always sure that the libs will be found by the interpreter. There are
>>> also namespaces due to the use of $vendor.
>>>
>>> Search in relative paths would instead decrease stability as I cannot be
>>> really sure what is in ../../anylibpath (for example) if my project runs
>>> on another computer.
>>>
>>>
>>> Alles Gute
>>>
>>> Christof Thalhofer
>>>
>>> --
>>> Dies ist keine Signatur
>>>
>>>
>>>
>>> --------------------------------------------------
>>>
>>> This is the Gambas Mailing List
>>> https://lists.gambas-basic.org/listinfo/user
>>>
>>> Hosted by https://www.hostsharing.net
>>>
>>>
>>
>>
>> --------------------------------------------------
>>
>> This is the Gambas Mailing List
>> https://lists.gambas-basic.org/listinfo/user
>>
>> Hosted by https://www.hostsharing.net
>>
>>
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List
> https://lists.gambas-basic.org/listinfo/user
>
> Hosted by https://www.hostsharing.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20171203/c9302960/attachment.html>


More information about the User mailing list