[Gambas-user] check 4 Gambas Runtime files?

PICCORO McKAY Lenz mckaygerhard at gmail.com
Fri Dec 15 23:03:12 CET 2017


yeah gianluigi, that's the most closes, but will be a sacrilegie! in linux
admin its not same as user, so as i post, if user dont know nothing, must
learn of ask/paid to the administer.. thanks god and aliens that's the facts

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

2017-12-15 11:53 GMT-04:00 Gianluigi <bagonergi at gmail.com>:

> After reading carefully everything written here and of course without
> offense to any of you, that you know of Gambas and Linux much more than me,
> I think the system that best of all "simulates" the installation of a
> program in Windows is a script which, if an old Gambas installation is
> present, removes it, installs the one that is consistent with the Gambas
> executable and copies the executable by asking the user where.
> Then a double click is enough and everything works properly.
> What would be the contraindication, the installation of the IDE?
> We talk about open source with the IDE the customer can download the code
> and read it, change it etc. but it can not alter the executable.
> A fantastic thing we give everything and can not mess up anything.
>
> Regards
> Gianluigi
>
> 2017-12-15 16:03 GMT+01:00 PICCORO McKAY Lenz <mckaygerhard at gmail.com>:
>
>> hi mikeB
>>
>> i understand your quiestion.. some disck setupd have in their root
>> filesystems the dll for VB runtime (take in consideration this only works
>> for older VB until version 6, for .NET this not works so easyle)
>>
>> same can work for gambas, but as tobias said docker its the only way due
>> unless VB its not enought include only a share lib.. also need at least two
>> or fourt files more for a preliminar gambas windows popup (apart of
>> detection of the toolkit)
>>
>> in adition, in nomadays, those VB runtime (the famous DLL file) was only
>> need and the exec to lauch due the rest of need files was installed by the
>> OS, due VB was highly integrated in the sub-graphics system
>>
>> that case its not same in gambas, due gambas firts must detect the
>> toolkit (windows redenring engine) and then select the proper module to
>> render the window.
>>
>> obviously the diocker solution it's too complicated for only detect and
>> point to users where to do..
>>
>> Lenz McKAY Gerardo (PICCORO)
>> http://qgqlochekone.blogspot.com
>>
>> 2017-12-14 15:37 GMT-04:00 Tobias Boege <taboege at gmail.com>:
>>
>>> On Thu, 14 Dec 2017, mikeB wrote:
>>> > mikeB here again (i'm sure that most folks think i should just go away
>>> &
>>> > figure it out myself- but just maybe others have these same questions?
>>> > amd i'm having a heck of a time 'figuring it out myself' ;-(
>>> >
>>> >
>>> > *******************************************************
>>> > In comparing a setup file (VB6 to Gambas):
>>> >
>>> > VB6 INSTALL = the script of almost all M$ Windows install files
>>> includes at
>>> > the very beginning the current VB runtime files (at least in any setup
>>> I
>>> > ever created) to make sure the end users' system is up to date with the
>>> > software being installed.
>>> >
>>> > GAMBAS INSTALL = if an app is developed using Gambas version 3.10 and
>>> the
>>> > end users system has v3.8 runtime files installed (or none) the
>>> program (end
>>> > user app) will not install - comes back with the message
>>> > that v.10 runtime files are required. Not a peep on how to get them or
>>> > offer to do it automatically.
>>> > ********************************************************
>>> >
>>> > So - my question is = would there be a way to include the v.10 runtime
>>> files
>>> > in the install script - to upgrade if needed - just like a VB6
>>> install? And
>>> > if so,  would that cause any unforeseen problems?
>>> >
>>> > For the somewhat advanced Linux user - none of this matters much
>>> > cuz they are use to handling these issues - but my concern is the
>>> > person that just switched from Wins 10 to Linux 3 days ago - as I have
>>> > a large following that I'm trying to help make the switch not only to
>>> Linux
>>> > but to Gambas programming;-)  I want the end user to have NO problems
>>> > installing a Gambas programmed app - just double click the file (to
>>> install)
>>> > like they are use to. Not having to check v or anything else - just
>>> double
>>> > click the file.
>>> >
>>> > Sorry for the long post as some of it was prob unnecessary,
>>> > have a GREAT day,
>>> > mikeB
>>> >
>>>
>>> First of all, there seems to be Docker [1] if you want to distribute a
>>> program with all its dependencies. I have a hard time understanding their
>>> jargon, but the docs [2] contain these sentences:
>>>
>>>   Portable deployment across machines. Docker defines a format for
>>> bundling
>>>   an application and all its dependencies into a single object called a
>>>   container. This container can be transferred to any Docker-enabled
>>> machine.
>>>   The container can be executed there with the guarantee that the
>>> execution
>>>   environment exposed to the application will be the same in development,
>>>   testing, and production.
>>>
>>> I have no idea how they do that and what is costs. You would hope they
>>> don't
>>> throw all the libraries into an image, because that could turn out to be
>>> huge for Gambas, if you tie in the QT libraries, for instance. (Their
>>> logo
>>> kind of suggests that.) On the plus side, your customers won't need Linux
>>> anymore :-)
>>>
>>> I won't say any more about Docker, because I never used it and others
>>> here
>>> may have, and I don't have time to do more research about it now.
>>>
>>> > So - my question is = would there be a way to include the v.10 runtime
>>> files
>>> > in the install script - to upgrade if needed - just like a VB6
>>> install? And
>>> > if so,  would that cause any unforeseen problems?
>>>
>>> It's not clear how to do that. The merit of Docker is probably that
>>> they figured out a way to do this without messing up and it seems to
>>> be intricate. You can't simply ship a native library compiled for your
>>> home computer together with your Gambas program and expect it to work
>>> on someone else's raspberry pi because, for starters, that processor
>>> has a different instruction set.
>>>
>>> Besides the feasibility, who *wants* you to ship them their dependencies
>>> with every one of your programs? Assuming they trust you not to put in
>>> anything malicious, it's a waste of space as soon as one gets more than
>>> one of your programs. Let me just say in closing this line of thought
>>> that you're not the first one who thought about that, but it generally
>>> seems to be a mess and people eventually turn to the Right Way.
>>>
>>> And that is to install programs with your package manager, which will
>>> take care of installing dependencies system-wide. This raises the
>>> question
>>> how you distribute your programs currently and what exactly
>>>
>>> > comes back with the message that v.10 runtime files are required
>>>
>>> means. If you target Ubuntu, we have a PPA with a current Gambas version,
>>> as you know. You would have to tell your people once that they must
>>> enable
>>> this PPA (and nothing more) and afterwards you can give them installation
>>> packages made by the IDE and all components will be installed as they are
>>> needed, automatically on double click -- and it /should/ actually work in
>>> practice, too!
>>>
>>> Did you find the "Make installation package" functionality already and
>>> does it fail you?
>>>
>>> Regards,
>>> Tobi
>>>
>>> [1] https://www.docker.com/
>>> [2] https://docs.docker.com/engine/faq/
>>>
>>> --
>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>>>
>>> --------------------------------------------------
>>>
>>> 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/20171215/39158edd/attachment.html>


More information about the User mailing list