[Gambas-user] linked project-files

PICCORO McKAY Lenz mckaygerhard at gmail.com
Mon Dec 4 00:45:17 CET 2017


umm crist ad jussi both have right, its a guindows way but its very
painfull wait for it permissin to develop a piece of code..

a shared path may be a realatable solution but.. still depends of some
ajustment in the target os..

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

2017-12-03 14:42 GMT-04:00 Jussi Lahtinen <jussi.lahtinen at gmail.com>:

> Cristiano is absolutely right. These are things that makes Unix/Linux
> great, clean and manageable. You can also create user group and shared
> folder within the group, but in most cases that is not the way to go.
>
>
> Jussi
>
> On Sun, Dec 3, 2017 at 7:17 PM, PICCORO McKAY Lenz <mckaygerhard at gmail.com
> > wrote:
>
>> cristiano, your eyes are blind.. by able to search library on current
>> path, gambas programs can run in portable mode..
>>
>> the objetive are no need of installation by user, no need of knowleged,
>> only just a single click and run.. all the needed files will be in current
>> path
>>
>> so in development mode also many users can just load the project and
>> continue coding without special or xtra steps..
>> this its the most frustrating part, in userA project are in their local
>> path, when i just load their proyect in muy home, says that library X are
>> not available in the /home/userA/.local etc etc
>>
>> Lenz McKAY Gerardo (PICCORO)
>> http://qgqlochekone.blogspot.com
>>
>> 2017-12-03 13:04 GMT-04:00 Cristiano Guadagnino <criguada at gmail.com>:
>>
>>> PICCORO, is seems to me you're a bit confused.
>>>
>>> You EITHER want it to be system-wide, so it is usable from others, and
>>> then you MUST install it as root, OR you want to be able to install as
>>> non-root, and then your installation will be available ONLY to yourself.
>>>
>>> There's no way around this, AFAIK.
>>>
>>> Cris
>>>
>>>
>>> On Sun, Dec 3, 2017 at 6:00 PM, PICCORO McKAY Lenz <
>>> mckaygerhard at gmail.com> wrote:
>>>
>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --------------------------------------------------
>>>>
>>>> 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
>>
>>
>
>
> --------------------------------------------------
>
> 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/daa39e5c/attachment-0001.html>


More information about the User mailing list