From mckaygerhard at gmail.com Fri Dec 1 01:32:55 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 30 Nov 2017 20:32:55 -0400 Subject: [Gambas-user] Need help getting Gambas to run on an ARM module In-Reply-To: References: Message-ID: yoiur cpu its not mali, the real cpu for you are the https://en.wikipedia.org/wiki/ARM_Cortex-A7 here a table comparison https://en.wikipedia.org/wiki/Comparison_of_ARMv7-A_cores now lets see the (unfortunatelly) wiki for that: https://wiki.debian.org/InstallingDebianOn/Allwinner#Installing_on_systems_that_are_not_supported_out_of_the_box ARMv7-A its the real cpu of you, but the all winner seems has issues on installer, your debian arch must be armhf that was released by firts time with wheeze please are the debian arch flavor the armhf do you installed? do you used the correct device tree? also i noted that gambas are not enought tested on arm platforms, inclusivelly in the bugtracker i can see that developers does not have hardware to test... so i think many bugs are still present for arm Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-11-30 13:23 GMT-04:00 Bruce Cunningham : > Piccoro, > > > > The device is like a Raspberry PI, but uses an Allwinner SOC instead of > the Broadcom SOC. The processor is an ARM Cortex A7 dual core with the > Mali400 GPU. > > > > Here is a link to the device: > > https://www.itead.cc/development-platform/arm/itead-core-aw204x.html > > > > I hope this helps. > > > > Bruce > > > > Bruce Cunningham > > bcunningham at sportif.com > > > > *From:* User [mailto:user-bounces at lists.gambas-basic.org] *On Behalf Of *PICCORO > McKAY Lenz > *Sent:* Thursday, November 30, 2017 4:28 AM > *To:* Gambas Mailing List > *Subject:* Re: [Gambas-user] Need help getting Gambas to run on an ARM > module > > > > > > > > apt-get install gambas3?. It installs, but will not launch. If I try to > invoke it from the command line, it just hangs. No error message, just > hangs until I do ctrl-C. I tried to build it from source, but encountered > a number of errors, and never could get a full build. > > in this case seems the arch are not the same.. please report the exact > hardware you are in use, i remenber that in debian theres a new floavor ofr > arm devices > > > > > > So, I found a build of Armbian (xenial) with a GUI that seems to work very > well for this board. Much better OS build. I installed Gambas with ?sudo > apt-get install gambas3?, and it installed Gambas 3.8 (ubuntu armhf). When > I launch it, I get ?segmentation fault?. So, I installed all of the > dependencies, and checked out version 3.9 from the SVN repository. It > seemed to compile without too many issues (just some warnings that didn?t > seem like much). When I launch that version I get ?illegal instruction?. > > this confirm that the arch are not same, a possible could be that you are > in multiarch mode and try to run a different arch, take in consideration > that now in debian we can mix different archs > > > > > > At this point I figured I would try compiling version 3.6 instead. In > this case, Make fails with ?main.cpp:31:21: fatal error QDateTime: No such > file or directory. Compilation terminated?. > > this its a common qt4 vs qt5 dependency problem the qt installed are > incomplete, you must revise packages and disable qt5 modules in gambas, > install complete qt4 modules and then setupd with update-alternatives the > qt environment correctly > > > > > > I?m really more of a hardware guy, and I?m trying to build an embedded > device based on this module. I?m a long time vb6/vb.net person, and > would really like to get Gambas working so as to avoid working in C. > > its a common guindows problems, your cup are full of win32 knowlegde.. > > seems the problem in your case its a very older arm class hardware, > > please can you report exact model in use for that? > > > > > > > -------------------------------------------------- > > 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: From bcunningham at sportif.com Fri Dec 1 01:57:37 2017 From: bcunningham at sportif.com (Bruce Cunningham) Date: Fri, 1 Dec 2017 00:57:37 +0000 Subject: [Gambas-user] Need help getting Gambas to run on an ARM module In-Reply-To: References: Message-ID: I tried installing MonoDevelop today, and it works fine from the same repo. I ran ?apt-get install monodevelop? to install it. So, it seems other packages in the repo are fine. I?ve installed several other things from the same repo, and they are all fine. It?s like the Gambas binaries are broken? I don?t know who maintains the Gambas builds for the armhf architecture. Bruce Bruce Cunningham bcunningham at sportif.com From: User [mailto:user-bounces at lists.gambas-basic.org] On Behalf Of PICCORO McKAY Lenz Sent: Thursday, November 30, 2017 4:33 PM To: Gambas Mailing List Subject: Re: [Gambas-user] Need help getting Gambas to run on an ARM module yoiur cpu its not mali, the real cpu for you are the https://en.wikipedia.org/wiki/ARM_Cortex-A7 here a table comparison https://en.wikipedia.org/wiki/Comparison_of_ARMv7-A_cores now lets see the (unfortunatelly) wiki for that: https://wiki.debian.org/InstallingDebianOn/Allwinner#Installing_on_systems_that_are_not_supported_out_of_the_box ARMv7-A its the real cpu of you, but the all winner seems has issues on installer, your debian arch must be armhf that was released by firts time with wheeze please are the debian arch flavor the armhf do you installed? do you used the correct device tree? also i noted that gambas are not enought tested on arm platforms, inclusivelly in the bugtracker i can see that developers does not have hardware to test... so i think many bugs are still present for arm Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-11-30 13:23 GMT-04:00 Bruce Cunningham >: Piccoro, The device is like a Raspberry PI, but uses an Allwinner SOC instead of the Broadcom SOC. The processor is an ARM Cortex A7 dual core with the Mali400 GPU. Here is a link to the device: https://www.itead.cc/development-platform/arm/itead-core-aw204x.html I hope this helps. Bruce Bruce Cunningham bcunningham at sportif.com From: User [mailto:user-bounces at lists.gambas-basic.org] On Behalf Of PICCORO McKAY Lenz Sent: Thursday, November 30, 2017 4:28 AM To: Gambas Mailing List Subject: Re: [Gambas-user] Need help getting Gambas to run on an ARM module apt-get install gambas3?. It installs, but will not launch. If I try to invoke it from the command line, it just hangs. No error message, just hangs until I do ctrl-C. I tried to build it from source, but encountered a number of errors, and never could get a full build. in this case seems the arch are not the same.. please report the exact hardware you are in use, i remenber that in debian theres a new floavor ofr arm devices So, I found a build of Armbian (xenial) with a GUI that seems to work very well for this board. Much better OS build. I installed Gambas with ?sudo apt-get install gambas3?, and it installed Gambas 3.8 (ubuntu armhf). When I launch it, I get ?segmentation fault?. So, I installed all of the dependencies, and checked out version 3.9 from the SVN repository. It seemed to compile without too many issues (just some warnings that didn?t seem like much). When I launch that version I get ?illegal instruction?. this confirm that the arch are not same, a possible could be that you are in multiarch mode and try to run a different arch, take in consideration that now in debian we can mix different archs At this point I figured I would try compiling version 3.6 instead. In this case, Make fails with ?main.cpp:31:21: fatal error QDateTime: No such file or directory. Compilation terminated?. this its a common qt4 vs qt5 dependency problem the qt installed are incomplete, you must revise packages and disable qt5 modules in gambas, install complete qt4 modules and then setupd with update-alternatives the qt environment correctly I?m really more of a hardware guy, and I?m trying to build an embedded device based on this module. I?m a long time vb6/vb.net person, and would really like to get Gambas working so as to avoid working in C. its a common guindows problems, your cup are full of win32 knowlegde.. seems the problem in your case its a very older arm class hardware, please can you report exact model in use for that? -------------------------------------------------- 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: From mckaygerhard at gmail.com Fri Dec 1 14:11:30 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 1 Dec 2017 09:11:30 -0400 Subject: [Gambas-user] Need help getting Gambas to run on an ARM module In-Reply-To: References: Message-ID: 2017-11-30 20:57 GMT-04:00 Bruce Cunningham : > It?s like the Gambas binaries are broken? I don?t know who maintains the > Gambas builds for the armhf architecture. > for sure, as i search and noted yesterday, seems gambas binary does not have been well tested in arm.. i mean the packages.. also noted try to compile by yourselft, i read in your previous mails: So, I installed all of the dependencies, and checked out version 3.9 from the SVN repository. It seemed to compile without too many issues (just some warnings that didn?t seem like much). When I launch that version I get ?illegal instruction?. compiles well but got a ilegal instruction, i think its a clear bug inside gambas comilation, in some place the arch are not correctly passed to the compiler. in that case, please fill a gambas bug in gambas bugtracker, and later then answer this mail here with detailed compilation environment and complete log attached to see what happened ! (also attach the same output in the bug report) there's any other here that have some degree experience in arm building gambas? > > > Bruce > > > > Bruce Cunningham > > bcunningham at sportif.com > > > > *From:* User [mailto:user-bounces at lists.gambas-basic.org] *On Behalf Of *PICCORO > McKAY Lenz > *Sent:* Thursday, November 30, 2017 4:33 PM > > *To:* Gambas Mailing List > *Subject:* Re: [Gambas-user] Need help getting Gambas to run on an ARM > module > > > > yoiur cpu its not mali, the real cpu for you are the > https://en.wikipedia.org/wiki/ARM_Cortex-A7 > > here a table comparison https://en.wikipedia.org/wiki/ > Comparison_of_ARMv7-A_cores > > now lets see the (unfortunatelly) wiki for that: > > https://wiki.debian.org/InstallingDebianOn/Allwinner# > Installing_on_systems_that_are_not_supported_out_of_the_box > > ARMv7-A its the real cpu of you, but the all winner seems has issues on > installer, your debian arch must be armhf that was released by firts time > with wheeze > > please are the debian arch flavor the armhf do you installed? do you used > the correct device tree? > > also i noted that gambas are not enought tested on arm platforms, > inclusivelly in the bugtracker i can see that developers does not have > hardware to test... so i think many bugs are still present for arm > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-11-30 13:23 GMT-04:00 Bruce Cunningham : > > Piccoro, > > > > The device is like a Raspberry PI, but uses an Allwinner SOC instead of > the Broadcom SOC. The processor is an ARM Cortex A7 dual core with the > Mali400 GPU. > > > > Here is a link to the device: > > https://www.itead.cc/development-platform/arm/itead-core-aw204x.html > > > > I hope this helps. > > > > Bruce > > > > Bruce Cunningham > > bcunningham at sportif.com > > > > *From:* User [mailto:user-bounces at lists.gambas-basic.org] *On Behalf Of *PICCORO > McKAY Lenz > *Sent:* Thursday, November 30, 2017 4:28 AM > *To:* Gambas Mailing List > *Subject:* Re: [Gambas-user] Need help getting Gambas to run on an ARM > module > > > > > > > > apt-get install gambas3?. It installs, but will not launch. If I try to > invoke it from the command line, it just hangs. No error message, just > hangs until I do ctrl-C. I tried to build it from source, but encountered > a number of errors, and never could get a full build. > > in this case seems the arch are not the same.. please report the exact > hardware you are in use, i remenber that in debian theres a new floavor ofr > arm devices > > > > > > So, I found a build of Armbian (xenial) with a GUI that seems to work very > well for this board. Much better OS build. I installed Gambas with ?sudo > apt-get install gambas3?, and it installed Gambas 3.8 (ubuntu armhf). When > I launch it, I get ?segmentation fault?. So, I installed all of the > dependencies, and checked out version 3.9 from the SVN repository. It > seemed to compile without too many issues (just some warnings that didn?t > seem like much). When I launch that version I get ?illegal instruction?. > > this confirm that the arch are not same, a possible could be that you are > in multiarch mode and try to run a different arch, take in consideration > that now in debian we can mix different archs > > > > > > At this point I figured I would try compiling version 3.6 instead. In > this case, Make fails with ?main.cpp:31:21: fatal error QDateTime: No such > file or directory. Compilation terminated?. > > this its a common qt4 vs qt5 dependency problem the qt installed are > incomplete, you must revise packages and disable qt5 modules in gambas, > install complete qt4 modules and then setupd with update-alternatives the > qt environment correctly > > > > > > I?m really more of a hardware guy, and I?m trying to build an embedded > device based on this module. I?m a long time vb6/vb.net person, and > would really like to get Gambas working so as to avoid working in C. > > its a common guindows problems, your cup are full of win32 knowlegde.. > > seems the problem in your case its a very older arm class hardware, > > please can you report exact model in use for that? > > > > > > > > -------------------------------------------------- > > 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: From g4mba5 at gmail.com Fri Dec 1 14:36:44 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 1 Dec 2017 14:36:44 +0100 Subject: [Gambas-user] Need help getting Gambas to run on an ARM module In-Reply-To: References: Message-ID: <3a2e8686-cf8b-6eda-d762-ec594a99ec3b@gmail.com> Le 01/12/2017 ? 14:11, PICCORO McKAY Lenz a ?crit?: > 2017-11-30 20:57 GMT-04:00 Bruce Cunningham >: > > It?s like the Gambas binaries are broken?? I don?t know who > maintains the Gambas builds for the armhf architecture. > > for sure, as i search and noted yesterday, seems gambas binary does not > have been well tested in arm.. i mean the packages.. > > also noted try to compile by yourselft, i read in your previous mails: > So, I installed all of the dependencies, and checked out version 3.9 > from the SVN repository.? It seemed to compile without too many issues > (just some warnings that didn?t seem like much).? When I launch that > version I get ?illegal instruction?. > compiles well but got a ilegal instruction, i think its a clear bug > inside gambas comilation, in some place the arch are not correctly > passed to the compiler. > > in that case, please fill a gambas bug in gambas bugtracker, and later > then answer this mail here with detailed compilation environment and > complete log attached to see what happened ! (also attach the same > output in the bug report) > > there's any other here that have some degree experience in arm building > gambas? > I did that a long time ago to fix some bugs, but on emulation, so it was slow as hell. No difference with compiling on x86. Do you get the "illegal instruction" trap or the "illegal instruction" Gambas interpreter error message? -- Beno?t Minisini From bagonergi at gmail.com Fri Dec 1 15:21:30 2017 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 1 Dec 2017 15:21:30 +0100 Subject: [Gambas-user] ShowModal Form: only center position Message-ID: Is it normal that if I open a modal window it only positions in the center and this does not work? Public Sub Form_Open() Me.Y = 50 Me.X = 50 End Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Dec 1 17:36:13 2017 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 1 Dec 2017 17:36:13 +0100 Subject: [Gambas-user] ShowModal Form: only center position In-Reply-To: References: Message-ID: A good friend (Charlie Ogier) reminded me of using Form_Show instead of Form_Open. I thanked him a lot. In Italy, in these cases, it is said to be "shots of youth" :-) Regards Gianluigi 2017-12-01 15:21 GMT+01:00 Gianluigi : > Is it normal that if I open a modal window it only positions in the center > and this does not work? > > Public Sub Form_Open() > > Me.Y = 50 > Me.X = 50 > > End > > Regards > Gianluigi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bcunningham at sportif.com Sat Dec 2 02:43:09 2017 From: bcunningham at sportif.com (Bruce Cunningham) Date: Sat, 2 Dec 2017 01:43:09 +0000 Subject: [Gambas-user] Need help getting Gambas to run on an ARM module In-Reply-To: <3a2e8686-cf8b-6eda-d762-ec594a99ec3b@gmail.com> References: <3a2e8686-cf8b-6eda-d762-ec594a99ec3b@gmail.com> Message-ID: Beno?t, I got it installed. I did a clean load of the OS image, and built Gambas 3.9.2 from source. So, I don't know if something got updated in the tool chain since I tried it last time (about two weeks ago)? One quick question. How do I make a backup copy of Gambas so I don't have to compile it again if I need to re-load the OS image in the future? It took most of the day to compile on this module! Thanks for everyone's help!!! Bruce Bruce Cunningham bcunningham at sportif.com -----Original Message----- From: User [mailto:user-bounces at lists.gambas-basic.org] On Behalf Of Beno?t Minisini Sent: Friday, December 01, 2017 5:37 AM To: Gambas Mailing List; PICCORO McKAY Lenz Subject: Re: [Gambas-user] Need help getting Gambas to run on an ARM module Le 01/12/2017 ? 14:11, PICCORO McKAY Lenz a ?crit?: > 2017-11-30 20:57 GMT-04:00 Bruce Cunningham >: > > It?s like the Gambas binaries are broken?? I don?t know who > maintains the Gambas builds for the armhf architecture. > > for sure, as i search and noted yesterday, seems gambas binary does > not have been well tested in arm.. i mean the packages.. > > also noted try to compile by yourselft, i read in your previous mails: > So, I installed all of the dependencies, and checked out version 3.9 > from the SVN repository.? It seemed to compile without too many issues > (just some warnings that didn?t seem like much).? When I launch that > version I get ?illegal instruction?. > compiles well but got a ilegal instruction, i think its a clear bug > inside gambas comilation, in some place the arch are not correctly > passed to the compiler. > > in that case, please fill a gambas bug in gambas bugtracker, and later > then answer this mail here with detailed compilation environment and > complete log attached to see what happened ! (also attach the same > output in the bug report) > > there's any other here that have some degree experience in arm > building gambas? > I did that a long time ago to fix some bugs, but on emulation, so it was slow as hell. No difference with compiling on x86. Do you get the "illegal instruction" trap or the "illegal instruction" Gambas interpreter error message? -- Beno?t Minisini -------------------------------------------------- This is the Gambas Mailing List https://lists.gambas-basic.org/listinfo/user Hosted by https://www.hostsharing.net From bugtracker at gambaswiki.org Sat Dec 2 10:52:18 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 02 Dec 2017 09:52:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1217: Keyboard doesn't work on IDE editor with Linux Mint 18.3 Cinnamon Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1217&from=L21haW4- Jorge CARRI?N reported a new bug. Summary ------- Keyboard doesn't work on IDE editor with Linux Mint 18.3 Cinnamon Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- I don't know if this is a issue of my keyboard or gambas. I have a Cherry kc 1000 SC keyboard with a card's reader included. I've updated my system to Linux Mint 18.3 Sylvia and since then the editor of gambas doesn't work. It work on gambas IDE, I can search, I can write on project's properties, etc. But I can't write on editor. Only a few extrange characters like ^ and other accents are printed, but not regular characters. I've tried with a virtual machine and it works well, so I guess is a device incompatibility. System information ------------------ [System] Gambas=3.10 OperatingSystem=Linux Kernel=4.10.0-40-generic Architecture=x86_64 Distribution=Linux Mint 18.3 Sylvia Desktop=CINNAMON Theme=Cleanlooks Language=es_ES.UTF-8 Memory=15999M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=3.6.6 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-sSjTdRrDRs,guid=c865eb73c06b5112c45f3e5d5a22750c DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_LANG=es_ES GIO_LAUNCHED_DESKTOP_FILE=/.cinnamon/panel-launchers/cinnamon-custom-launcher-1.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=4335 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= LANG=es_ES.UTF-8 LANGUAGE=es_ES LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=qgnomeplatform QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1656,unix/:/tmp/.ICE-unix/1656 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=1711 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 From bugtracker at gambaswiki.org Sat Dec 2 11:27:42 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 02 Dec 2017 10:27:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1217: Keyboard doesn't work on IDE editor with Linux Mint 18.3 Cinnamon In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1217&from=L21haW4- Jorge CARRI?N changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Sat Dec 2 11:31:51 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 02 Dec 2017 10:31:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1217: Keyboard doesn't work on IDE editor with Linux Mint 18.3 Cinnamon In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1217&from=L21haW4- Comment #1 by Jorge CARRI?N: I've tried with a new user with new config files (.config, .cinnamon, .linuxmint, .gconf etc. etc.) and now it works find. I can't figure out what configuration file produces gambas editor strange behaviour, but it's clear that is a configuration issue. Sorry about the noise. Best Regards From Karl.Reinl at Fen-Net.de Sat Dec 2 12:36:19 2017 From: Karl.Reinl at Fen-Net.de (Charlie Reinl) Date: Sat, 02 Dec 2017 12:36:19 +0100 Subject: [Gambas-user] linked project-files Message-ID: <1512214579.3984.19.camel@Scenic.local> Salut Beno?t, I work a lot with linked project-files in my projects, and often I want to add or change something, but with linked files that's not possible, they are read only. So I had a look to the code of the IDE. With the Stat(file).Type=gb.link the read only flag is set. Changing the path from the save procedure (path is always /src/file) with the Stat(file).Link path, fails because the gambas3 commands can't use relative path nominations. So the solution to make Linked Files saveable will be to change the relative path from Stat(file).Link to a full path, that can be done with readlink or realpath.I checked that and have now a IDE with r/w to linked files. And that works well. But perhaps there are other reasons why Links are read-only, are there ? -- Amicalement Charlie From g4mba5 at gmail.com Sat Dec 2 15:36:42 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 2 Dec 2017 15:36:42 +0100 Subject: [Gambas-user] linked project-files In-Reply-To: <1512214579.3984.19.camel@Scenic.local> References: <1512214579.3984.19.camel@Scenic.local> Message-ID: <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> Le 02/12/2017 ? 12:36, Charlie Reinl a ?crit?: > Salut Beno?t, > > I work a lot with linked project-files in my projects, and often I want > to add or change something, but with linked files that's not possible, > they are read only. > So I had a look to the code of the IDE. With the Stat(file).Type=gb.link > the read only flag is set. Changing the path from the save procedure > (path is always /src/file) with the Stat(file).Link path, fails > because the gambas3 commands can't use relative path nominations. So the > solution to make Linked Files saveable will be to change the relative > path from Stat(file).Link to a full path, that can be done with readlink > or realpath.I checked that and have now a IDE with r/w to linked files. > And that works well. > But perhaps there are other reasons why Links are read-only, are there ? > > Yes. These source files must be opened by the project owning them, not the projects using them as links. You remind me that I had to make a menu option to open the project of a linked file in a new window. -- Beno?t Minisini From Karl.Reinl at Fen-Net.de Sat Dec 2 19:04:53 2017 From: Karl.Reinl at Fen-Net.de (Charlie Reinl) Date: Sat, 02 Dec 2017 19:04:53 +0100 Subject: [Gambas-user] linked project-files In-Reply-To: <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> Message-ID: <1512237893.3984.26.camel@Scenic.local> Am Samstag, den 02.12.2017, 15:36 +0100 schrieb Beno?t Minisini: > Le 02/12/2017 ? 12:36, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > I work a lot with linked project-files in my projects, and often I want > > to add or change something, but with linked files that's not possible, > > they are read only. > > So I had a look to the code of the IDE. With the Stat(file).Type=gb.link > > the read only flag is set. Changing the path from the save procedure > > (path is always /src/file) with the Stat(file).Link path, fails > > because the gambas3 commands can't use relative path nominations. So the > > solution to make Linked Files saveable will be to change the relative > > path from Stat(file).Link to a full path, that can be done with readlink > > or realpath.I checked that and have now a IDE with r/w to linked files. > > And that works well. > > But perhaps there are other reasons why Links are read-only, are there ? > > > > > > Yes. These source files must be opened by the project owning them, not > the projects using them as links. Ok, but why MUST. For me, most of these files are not in a, better, no more in a project, I call that my common Function pool, which provide me common gambas3 routines etc. If absolutely MUST, can you imagine one special directory where files are stored (also in subdirectories), which are used like huge snippets, but linked in r/w mode to the project? > You remind me that I had to make a menu option to open the project of a > linked file in a new window. From g4mba5 at gmail.com Sat Dec 2 23:06:15 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 2 Dec 2017 23:06:15 +0100 Subject: [Gambas-user] linked project-files In-Reply-To: <1512237893.3984.26.camel@Scenic.local> References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> Message-ID: Le 02/12/2017 ? 19:04, Charlie Reinl a ?crit?: >> Yes. These source files must be opened by the project owning them, not >> the projects using them as links. > > Ok, but why MUST. For me, most of these files are not in a, better, no > more in a project, I call that my common Function pool, which provide me > common gambas3 routines etc. For exactly that reason: the IDE cannot read your mind and know what exactly these files are for you. So these files must be edited from the project they belong to. It is far more sure. With the menu for opening the linked file in its project, you are just one click from editing the file. -- Beno?t Minisini From bugtracker at gambaswiki.org Sun Dec 3 00:20:44 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 02 Dec 2017 23:20:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- Comment #2 by Damien COTTIER: You mean that gambas behavior for Mkdir command is different that mkdir command in the Linux shell. The idea is to used shared directories between gambas application through different user but same group. the administrator have deployed profile environment to set umask for all user to share acces on the same "group" id. i do not think it will be a proper implementation to get env variable in our gambas program to use Chmod after Mkdir command. What would be such program if Mkdir is done somewhere in a Eval expression. How this will work when i call an external component creating a directory. Is there any technical issue for gambas to get umask env variable directly when Mkdir command is called? Damien. From bugtracker at gambaswiki.org Sun Dec 3 00:33:24 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 02 Dec 2017 23:33:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- Comment #3 by Damien COTTIER: ((0755 & ~UMASK) | (~UMASK)) seems to do the stuff. From bugtracker at gambaswiki.org Sun Dec 3 00:55:10 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 02 Dec 2017 23:55:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- Comment #4 by Beno?t MINISINI: AFAIK, and according to the Linux manual, this is the standard behaviour of mkdir(). I do nothing special there, I just call the mkdir() system call. The documentation of the 'mkdir' shell command says nothing about default permissions. Where did you see that an UMASK environmental variable should give the default permissions of a newly created directory? From bugtracker at gambaswiki.org Sun Dec 3 01:49:56 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 03 Dec 2017 00:49:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- Comment #5 by Damien COTTIER: You're right, this is the behavior of mkdir command call in shell bash interpreter. My understanding is that umask is a process attribute, normally propagated to the child. I suppose if i have a UMASK environment variable, bash will fork child process with such umask attribute. That the reason that /bin/mkdir command executed from a bash with UMASK environment variable set the attribute properly. taken for man bash ================================= COMMAND EXECUTION ENVIRONMENT The shell has an execution environment, which consists of the follow? ing: ? open files inherited by the shell at invocation, as modified by redirections supplied to the exec builtin ? the current working directory as set by cd, pushd, or popd, or inherited by the shell at invocation ? the file creation mode mask as set by umask or inherited from the shell's parent ================================= umask is a process attribute that can be changed by the following api mode_t umask(mode_t mask); do you use this api while the gambas interpreter process is started. I suppose that if the shell (ex bash) is forking gambas interpreter it would inherit the umask attribute of his parent taken from http://www.tutorialspoint.com/unix_system_calls/mkdir.htm mkdir system call is doing: (mode & ~umask & 0777) where umask is taken from the process ================================== DESCRIPTION mkdir() attempts to create a directory named pathname. The parameter mode specifies the permissions to use. It is modified by the process?s umask in the usual way: the permissions of the created directory are (mode & ~umask & 0777). Other mode bits of the created directory depend on the operating system. For Linux, see below. The newly created directory will be owned by the effective user ID of the process. If the directory containing the file has the set-group-ID bit set, or if the filesystem is mounted with BSD group semantics, the new directory will inherit the group ownership from its parent; otherwise it will be owned by the effective group ID of the process. If the parent directory has the set-group-ID bit set then so will the newly created directory. .... below: NOTES Under Linux apart from the permission bits, only the S_ISVTX mode bit is honored. That is, under Linux the created directory actually gets mode (mode & ~umask & 01777). See also stat(2). There are many infelicities in the protocol underlying NFS. Some of these affect mkdir(). ================================== Indeed you're right, even if umask is properly passed to gambas interpreter meaning 0002 in our case, the mkdir system call requiere a mode and that mode is set in gambas to 0x755 allowing us to be more restrictive by umask but not more permissive due to (mode & ~umask & 01777) done in Linux. However this pb should also occur with bash and /bin/mkdir program... then i checked and found that: http://www.linfo.org/mkdir.html ================================== New directories are by default created with the read, write and execute (i.e., run as a program if a program) permissions enabled for the owner (i.e., the creator of the directory by default) and group and the read and execute permissions enabled for other users. ================================== The /sbin/mkdir command seem to use 0775 by default and not 0755. From mckaygerhard at gmail.com Sun Dec 3 02:13:01 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sat, 2 Dec 2017 21:13:01 -0400 Subject: [Gambas-user] Need help getting Gambas to run on an ARM module In-Reply-To: References: <3a2e8686-cf8b-6eda-d762-ec594a99ec3b@gmail.com> Message-ID: the make install you must specify a target destination directory, the that directory tarring and that's all the right way its make your own packages Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-01 21:43 GMT-04:00 Bruce Cunningham : > Beno?t, > > I got it installed. I did a clean load of the OS image, and built Gambas > 3.9.2 from source. So, I don't know if something got updated in the tool > chain since I tried it last time (about two weeks ago)? > > One quick question. How do I make a backup copy of Gambas so I don't have > to compile it again if I need to re-load the OS image in the future? It > took most of the day to compile on this module! > > Thanks for everyone's help!!! > > Bruce > > Bruce Cunningham > bcunningham at sportif.com > > > -----Original Message----- > From: User [mailto:user-bounces at lists.gambas-basic.org] On Behalf Of > Beno?t Minisini > Sent: Friday, December 01, 2017 5:37 AM > To: Gambas Mailing List; PICCORO McKAY Lenz > Subject: Re: [Gambas-user] Need help getting Gambas to run on an ARM module > > Le 01/12/2017 ? 14:11, PICCORO McKAY Lenz a ?crit : > > 2017-11-30 20:57 GMT-04:00 Bruce Cunningham > >: > > > > It?s like the Gambas binaries are broken? I don?t know who > > maintains the Gambas builds for the armhf architecture. > > > > for sure, as i search and noted yesterday, seems gambas binary does > > not have been well tested in arm.. i mean the packages.. > > > > also noted try to compile by yourselft, i read in your previous mails: > > So, I installed all of the dependencies, and checked out version 3.9 > > from the SVN repository. It seemed to compile without too many issues > > (just some warnings that didn?t seem like much). When I launch that > > version I get ?illegal instruction?. > > compiles well but got a ilegal instruction, i think its a clear bug > > inside gambas comilation, in some place the arch are not correctly > > passed to the compiler. > > > > in that case, please fill a gambas bug in gambas bugtracker, and later > > then answer this mail here with detailed compilation environment and > > complete log attached to see what happened ! (also attach the same > > output in the bug report) > > > > there's any other here that have some degree experience in arm > > building gambas? > > > I did that a long time ago to fix some bugs, but on emulation, so it was > slow as hell. No difference with compiling on x86. > > Do you get the "illegal instruction" trap or the "illegal instruction" > Gambas interpreter error message? > > -- > Beno?t Minisini > > -------------------------------------------------- > > 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: From chrisml at deganius.de Sun Dec 3 08:29:22 2017 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 3 Dec 2017 08:29:22 +0100 Subject: [Gambas-user] linked project-files In-Reply-To: <1512237893.3984.26.camel@Scenic.local> References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> Message-ID: <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> Am 02.12.2017 um 19:04 schrieb Charlie Reinl: > Ok, but why MUST. For me, most of these files are not in a, better, no > more in a project, I call that my common Function pool, which provide me > common gambas3 routines etc. For that (common function pool) the much cleaner and more reliable solution would be to define them as libraries. Because then they have their path where the interpreter automatically finds them. It is also better if you package your Gambas project(s) and give it away. I also stumbled over that (linked files are r/o), but only when I wanted to debug step by step classes that reside in components or libs and I wanted to link these files in my project where I was debugging. So in that seldom cases I copy them into the project I am debugging and if done, move them back afterwards. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From mckaygerhard at gmail.com Sun Dec 3 16:38:42 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 3 Dec 2017 11:38:42 -0400 Subject: [Gambas-user] linked project-files In-Reply-To: <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> Message-ID: the problem with libraries, they must be in specific path, no one of the finding methods include a relative path search Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-03 3:29 GMT-04:00 Christof Thalhofer : > Am 02.12.2017 um 19:04 schrieb Charlie Reinl: > > > Ok, but why MUST. For me, most of these files are not in a, better, no > > more in a project, I call that my common Function pool, which provide me > > common gambas3 routines etc. > > For that (common function pool) the much cleaner and more reliable > solution would be to define them as libraries. Because then they have > their path where the interpreter automatically finds them. > > It is also better if you package your Gambas project(s) and give it away. > > I also stumbled over that (linked files are r/o), but only when I wanted > to debug step by step classes that reside in components or libs and I > wanted to link these files in my project where I was debugging. > > So in that seldom cases I copy them into the project I am debugging and > if done, move them back afterwards. > > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Sun Dec 3 17:28:51 2017 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 3 Dec 2017 17:28:51 +0100 Subject: [Gambas-user] linked project-files In-Reply-To: References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> Message-ID: <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From mckaygerhard at gmail.com Sun Dec 3 17:33:33 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 3 Dec 2017 12:33:33 -0400 Subject: [Gambas-user] linked project-files In-Reply-To: <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> Message-ID: 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 : > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From criguada at gmail.com Sun Dec 3 17:50:14 2017 From: criguada at gmail.com (Cristiano Guadagnino) Date: Sun, 3 Dec 2017 17:50:14 +0100 Subject: [Gambas-user] linked project-files In-Reply-To: References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> Message-ID: 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 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 : > >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Sun Dec 3 18:00:57 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 3 Dec 2017 13:00:57 -0400 Subject: [Gambas-user] linked project-files In-Reply-To: References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> Message-ID: 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 : > 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 > 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 : >> >>> 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: From criguada at gmail.com Sun Dec 3 18:04:52 2017 From: criguada at gmail.com (Cristiano Guadagnino) Date: Sun, 3 Dec 2017 18:04:52 +0100 Subject: [Gambas-user] linked project-files In-Reply-To: References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> Message-ID: 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 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 : > >> 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 : >>> >>>> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Sun Dec 3 18:17:46 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 3 Dec 2017 13:17:46 -0400 Subject: [Gambas-user] linked project-files In-Reply-To: References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> Message-ID: 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 : > 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 > 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 : >> >>> 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 : >>>> >>>>> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From criguada at gmail.com Sun Dec 3 18:48:35 2017 From: criguada at gmail.com (Cristiano Guadagnino) Date: Sun, 3 Dec 2017 18:48:35 +0100 Subject: [Gambas-user] linked project-files In-Reply-To: References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> Message-ID: Hi PICCORO On Sun, Dec 3, 2017 at 6:17 PM, PICCORO McKAY Lenz 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 > This is the Windows way of doing things and I don't like or support it at all, but if you want it you're free to try. > 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 > That's exactly why libraries should be in predictable system-wide paths. Typically, when you want to develop something in Linux you need to install a -devel package and you do it as root. I wouldn't advocate the usage of code produced from someone who doesn't want to learn such basic things. Cris -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Sun Dec 3 19:42:16 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 3 Dec 2017 20:42:16 +0200 Subject: [Gambas-user] linked project-files In-Reply-To: References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> Message-ID: 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 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 : > >> 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 : >>> >>>> 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 : >>>>> >>>>>> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Mon Dec 4 00:45:17 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 3 Dec 2017 19:45:17 -0400 Subject: [Gambas-user] linked project-files In-Reply-To: References: <1512214579.3984.19.camel@Scenic.local> <19673463-344b-b05c-27d0-fcbc4106add4@gmail.com> <1512237893.3984.26.camel@Scenic.local> <30400613-a3b2-1011-fa96-6b77f6dc82be@deganius.de> <57994e67-6b31-3d2d-6e9e-8afb8c2eab85@deganius.de> Message-ID: 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 : > 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 > 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 : >> >>> 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 : >>>> >>>>> 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 : >>>>>> >>>>>>> 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: From mb at code-it.com Fri Dec 8 13:24:37 2017 From: mb at code-it.com (mikeB) Date: Fri, 8 Dec 2017 05:24:37 -0700 Subject: [Gambas-user] hardware requirments? Message-ID: Had someone ask me and I don't know, so I'm sure someone on this list does;-) What are the hardware requirements for Gambas 3.10 to be installed? My friend says that he can install on newer type but not older type systems? Thank for any info or reference you may have, mikeB From jussi.lahtinen at gmail.com Fri Dec 8 14:27:51 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 8 Dec 2017 15:27:51 +0200 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: Message-ID: He can't install Gambas, because of lack of disk space? Or he can't run Gambas, because of not enough memory (IDE with small project seem to take ~50MB [shouldn't be problem!])? Maybe instead he is having problems with the dependencies, maybe older version of some distro do not have needed libraries? I don't think this is hardware issue. Jussi On Fri, Dec 8, 2017 at 2:24 PM, mikeB wrote: > Had someone ask me and I don't know, so I'm sure someone on this list > does;-) What are the hardware requirements for Gambas 3.10 to be installed? > My friend says that he can install on newer type but > not older type systems? > > Thank for any info or reference you may have, > mikeB > > -------------------------------------------------- > > 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: From g4mba5 at gmail.com Fri Dec 8 14:36:00 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 8 Dec 2017 14:36:00 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: Message-ID: Le 08/12/2017 ? 14:27, Jussi Lahtinen a ?crit?: > He can't install Gambas, because of lack of disk space? Or he can't run > Gambas, because of not enough memory (IDE with small project seem to > take ~50MB [shouldn't be problem!])? > Maybe instead he is having problems with the dependencies, maybe older > version of some distro do not have needed libraries? > > I don't think this is hardware issue. > > > Jussi > Yep. Gambas just needs a keyboard, a screen, a bit of memory, and some storage. Is anything of that missing? -- Beno?t Minisini From mb at code-it.com Fri Dec 8 18:17:03 2017 From: mb at code-it.com (mikeB) Date: Fri, 8 Dec 2017 10:17:03 -0700 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: Message-ID: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> here's what my friend replied..... Installing Mint 18.3 on Old & New PC's works OK. Plenty of disks space (250GB SATA). Plenty of memory (8GB). Then add the ppa:gambas-team repo source. Then apt-get update & then install gambas3. Works ok on new PC's, but fails install on old PC's. *Major difference is old CPU & Mobo.* Works /w AMD APU's & FX CPU's. Fails on Old PC's /w AMD Athlon CPU's. Interesting that installing Gambas 3.8.4 on the Old PC's works. Only Gambas 3.10 fails to install on the Old PC's. mikeB On 12/08/2017 06:36 AM, Beno?t Minisini wrote: > Le 08/12/2017 ? 14:27, Jussi Lahtinen a ?crit?: >> He can't install Gambas, because of lack of disk space? Or he can't >> run Gambas, because of not enough memory (IDE with small project seem >> to take ~50MB [shouldn't be problem!])? >> Maybe instead he is having problems with the dependencies, maybe older >> version of some distro do not have needed libraries? >> >> I don't think this is hardware issue. >> >> >> Jussi >> > > Yep. > > Gambas just needs a keyboard, a screen, a bit of memory, and some storage. > > Is anything of that missing? > From taboege at gmail.com Fri Dec 8 18:47:16 2017 From: taboege at gmail.com (Tobias Boege) Date: Fri, 8 Dec 2017 18:47:16 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> Message-ID: <20171208174716.GE894@highrise.localdomain> On Fri, 08 Dec 2017, mikeB wrote: > here's what my friend replied..... > Installing Mint 18.3 on Old & New PC's works OK. > Plenty of disks space (250GB SATA). > Plenty of memory (8GB). > Then add the ppa:gambas-team repo source. > Then apt-get update & then install gambas3. > Works ok on new PC's, but fails install on old PC's. > *Major difference is old CPU & Mobo.* > Works /w AMD APU's & FX CPU's. > Fails on Old PC's /w AMD Athlon CPU's. > Interesting that installing Gambas 3.8.4 on the Old PC's works. > Only Gambas 3.10 fails to install on the Old PC's. > A possibly relevant difference between those systems is that AMD Athlons are 32 bit, unless I'm mistaken. Maybe some dependencies are outdated for that architecture. Anyway it would be time to provide some real error messages. If it's the bitness or too high version requirements for some dependencies that came since 3.8.4, the package manager should be able to say that. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at gmail.com Fri Dec 8 19:27:46 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 8 Dec 2017 14:27:46 -0400 Subject: [Gambas-user] hardware requirments? In-Reply-To: <20171208174716.GE894@highrise.localdomain> References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: the problem its the winbuntu derived distro mint.. i installed gambas in the very older eeepc asus with 2G disk ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. but recent stupid linuxes (including recent kernel) now removed a lot of support for older hardware lest take a example to xorg: since 7.3 xorg does not support intel i810 complety, lie to said that its supported due that chip does not offer 32bit dept only 16bit "true color" so newer xorg does not complety provide all the chip capabilities so if you have intel 810 based chip and wants DIR and opengl, xorg must be fewer rather thant 7.2 so an older linux must be used.. in my case i backporte gambas for older linuxes.. like debian lenny and squeeze perfectly.. of course, thanks to benoit that still does not "up" the requerimients... Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-08 13:47 GMT-04:00 Tobias Boege : > On Fri, 08 Dec 2017, mikeB wrote: > > here's what my friend replied..... > > Installing Mint 18.3 on Old & New PC's works OK. > > Plenty of disks space (250GB SATA). > > Plenty of memory (8GB). > > Then add the ppa:gambas-team repo source. > > Then apt-get update & then install gambas3. > > Works ok on new PC's, but fails install on old PC's. > > *Major difference is old CPU & Mobo.* > > Works /w AMD APU's & FX CPU's. > > Fails on Old PC's /w AMD Athlon CPU's. > > Interesting that installing Gambas 3.8.4 on the Old PC's works. > > Only Gambas 3.10 fails to install on the Old PC's. > > > > A possibly relevant difference between those systems is that AMD Athlons > are 32 bit, unless I'm mistaken. Maybe some dependencies are outdated for > that architecture. > > Anyway it would be time to provide some real error messages. If it's the > bitness or too high version requirements for some dependencies that came > since 3.8.4, the package manager should be able to say that. > > Regards, > Tobi > > -- > "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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sat Dec 9 15:11:52 2017 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 9 Dec 2017 15:11:52 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: A possible solution that allows installing 3.10 from PPA is Xubuntu 16.04 Regards Gianluigi 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz : > the problem its the winbuntu derived distro mint.. > > i installed gambas in the very older eeepc asus with 2G disk ssd internal, > 512Mb ram and geode CPU 800MHz perfectly.. > > but recent stupid linuxes (including recent kernel) now removed a lot of > support for older hardware lest take a example to xorg: > > since 7.3 xorg does not support intel i810 complety, lie to said that its > supported due that chip does not offer 32bit dept only 16bit "true color" > so newer xorg does not complety provide all the chip capabilities > so if you have intel 810 based chip and wants DIR and opengl, xorg must be > fewer rather thant 7.2 so an older linux must be used.. > > in my case i backporte gambas for older linuxes.. like debian lenny and > squeeze perfectly.. of course, thanks to benoit that still does not "up" > the requerimients... > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-12-08 13:47 GMT-04:00 Tobias Boege : > >> On Fri, 08 Dec 2017, mikeB wrote: >> > here's what my friend replied..... >> > Installing Mint 18.3 on Old & New PC's works OK. >> > Plenty of disks space (250GB SATA). >> > Plenty of memory (8GB). >> > Then add the ppa:gambas-team repo source. >> > Then apt-get update & then install gambas3. >> > Works ok on new PC's, but fails install on old PC's. >> > *Major difference is old CPU & Mobo.* >> > Works /w AMD APU's & FX CPU's. >> > Fails on Old PC's /w AMD Athlon CPU's. >> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >> > Only Gambas 3.10 fails to install on the Old PC's. >> > >> >> A possibly relevant difference between those systems is that AMD Athlons >> are 32 bit, unless I'm mistaken. Maybe some dependencies are outdated for >> that architecture. >> >> Anyway it would be time to provide some real error messages. If it's the >> bitness or too high version requirements for some dependencies that came >> since 3.8.4, the package manager should be able to say that. >> >> Regards, >> Tobi >> >> -- >> "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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Sat Dec 9 20:10:24 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sat, 9 Dec 2017 21:10:24 +0200 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: Have you actually tested that with 32bit version? Jussi On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi wrote: > A possible solution that allows installing 3.10 from PPA is Xubuntu 16.04 > > Regards > Gianluigi > > 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz : > >> the problem its the winbuntu derived distro mint.. >> >> i installed gambas in the very older eeepc asus with 2G disk ssd >> internal, 512Mb ram and geode CPU 800MHz perfectly.. >> >> but recent stupid linuxes (including recent kernel) now removed a lot of >> support for older hardware lest take a example to xorg: >> >> since 7.3 xorg does not support intel i810 complety, lie to said that its >> supported due that chip does not offer 32bit dept only 16bit "true color" >> so newer xorg does not complety provide all the chip capabilities >> so if you have intel 810 based chip and wants DIR and opengl, xorg must >> be fewer rather thant 7.2 so an older linux must be used.. >> >> in my case i backporte gambas for older linuxes.. like debian lenny and >> squeeze perfectly.. of course, thanks to benoit that still does not "up" >> the requerimients... >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >> >>> On Fri, 08 Dec 2017, mikeB wrote: >>> > here's what my friend replied..... >>> > Installing Mint 18.3 on Old & New PC's works OK. >>> > Plenty of disks space (250GB SATA). >>> > Plenty of memory (8GB). >>> > Then add the ppa:gambas-team repo source. >>> > Then apt-get update & then install gambas3. >>> > Works ok on new PC's, but fails install on old PC's. >>> > *Major difference is old CPU & Mobo.* >>> > Works /w AMD APU's & FX CPU's. >>> > Fails on Old PC's /w AMD Athlon CPU's. >>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>> > Only Gambas 3.10 fails to install on the Old PC's. >>> > >>> >>> A possibly relevant difference between those systems is that AMD Athlons >>> are 32 bit, unless I'm mistaken. Maybe some dependencies are outdated for >>> that architecture. >>> >>> Anyway it would be time to provide some real error messages. If it's the >>> bitness or too high version requirements for some dependencies that came >>> since 3.8.4, the package manager should be able to say that. >>> >>> Regards, >>> Tobi >>> >>> -- >>> "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: From bagonergi at gmail.com Sat Dec 9 22:24:20 2017 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 9 Dec 2017 22:24:20 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: Yes :-) [System] Gambas=3.10 OperatingSystem=Linux Kernel=4.4.0-103-generic Architecture=x86 Distribution=Ubuntu 16.04.3 LTS Desktop=XFCE Theme=Cleanlooks Language=it_IT.UTF-8 Memory=3018M Regards Gianluigi 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen : > Have you actually tested that with 32bit version? > > > Jussi > > On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi wrote: > >> A possible solution that allows installing 3.10 from PPA is Xubuntu 16.04 >> >> Regards >> Gianluigi >> >> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz : >> >>> the problem its the winbuntu derived distro mint.. >>> >>> i installed gambas in the very older eeepc asus with 2G disk ssd >>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>> >>> but recent stupid linuxes (including recent kernel) now removed a lot of >>> support for older hardware lest take a example to xorg: >>> >>> since 7.3 xorg does not support intel i810 complety, lie to said that >>> its supported due that chip does not offer 32bit dept only 16bit "true >>> color" so newer xorg does not complety provide all the chip capabilities >>> so if you have intel 810 based chip and wants DIR and opengl, xorg must >>> be fewer rather thant 7.2 so an older linux must be used.. >>> >>> in my case i backporte gambas for older linuxes.. like debian lenny and >>> squeeze perfectly.. of course, thanks to benoit that still does not "up" >>> the requerimients... >>> >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>> >>>> On Fri, 08 Dec 2017, mikeB wrote: >>>> > here's what my friend replied..... >>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>> > Plenty of disks space (250GB SATA). >>>> > Plenty of memory (8GB). >>>> > Then add the ppa:gambas-team repo source. >>>> > Then apt-get update & then install gambas3. >>>> > Works ok on new PC's, but fails install on old PC's. >>>> > *Major difference is old CPU & Mobo.* >>>> > Works /w AMD APU's & FX CPU's. >>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>> > >>>> >>>> A possibly relevant difference between those systems is that AMD Athlons >>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are outdated >>>> for >>>> that architecture. >>>> >>>> Anyway it would be time to provide some real error messages. If it's the >>>> bitness or too high version requirements for some dependencies that came >>>> since 3.8.4, the package manager should be able to say that. >>>> >>>> Regards, >>>> Tobi >>>> >>>> -- >>>> "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 >> >> > > > -------------------------------------------------- > > 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: From jussi.lahtinen at gmail.com Sun Dec 10 02:03:43 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 10 Dec 2017 03:03:43 +0200 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: Interesting, then I would guess the fault is not on Linux Mint either... their repos contain pretty much the same stuff. But hard to say without testing... or knowing the actual error message. Jussi On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi wrote: > Yes :-) > > [System] > Gambas=3.10 > OperatingSystem=Linux > Kernel=4.4.0-103-generic > Architecture=x86 > Distribution=Ubuntu 16.04.3 LTS > Desktop=XFCE > Theme=Cleanlooks > Language=it_IT.UTF-8 > Memory=3018M > > Regards > Gianluigi > > > > > 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen : > >> Have you actually tested that with 32bit version? >> >> >> Jussi >> >> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi wrote: >> >>> A possible solution that allows installing 3.10 from PPA is Xubuntu 16.04 >>> >>> Regards >>> Gianluigi >>> >>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz : >>> >>>> the problem its the winbuntu derived distro mint.. >>>> >>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>> >>>> but recent stupid linuxes (including recent kernel) now removed a lot >>>> of support for older hardware lest take a example to xorg: >>>> >>>> since 7.3 xorg does not support intel i810 complety, lie to said that >>>> its supported due that chip does not offer 32bit dept only 16bit "true >>>> color" so newer xorg does not complety provide all the chip capabilities >>>> so if you have intel 810 based chip and wants DIR and opengl, xorg must >>>> be fewer rather thant 7.2 so an older linux must be used.. >>>> >>>> in my case i backporte gambas for older linuxes.. like debian lenny and >>>> squeeze perfectly.. of course, thanks to benoit that still does not "up" >>>> the requerimients... >>>> >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> >>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>> >>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>> > here's what my friend replied..... >>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>> > Plenty of disks space (250GB SATA). >>>>> > Plenty of memory (8GB). >>>>> > Then add the ppa:gambas-team repo source. >>>>> > Then apt-get update & then install gambas3. >>>>> > Works ok on new PC's, but fails install on old PC's. >>>>> > *Major difference is old CPU & Mobo.* >>>>> > Works /w AMD APU's & FX CPU's. >>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>> > >>>>> >>>>> A possibly relevant difference between those systems is that AMD >>>>> Athlons >>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are outdated >>>>> for >>>>> that architecture. >>>>> >>>>> Anyway it would be time to provide some real error messages. If it's >>>>> the >>>>> bitness or too high version requirements for some dependencies that >>>>> came >>>>> since 3.8.4, the package manager should be able to say that. >>>>> >>>>> Regards, >>>>> Tobi >>>>> >>>>> -- >>>>> "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 >>> >>> >> >> >> -------------------------------------------------- >> >> 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: From bagonergi at gmail.com Sun Dec 10 09:39:12 2017 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 10 Dec 2017 09:39:12 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: Here (Gambas-it) there were discussions that would make us think otherwise. Sometimes Mint gives different results. Taking a test does not cost much effort and removes any doubt. Regards Gianluigi 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : > Interesting, then I would guess the fault is not on Linux Mint either... > their repos contain pretty much the same stuff. > But hard to say without testing... or knowing the actual error message. > > > Jussi > > > On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi wrote: > >> Yes :-) >> >> [System] >> Gambas=3.10 >> OperatingSystem=Linux >> Kernel=4.4.0-103-generic >> Architecture=x86 >> Distribution=Ubuntu 16.04.3 LTS >> Desktop=XFCE >> Theme=Cleanlooks >> Language=it_IT.UTF-8 >> Memory=3018M >> >> Regards >> Gianluigi >> >> >> >> >> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen : >> >>> Have you actually tested that with 32bit version? >>> >>> >>> Jussi >>> >>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi wrote: >>> >>>> A possible solution that allows installing 3.10 from PPA is Xubuntu >>>> 16.04 >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz : >>>> >>>>> the problem its the winbuntu derived distro mint.. >>>>> >>>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>> >>>>> but recent stupid linuxes (including recent kernel) now removed a lot >>>>> of support for older hardware lest take a example to xorg: >>>>> >>>>> since 7.3 xorg does not support intel i810 complety, lie to said that >>>>> its supported due that chip does not offer 32bit dept only 16bit "true >>>>> color" so newer xorg does not complety provide all the chip capabilities >>>>> so if you have intel 810 based chip and wants DIR and opengl, xorg >>>>> must be fewer rather thant 7.2 so an older linux must be used.. >>>>> >>>>> in my case i backporte gambas for older linuxes.. like debian lenny >>>>> and squeeze perfectly.. of course, thanks to benoit that still does not >>>>> "up" the requerimients... >>>>> >>>>> Lenz McKAY Gerardo (PICCORO) >>>>> http://qgqlochekone.blogspot.com >>>>> >>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>> >>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>> > here's what my friend replied..... >>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>> > Plenty of disks space (250GB SATA). >>>>>> > Plenty of memory (8GB). >>>>>> > Then add the ppa:gambas-team repo source. >>>>>> > Then apt-get update & then install gambas3. >>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>> > *Major difference is old CPU & Mobo.* >>>>>> > Works /w AMD APU's & FX CPU's. >>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>> > >>>>>> >>>>>> A possibly relevant difference between those systems is that AMD >>>>>> Athlons >>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are outdated >>>>>> for >>>>>> that architecture. >>>>>> >>>>>> Anyway it would be time to provide some real error messages. If it's >>>>>> the >>>>>> bitness or too high version requirements for some dependencies that >>>>>> came >>>>>> since 3.8.4, the package manager should be able to say that. >>>>>> >>>>>> Regards, >>>>>> Tobi >>>>>> >>>>>> -- >>>>>> "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 >>>> >>>> >>> >>> >>> -------------------------------------------------- >>> >>> 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: From mckaygerhard at gmail.com Sun Dec 10 12:47:04 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 10 Dec 2017 07:47:04 -0400 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: 2017-12-10 4:39 GMT-04:00 Gianluigi : > Here (Gambas-it) there were discussions that would make us think otherwise. > Sometimes Mint gives different results. > Taking a test does not cost much effort and removes any doubt. > jajaja never mind. witn a winbuntu derivative never will work.. use a kernel with no so many up to date.. a kernel that fith the hardware wrong thinking that the most recent its the better > > Regards > Gianluigi > > 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : > >> Interesting, then I would guess the fault is not on Linux Mint either... >> their repos contain pretty much the same stuff. >> But hard to say without testing... or knowing the actual error message. >> >> >> Jussi >> >> >> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi wrote: >> >>> Yes :-) >>> >>> [System] >>> Gambas=3.10 >>> OperatingSystem=Linux >>> Kernel=4.4.0-103-generic >>> Architecture=x86 >>> Distribution=Ubuntu 16.04.3 LTS >>> Desktop=XFCE >>> Theme=Cleanlooks >>> Language=it_IT.UTF-8 >>> Memory=3018M >>> >>> Regards >>> Gianluigi >>> >>> >>> >>> >>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen : >>> >>>> Have you actually tested that with 32bit version? >>>> >>>> >>>> Jussi >>>> >>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi wrote: >>>> >>>>> A possible solution that allows installing 3.10 from PPA is Xubuntu >>>>> 16.04 >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz >>>>> : >>>>> >>>>>> the problem its the winbuntu derived distro mint.. >>>>>> >>>>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>> >>>>>> but recent stupid linuxes (including recent kernel) now removed a lot >>>>>> of support for older hardware lest take a example to xorg: >>>>>> >>>>>> since 7.3 xorg does not support intel i810 complety, lie to said that >>>>>> its supported due that chip does not offer 32bit dept only 16bit "true >>>>>> color" so newer xorg does not complety provide all the chip capabilities >>>>>> so if you have intel 810 based chip and wants DIR and opengl, xorg >>>>>> must be fewer rather thant 7.2 so an older linux must be used.. >>>>>> >>>>>> in my case i backporte gambas for older linuxes.. like debian lenny >>>>>> and squeeze perfectly.. of course, thanks to benoit that still does not >>>>>> "up" the requerimients... >>>>>> >>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>> http://qgqlochekone.blogspot.com >>>>>> >>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>> >>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>> > here's what my friend replied..... >>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>> > Plenty of disks space (250GB SATA). >>>>>>> > Plenty of memory (8GB). >>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>> > Then apt-get update & then install gambas3. >>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>> > >>>>>>> >>>>>>> A possibly relevant difference between those systems is that AMD >>>>>>> Athlons >>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>> outdated for >>>>>>> that architecture. >>>>>>> >>>>>>> Anyway it would be time to provide some real error messages. If it's >>>>>>> the >>>>>>> bitness or too high version requirements for some dependencies that >>>>>>> came >>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>> >>>>>>> Regards, >>>>>>> Tobi >>>>>>> >>>>>>> -- >>>>>>> "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 >>>>> >>>>> >>>> >>>> >>>> -------------------------------------------------- >>>> >>>> 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: From bagonergi at gmail.com Sun Dec 10 14:18:15 2017 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 10 Dec 2017 14:18:15 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: If you like laughing... Mine is a 13-year old hardware (excluding monitors and mouse, just bought the monitor) and with Xubuntu 16.04 it works great. Regards Gianluigi 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz : > 2017-12-10 4:39 GMT-04:00 Gianluigi : > >> Here (Gambas-it) there were discussions that would make us think >> otherwise. >> Sometimes Mint gives different results. >> Taking a test does not cost much effort and removes any doubt. >> > jajaja never mind. witn a winbuntu derivative never will work.. > > use a kernel with no so many up to date.. a kernel that fith the hardware > > wrong thinking that the most recent its the better > > > >> >> Regards >> Gianluigi >> >> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : >> >>> Interesting, then I would guess the fault is not on Linux Mint either... >>> their repos contain pretty much the same stuff. >>> But hard to say without testing... or knowing the actual error message. >>> >>> >>> Jussi >>> >>> >>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi wrote: >>> >>>> Yes :-) >>>> >>>> [System] >>>> Gambas=3.10 >>>> OperatingSystem=Linux >>>> Kernel=4.4.0-103-generic >>>> Architecture=x86 >>>> Distribution=Ubuntu 16.04.3 LTS >>>> Desktop=XFCE >>>> Theme=Cleanlooks >>>> Language=it_IT.UTF-8 >>>> Memory=3018M >>>> >>>> Regards >>>> Gianluigi >>>> >>>> >>>> >>>> >>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen : >>>> >>>>> Have you actually tested that with 32bit version? >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi wrote: >>>>> >>>>>> A possible solution that allows installing 3.10 from PPA is Xubuntu >>>>>> 16.04 >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz >>>>> >: >>>>>> >>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>> >>>>>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>>>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>> >>>>>>> but recent stupid linuxes (including recent kernel) now removed a >>>>>>> lot of support for older hardware lest take a example to xorg: >>>>>>> >>>>>>> since 7.3 xorg does not support intel i810 complety, lie to said >>>>>>> that its supported due that chip does not offer 32bit dept only 16bit "true >>>>>>> color" so newer xorg does not complety provide all the chip capabilities >>>>>>> so if you have intel 810 based chip and wants DIR and opengl, xorg >>>>>>> must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>> >>>>>>> in my case i backporte gambas for older linuxes.. like debian lenny >>>>>>> and squeeze perfectly.. of course, thanks to benoit that still does not >>>>>>> "up" the requerimients... >>>>>>> >>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>> http://qgqlochekone.blogspot.com >>>>>>> >>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>> >>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>> > here's what my friend replied..... >>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>> > Plenty of memory (8GB). >>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>> > >>>>>>>> >>>>>>>> A possibly relevant difference between those systems is that AMD >>>>>>>> Athlons >>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>> outdated for >>>>>>>> that architecture. >>>>>>>> >>>>>>>> Anyway it would be time to provide some real error messages. If >>>>>>>> it's the >>>>>>>> bitness or too high version requirements for some dependencies that >>>>>>>> came >>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>> >>>>>>>> Regards, >>>>>>>> Tobi >>>>>>>> >>>>>>>> -- >>>>>>>> "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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -------------------------------------------------- >>>>> >>>>> 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: From mckaygerhard at gmail.com Sun Dec 10 15:55:25 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 10 Dec 2017 10:55:25 -0400 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: 2017-12-10 9:18 GMT-04:00 Gianluigi : > If you like laughing... > Mine is a 13-year old hardware (excluding monitors and mouse, just bought > the monitor) and with Xubuntu 16.04 it works great. > but its not the case.. For information to all Only lasted Athlon CPU's have sse instructions set .. this can be one of the reasons why failds.. i'll explain for all gambas works with that, but dependences in "win"buntu does not!, if some package was compiled with sse or something of non-existing instruction enabled (common in this days, by example for the kernels) will not work.. Fails on Old PC's /w AMD Athlon CPU's. Interesting that installing Gambas 3.8.4 on the Old P Gambas 3.8.4 used by your maybe its from older ppa or from oficial repositoryes.. in "that time" the dependences was very olders and maybe not have some instructions enabled The other obviously reason, its the PPA naturally compilation procedure, i thinkg due winbuntu mint use the ppa repository, that the ppa compilation process enabled today many instructions not supported by the olders athlon cpu's And for surprise of all, i have a K6 and a K7 cpu, and installed windows mint and the ppa packages fails for lasted.. with this error: "ilegal instruction set" the error its a obviously reference that something done in the cpu that its not possible, well sse are not the case (was a example), i compile in my debian lenny and gambas 3.10 works perfectly > > Regards > Gianluigi > > 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz : > >> 2017-12-10 4:39 GMT-04:00 Gianluigi : >> >>> Here (Gambas-it) there were discussions that would make us think >>> otherwise. >>> Sometimes Mint gives different results. >>> Taking a test does not cost much effort and removes any doubt. >>> >> jajaja never mind. witn a winbuntu derivative never will work.. >> >> use a kernel with no so many up to date.. a kernel that fith the hardware >> >> wrong thinking that the most recent its the better >> >> >> >>> >>> Regards >>> Gianluigi >>> >>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : >>> >>>> Interesting, then I would guess the fault is not on Linux Mint >>>> either... their repos contain pretty much the same stuff. >>>> But hard to say without testing... or knowing the actual error message. >>>> >>>> >>>> Jussi >>>> >>>> >>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi wrote: >>>> >>>>> Yes :-) >>>>> >>>>> [System] >>>>> Gambas=3.10 >>>>> OperatingSystem=Linux >>>>> Kernel=4.4.0-103-generic >>>>> Architecture=x86 >>>>> Distribution=Ubuntu 16.04.3 LTS >>>>> Desktop=XFCE >>>>> Theme=Cleanlooks >>>>> Language=it_IT.UTF-8 >>>>> Memory=3018M >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> >>>>> >>>>> >>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen : >>>>> >>>>>> Have you actually tested that with 32bit version? >>>>>> >>>>>> >>>>>> Jussi >>>>>> >>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>> wrote: >>>>>> >>>>>>> A possible solution that allows installing 3.10 from PPA is Xubuntu >>>>>>> 16.04 >>>>>>> >>>>>>> Regards >>>>>>> Gianluigi >>>>>>> >>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>> mckaygerhard at gmail.com>: >>>>>>> >>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>> >>>>>>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>>>>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>> >>>>>>>> but recent stupid linuxes (including recent kernel) now removed a >>>>>>>> lot of support for older hardware lest take a example to xorg: >>>>>>>> >>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to said >>>>>>>> that its supported due that chip does not offer 32bit dept only 16bit "true >>>>>>>> color" so newer xorg does not complety provide all the chip capabilities >>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, xorg >>>>>>>> must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>>> >>>>>>>> in my case i backporte gambas for older linuxes.. like debian lenny >>>>>>>> and squeeze perfectly.. of course, thanks to benoit that still does not >>>>>>>> "up" the requerimients... >>>>>>>> >>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>> >>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>> >>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>> > here's what my friend replied..... >>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>> > Plenty of memory (8GB). >>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>> > >>>>>>>>> >>>>>>>>> A possibly relevant difference between those systems is that AMD >>>>>>>>> Athlons >>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>>> outdated for >>>>>>>>> that architecture. >>>>>>>>> >>>>>>>>> Anyway it would be time to provide some real error messages. If >>>>>>>>> it's the >>>>>>>>> bitness or too high version requirements for some dependencies >>>>>>>>> that came >>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Tobi >>>>>>>>> >>>>>>>>> -- >>>>>>>>> "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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -------------------------------------------------- >>>>>> >>>>>> 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: From jussi.lahtinen at gmail.com Sun Dec 10 16:48:35 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 10 Dec 2017 17:48:35 +0200 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: My computer is 9 years old and works perfectly with Linux Mint (64bit). I really like the cinnamon desktop. I compile Gambas myself and I compile every component except Qt5 stuff. Never had problems. When was last 32bit CPU for PCs made? Was it Athlon from 2005? Jussi On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi wrote: > If you like laughing... > Mine is a 13-year old hardware (excluding monitors and mouse, just bought > the monitor) and with Xubuntu 16.04 it works great. > > Regards > Gianluigi > > 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz : > >> 2017-12-10 4:39 GMT-04:00 Gianluigi : >> >>> Here (Gambas-it) there were discussions that would make us think >>> otherwise. >>> Sometimes Mint gives different results. >>> Taking a test does not cost much effort and removes any doubt. >>> >> jajaja never mind. witn a winbuntu derivative never will work.. >> >> use a kernel with no so many up to date.. a kernel that fith the hardware >> >> wrong thinking that the most recent its the better >> >> >> >>> >>> Regards >>> Gianluigi >>> >>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : >>> >>>> Interesting, then I would guess the fault is not on Linux Mint >>>> either... their repos contain pretty much the same stuff. >>>> But hard to say without testing... or knowing the actual error message. >>>> >>>> >>>> Jussi >>>> >>>> >>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi wrote: >>>> >>>>> Yes :-) >>>>> >>>>> [System] >>>>> Gambas=3.10 >>>>> OperatingSystem=Linux >>>>> Kernel=4.4.0-103-generic >>>>> Architecture=x86 >>>>> Distribution=Ubuntu 16.04.3 LTS >>>>> Desktop=XFCE >>>>> Theme=Cleanlooks >>>>> Language=it_IT.UTF-8 >>>>> Memory=3018M >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> >>>>> >>>>> >>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen : >>>>> >>>>>> Have you actually tested that with 32bit version? >>>>>> >>>>>> >>>>>> Jussi >>>>>> >>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>> wrote: >>>>>> >>>>>>> A possible solution that allows installing 3.10 from PPA is Xubuntu >>>>>>> 16.04 >>>>>>> >>>>>>> Regards >>>>>>> Gianluigi >>>>>>> >>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>> mckaygerhard at gmail.com>: >>>>>>> >>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>> >>>>>>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>>>>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>> >>>>>>>> but recent stupid linuxes (including recent kernel) now removed a >>>>>>>> lot of support for older hardware lest take a example to xorg: >>>>>>>> >>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to said >>>>>>>> that its supported due that chip does not offer 32bit dept only 16bit "true >>>>>>>> color" so newer xorg does not complety provide all the chip capabilities >>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, xorg >>>>>>>> must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>>> >>>>>>>> in my case i backporte gambas for older linuxes.. like debian lenny >>>>>>>> and squeeze perfectly.. of course, thanks to benoit that still does not >>>>>>>> "up" the requerimients... >>>>>>>> >>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>> >>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>> >>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>> > here's what my friend replied..... >>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>> > Plenty of memory (8GB). >>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>> > >>>>>>>>> >>>>>>>>> A possibly relevant difference between those systems is that AMD >>>>>>>>> Athlons >>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>>> outdated for >>>>>>>>> that architecture. >>>>>>>>> >>>>>>>>> Anyway it would be time to provide some real error messages. If >>>>>>>>> it's the >>>>>>>>> bitness or too high version requirements for some dependencies >>>>>>>>> that came >>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Tobi >>>>>>>>> >>>>>>>>> -- >>>>>>>>> "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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -------------------------------------------------- >>>>>> >>>>>> 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: From mckaygerhard at gmail.com Sun Dec 10 18:27:41 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 10 Dec 2017 13:27:41 -0400 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: 9 years are not old! Athlon was made by firts time at 1999 a 18 year old, ok gambas must be compiled in the host in that case or you must use my packages for older computers that really works optimized (venenux) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen : > My computer is 9 years old and works perfectly with Linux Mint (64bit). I > really like the cinnamon desktop. > I compile Gambas myself and I compile every component except Qt5 stuff. > Never had problems. > > When was last 32bit CPU for PCs made? Was it Athlon from 2005? > > > Jussi > > On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi wrote: > >> If you like laughing... >> Mine is a 13-year old hardware (excluding monitors and mouse, just bought >> the monitor) and with Xubuntu 16.04 it works great. >> >> Regards >> Gianluigi >> >> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz : >> >>> 2017-12-10 4:39 GMT-04:00 Gianluigi : >>> >>>> Here (Gambas-it) there were discussions that would make us think >>>> otherwise. >>>> Sometimes Mint gives different results. >>>> Taking a test does not cost much effort and removes any doubt. >>>> >>> jajaja never mind. witn a winbuntu derivative never will work.. >>> >>> use a kernel with no so many up to date.. a kernel that fith the hardware >>> >>> wrong thinking that the most recent its the better >>> >>> >>> >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : >>>> >>>>> Interesting, then I would guess the fault is not on Linux Mint >>>>> either... their repos contain pretty much the same stuff. >>>>> But hard to say without testing... or knowing the actual error message. >>>>> >>>>> >>>>> Jussi >>>>> >>>>> >>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi >>>>> wrote: >>>>> >>>>>> Yes :-) >>>>>> >>>>>> [System] >>>>>> Gambas=3.10 >>>>>> OperatingSystem=Linux >>>>>> Kernel=4.4.0-103-generic >>>>>> Architecture=x86 >>>>>> Distribution=Ubuntu 16.04.3 LTS >>>>>> Desktop=XFCE >>>>>> Theme=Cleanlooks >>>>>> Language=it_IT.UTF-8 >>>>>> Memory=3018M >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen : >>>>>> >>>>>>> Have you actually tested that with 32bit version? >>>>>>> >>>>>>> >>>>>>> Jussi >>>>>>> >>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>>> wrote: >>>>>>> >>>>>>>> A possible solution that allows installing 3.10 from PPA is Xubuntu >>>>>>>> 16.04 >>>>>>>> >>>>>>>> Regards >>>>>>>> Gianluigi >>>>>>>> >>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>>> mckaygerhard at gmail.com>: >>>>>>>> >>>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>>> >>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>>>>>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>>> >>>>>>>>> but recent stupid linuxes (including recent kernel) now removed a >>>>>>>>> lot of support for older hardware lest take a example to xorg: >>>>>>>>> >>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to said >>>>>>>>> that its supported due that chip does not offer 32bit dept only 16bit "true >>>>>>>>> color" so newer xorg does not complety provide all the chip capabilities >>>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, xorg >>>>>>>>> must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>>>> >>>>>>>>> in my case i backporte gambas for older linuxes.. like debian >>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit that still does >>>>>>>>> not "up" the requerimients... >>>>>>>>> >>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>> >>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>>> >>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>>> > here's what my friend replied..... >>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>>> > Plenty of memory (8GB). >>>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> A possibly relevant difference between those systems is that AMD >>>>>>>>>> Athlons >>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>>>> outdated for >>>>>>>>>> that architecture. >>>>>>>>>> >>>>>>>>>> Anyway it would be time to provide some real error messages. If >>>>>>>>>> it's the >>>>>>>>>> bitness or too high version requirements for some dependencies >>>>>>>>>> that came >>>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> Tobi >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> "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 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -------------------------------------------------- >>>>>>> >>>>>>> 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: From bagonergi at gmail.com Sun Dec 10 19:08:54 2017 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 10 Dec 2017 19:08:54 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: But here we talk about 8 GB of RAM, CPU can not be older than 9 years, could not support them. Regards Gianluigi 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz : > 9 years are not old! Athlon was made by firts time at 1999 a 18 year old, > ok > > gambas must be compiled in the host in that case or you must use my > packages for older computers that really works optimized (venenux) > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen : > >> My computer is 9 years old and works perfectly with Linux Mint (64bit). I >> really like the cinnamon desktop. >> I compile Gambas myself and I compile every component except Qt5 stuff. >> Never had problems. >> >> When was last 32bit CPU for PCs made? Was it Athlon from 2005? >> >> >> Jussi >> >> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi wrote: >> >>> If you like laughing... >>> Mine is a 13-year old hardware (excluding monitors and mouse, just >>> bought the monitor) and with Xubuntu 16.04 it works great. >>> >>> Regards >>> Gianluigi >>> >>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz : >>> >>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : >>>> >>>>> Here (Gambas-it) there were discussions that would make us think >>>>> otherwise. >>>>> Sometimes Mint gives different results. >>>>> Taking a test does not cost much effort and removes any doubt. >>>>> >>>> jajaja never mind. witn a winbuntu derivative never will work.. >>>> >>>> use a kernel with no so many up to date.. a kernel that fith the >>>> hardware >>>> >>>> wrong thinking that the most recent its the better >>>> >>>> >>>> >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : >>>>> >>>>>> Interesting, then I would guess the fault is not on Linux Mint >>>>>> either... their repos contain pretty much the same stuff. >>>>>> But hard to say without testing... or knowing the actual error >>>>>> message. >>>>>> >>>>>> >>>>>> Jussi >>>>>> >>>>>> >>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi >>>>>> wrote: >>>>>> >>>>>>> Yes :-) >>>>>>> >>>>>>> [System] >>>>>>> Gambas=3.10 >>>>>>> OperatingSystem=Linux >>>>>>> Kernel=4.4.0-103-generic >>>>>>> Architecture=x86 >>>>>>> Distribution=Ubuntu 16.04.3 LTS >>>>>>> Desktop=XFCE >>>>>>> Theme=Cleanlooks >>>>>>> Language=it_IT.UTF-8 >>>>>>> Memory=3018M >>>>>>> >>>>>>> Regards >>>>>>> Gianluigi >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen >>>>>>> : >>>>>>> >>>>>>>> Have you actually tested that with 32bit version? >>>>>>>> >>>>>>>> >>>>>>>> Jussi >>>>>>>> >>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>>>> wrote: >>>>>>>> >>>>>>>>> A possible solution that allows installing 3.10 from PPA is >>>>>>>>> Xubuntu 16.04 >>>>>>>>> >>>>>>>>> Regards >>>>>>>>> Gianluigi >>>>>>>>> >>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>>>> mckaygerhard at gmail.com>: >>>>>>>>> >>>>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>>>> >>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>>>>>>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>>>> >>>>>>>>>> but recent stupid linuxes (including recent kernel) now removed a >>>>>>>>>> lot of support for older hardware lest take a example to xorg: >>>>>>>>>> >>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to said >>>>>>>>>> that its supported due that chip does not offer 32bit dept only 16bit "true >>>>>>>>>> color" so newer xorg does not complety provide all the chip capabilities >>>>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, >>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>>>>> >>>>>>>>>> in my case i backporte gambas for older linuxes.. like debian >>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit that still does >>>>>>>>>> not "up" the requerimients... >>>>>>>>>> >>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>> >>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>>>> >>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>>>> > here's what my friend replied..... >>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>>>> > Plenty of memory (8GB). >>>>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's works. >>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> A possibly relevant difference between those systems is that AMD >>>>>>>>>>> Athlons >>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>>>>> outdated for >>>>>>>>>>> that architecture. >>>>>>>>>>> >>>>>>>>>>> Anyway it would be time to provide some real error messages. If >>>>>>>>>>> it's the >>>>>>>>>>> bitness or too high version requirements for some dependencies >>>>>>>>>>> that came >>>>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> Tobi >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> "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 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -------------------------------------------------- >>>>>>>> >>>>>>>> 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 >> >> > > > -------------------------------------------------- > > 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: From mckaygerhard at gmail.com Mon Dec 11 04:14:41 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 10 Dec 2017 23:14:41 -0400 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: 2017-12-10 14:08 GMT-04:00 Gianluigi : > But here we talk about 8 GB of RAM, CPU can not be older than 9 years, > could not support them. > umm in this case there's something wrong with your hardware description.. you said athlon and never athlon motherboards support more thn 6Gb of ram i think so could you provide the ooutput of : /proc/cpuinfo lspci or could you try to compile and run gambas from tarball? in a testing installation? or reinstall and retest.. maybe its your hard-drive or some RAM dimm in bad status > > Regards > Gianluigi > > 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz : > >> 9 years are not old! Athlon was made by firts time at 1999 a 18 year old, >> ok >> >> gambas must be compiled in the host in that case or you must use my >> packages for older computers that really works optimized (venenux) >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen : >> >>> My computer is 9 years old and works perfectly with Linux Mint (64bit). >>> I really like the cinnamon desktop. >>> I compile Gambas myself and I compile every component except Qt5 stuff. >>> Never had problems. >>> >>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? >>> >>> >>> Jussi >>> >>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi wrote: >>> >>>> If you like laughing... >>>> Mine is a 13-year old hardware (excluding monitors and mouse, just >>>> bought the monitor) and with Xubuntu 16.04 it works great. >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz : >>>> >>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : >>>>> >>>>>> Here (Gambas-it) there were discussions that would make us think >>>>>> otherwise. >>>>>> Sometimes Mint gives different results. >>>>>> Taking a test does not cost much effort and removes any doubt. >>>>>> >>>>> jajaja never mind. witn a winbuntu derivative never will work.. >>>>> >>>>> use a kernel with no so many up to date.. a kernel that fith the >>>>> hardware >>>>> >>>>> wrong thinking that the most recent its the better >>>>> >>>>> >>>>> >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : >>>>>> >>>>>>> Interesting, then I would guess the fault is not on Linux Mint >>>>>>> either... their repos contain pretty much the same stuff. >>>>>>> But hard to say without testing... or knowing the actual error >>>>>>> message. >>>>>>> >>>>>>> >>>>>>> Jussi >>>>>>> >>>>>>> >>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi >>>>>>> wrote: >>>>>>> >>>>>>>> Yes :-) >>>>>>>> >>>>>>>> [System] >>>>>>>> Gambas=3.10 >>>>>>>> OperatingSystem=Linux >>>>>>>> Kernel=4.4.0-103-generic >>>>>>>> Architecture=x86 >>>>>>>> Distribution=Ubuntu 16.04.3 LTS >>>>>>>> Desktop=XFCE >>>>>>>> Theme=Cleanlooks >>>>>>>> Language=it_IT.UTF-8 >>>>>>>> Memory=3018M >>>>>>>> >>>>>>>> Regards >>>>>>>> Gianluigi >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen >>>>>>> >: >>>>>>>> >>>>>>>>> Have you actually tested that with 32bit version? >>>>>>>>> >>>>>>>>> >>>>>>>>> Jussi >>>>>>>>> >>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> A possible solution that allows installing 3.10 from PPA is >>>>>>>>>> Xubuntu 16.04 >>>>>>>>>> >>>>>>>>>> Regards >>>>>>>>>> Gianluigi >>>>>>>>>> >>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>>>>> mckaygerhard at gmail.com>: >>>>>>>>>> >>>>>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>>>>> >>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk ssd >>>>>>>>>>> internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>>>>> >>>>>>>>>>> but recent stupid linuxes (including recent kernel) now removed >>>>>>>>>>> a lot of support for older hardware lest take a example to xorg: >>>>>>>>>>> >>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to said >>>>>>>>>>> that its supported due that chip does not offer 32bit dept only 16bit "true >>>>>>>>>>> color" so newer xorg does not complety provide all the chip capabilities >>>>>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, >>>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>>>>>> >>>>>>>>>>> in my case i backporte gambas for older linuxes.. like debian >>>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit that still does >>>>>>>>>>> not "up" the requerimients... >>>>>>>>>>> >>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>>> >>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>>>>> >>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>>>>> > here's what my friend replied..... >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>>>>> > Plenty of memory (8GB). >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >>>>>>>>>>>> works. >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>>>>> > >>>>>>>>>>>> >>>>>>>>>>>> A possibly relevant difference between those systems is that >>>>>>>>>>>> AMD Athlons >>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>>>>>> outdated for >>>>>>>>>>>> that architecture. >>>>>>>>>>>> >>>>>>>>>>>> Anyway it would be time to provide some real error messages. If >>>>>>>>>>>> it's the >>>>>>>>>>>> bitness or too high version requirements for some dependencies >>>>>>>>>>>> that came >>>>>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Tobi >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> "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 >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -------------------------------------------------- >>>>>>>>> >>>>>>>>> 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 >>> >>> >> >> >> -------------------------------------------------- >> >> 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: From bagonergi at gmail.com Mon Dec 11 09:27:26 2017 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 11 Dec 2017 09:27:26 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: Hi Piccoro, remember, not me but mikeB said this: On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>>>>> > here's what my friend replied..... >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>>>>> > Plenty of memory (8GB). >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >>>>>>>>>>>> works. >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. Regards Gianluigi 2017-12-11 4:14 GMT+01:00 PICCORO McKAY Lenz : > 2017-12-10 14:08 GMT-04:00 Gianluigi : > >> But here we talk about 8 GB of RAM, CPU can not be older than 9 years, >> could not support them. >> > umm in this case there's something wrong with your hardware description.. > > you said athlon and never athlon motherboards support more thn 6Gb of ram > i think so > > could you provide the ooutput of : > > /proc/cpuinfo > lspci > > or could you try to compile and run gambas from tarball? in a testing > installation? > > or reinstall and retest.. maybe its your hard-drive or some RAM dimm in > bad status > > > >> >> Regards >> Gianluigi >> >> 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz : >> >>> 9 years are not old! Athlon was made by firts time at 1999 a 18 year >>> old, ok >>> >>> gambas must be compiled in the host in that case or you must use my >>> packages for older computers that really works optimized (venenux) >>> >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen : >>> >>>> My computer is 9 years old and works perfectly with Linux Mint (64bit). >>>> I really like the cinnamon desktop. >>>> I compile Gambas myself and I compile every component except Qt5 stuff. >>>> Never had problems. >>>> >>>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? >>>> >>>> >>>> Jussi >>>> >>>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi wrote: >>>> >>>>> If you like laughing... >>>>> Mine is a 13-year old hardware (excluding monitors and mouse, just >>>>> bought the monitor) and with Xubuntu 16.04 it works great. >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz >>>>> : >>>>> >>>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : >>>>>> >>>>>>> Here (Gambas-it) there were discussions that would make us think >>>>>>> otherwise. >>>>>>> Sometimes Mint gives different results. >>>>>>> Taking a test does not cost much effort and removes any doubt. >>>>>>> >>>>>> jajaja never mind. witn a winbuntu derivative never will work.. >>>>>> >>>>>> use a kernel with no so many up to date.. a kernel that fith the >>>>>> hardware >>>>>> >>>>>> wrong thinking that the most recent its the better >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>> Regards >>>>>>> Gianluigi >>>>>>> >>>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen : >>>>>>> >>>>>>>> Interesting, then I would guess the fault is not on Linux Mint >>>>>>>> either... their repos contain pretty much the same stuff. >>>>>>>> But hard to say without testing... or knowing the actual error >>>>>>>> message. >>>>>>>> >>>>>>>> >>>>>>>> Jussi >>>>>>>> >>>>>>>> >>>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Yes :-) >>>>>>>>> >>>>>>>>> [System] >>>>>>>>> Gambas=3.10 >>>>>>>>> OperatingSystem=Linux >>>>>>>>> Kernel=4.4.0-103-generic >>>>>>>>> Architecture=x86 >>>>>>>>> Distribution=Ubuntu 16.04.3 LTS >>>>>>>>> Desktop=XFCE >>>>>>>>> Theme=Cleanlooks >>>>>>>>> Language=it_IT.UTF-8 >>>>>>>>> Memory=3018M >>>>>>>>> >>>>>>>>> Regards >>>>>>>>> Gianluigi >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen < >>>>>>>>> jussi.lahtinen at gmail.com>: >>>>>>>>> >>>>>>>>>> Have you actually tested that with 32bit version? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Jussi >>>>>>>>>> >>>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> A possible solution that allows installing 3.10 from PPA is >>>>>>>>>>> Xubuntu 16.04 >>>>>>>>>>> >>>>>>>>>>> Regards >>>>>>>>>>> Gianluigi >>>>>>>>>>> >>>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>>>>>> mckaygerhard at gmail.com>: >>>>>>>>>>> >>>>>>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>>>>>> >>>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk >>>>>>>>>>>> ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>>>>>> >>>>>>>>>>>> but recent stupid linuxes (including recent kernel) now removed >>>>>>>>>>>> a lot of support for older hardware lest take a example to xorg: >>>>>>>>>>>> >>>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to >>>>>>>>>>>> said that its supported due that chip does not offer 32bit dept only 16bit >>>>>>>>>>>> "true color" so newer xorg does not complety provide all the chip >>>>>>>>>>>> capabilities >>>>>>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, >>>>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>>>>>>> >>>>>>>>>>>> in my case i backporte gambas for older linuxes.. like debian >>>>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit that still does >>>>>>>>>>>> not "up" the requerimients... >>>>>>>>>>>> >>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>>>> >>>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>>>>>> >>>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>>>>>> > here's what my friend replied..... >>>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>>>>>> > Plenty of memory (8GB). >>>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >>>>>>>>>>>>> works. >>>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>>>>>> > >>>>>>>>>>>>> >>>>>>>>>>>>> A possibly relevant difference between those systems is that >>>>>>>>>>>>> AMD Athlons >>>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>>>>>>> outdated for >>>>>>>>>>>>> that architecture. >>>>>>>>>>>>> >>>>>>>>>>>>> Anyway it would be time to provide some real error messages. >>>>>>>>>>>>> If it's the >>>>>>>>>>>>> bitness or too high version requirements for some dependencies >>>>>>>>>>>>> that came >>>>>>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>>>>>> >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> Tobi >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> "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 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -------------------------------------------------- >>>>>>>>>> >>>>>>>>>> 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 >>>> >>>> >>> >>> >>> -------------------------------------------------- >>> >>> 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: From mckaygerhard at gmail.com Mon Dec 11 13:13:34 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 11 Dec 2017 08:13:34 -0400 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: yeah gianluigi, based on your response, i ask to mikeB but seems are very busy.. the case of mikeB could not be possible as you said (more than 8G ram) due amd athlon motherboards for home/office only supports up to 4G, and any winbuntu distro based does not work in that cpu, some packages raise me the message "ilegal instruction set" Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-11 4:27 GMT-04:00 Gianluigi : > Hi Piccoro, > remember, not me but mikeB said this: > On Fri, 08 Dec 2017, mikeB wrote: > >>>>>>>>>>>> > here's what my friend replied..... > >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. > >>>>>>>>>>>> > Plenty of disks space (250GB SATA). > >>>>>>>>>>>> > Plenty of memory (8GB). > >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. > >>>>>>>>>>>> > Then apt-get update & then install gambas3. > >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. > >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* > >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. > >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. > >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's > >>>>>>>>>>>> works. > >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. > > Regards > Gianluigi > > 2017-12-11 4:14 GMT+01:00 PICCORO McKAY Lenz : > >> 2017-12-10 14:08 GMT-04:00 Gianluigi : >> >>> But here we talk about 8 GB of RAM, CPU can not be older than 9 years, >>> could not support them. >>> >> umm in this case there's something wrong with your hardware description.. >> >> you said athlon and never athlon motherboards support more thn 6Gb of ram >> i think so >> >> could you provide the ooutput of : >> >> /proc/cpuinfo >> lspci >> >> or could you try to compile and run gambas from tarball? in a testing >> installation? >> >> or reinstall and retest.. maybe its your hard-drive or some RAM dimm in >> bad status >> >> >> >>> >>> Regards >>> Gianluigi >>> >>> 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz : >>> >>>> 9 years are not old! Athlon was made by firts time at 1999 a 18 year >>>> old, ok >>>> >>>> gambas must be compiled in the host in that case or you must use my >>>> packages for older computers that really works optimized (venenux) >>>> >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> >>>> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen : >>>> >>>>> My computer is 9 years old and works perfectly with Linux Mint >>>>> (64bit). I really like the cinnamon desktop. >>>>> I compile Gambas myself and I compile every component except Qt5 >>>>> stuff. Never had problems. >>>>> >>>>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi >>>>> wrote: >>>>> >>>>>> If you like laughing... >>>>>> Mine is a 13-year old hardware (excluding monitors and mouse, just >>>>>> bought the monitor) and with Xubuntu 16.04 it works great. >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz >>>>> >: >>>>>> >>>>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : >>>>>>> >>>>>>>> Here (Gambas-it) there were discussions that would make us think >>>>>>>> otherwise. >>>>>>>> Sometimes Mint gives different results. >>>>>>>> Taking a test does not cost much effort and removes any doubt. >>>>>>>> >>>>>>> jajaja never mind. witn a winbuntu derivative never will work.. >>>>>>> >>>>>>> use a kernel with no so many up to date.. a kernel that fith the >>>>>>> hardware >>>>>>> >>>>>>> wrong thinking that the most recent its the better >>>>>>> >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> Regards >>>>>>>> Gianluigi >>>>>>>> >>>>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen >>>>>>>> : >>>>>>>> >>>>>>>>> Interesting, then I would guess the fault is not on Linux Mint >>>>>>>>> either... their repos contain pretty much the same stuff. >>>>>>>>> But hard to say without testing... or knowing the actual error >>>>>>>>> message. >>>>>>>>> >>>>>>>>> >>>>>>>>> Jussi >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Yes :-) >>>>>>>>>> >>>>>>>>>> [System] >>>>>>>>>> Gambas=3.10 >>>>>>>>>> OperatingSystem=Linux >>>>>>>>>> Kernel=4.4.0-103-generic >>>>>>>>>> Architecture=x86 >>>>>>>>>> Distribution=Ubuntu 16.04.3 LTS >>>>>>>>>> Desktop=XFCE >>>>>>>>>> Theme=Cleanlooks >>>>>>>>>> Language=it_IT.UTF-8 >>>>>>>>>> Memory=3018M >>>>>>>>>> >>>>>>>>>> Regards >>>>>>>>>> Gianluigi >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen < >>>>>>>>>> jussi.lahtinen at gmail.com>: >>>>>>>>>> >>>>>>>>>>> Have you actually tested that with 32bit version? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Jussi >>>>>>>>>>> >>>>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> A possible solution that allows installing 3.10 from PPA is >>>>>>>>>>>> Xubuntu 16.04 >>>>>>>>>>>> >>>>>>>>>>>> Regards >>>>>>>>>>>> Gianluigi >>>>>>>>>>>> >>>>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>>>>>>> mckaygerhard at gmail.com>: >>>>>>>>>>>> >>>>>>>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>>>>>>> >>>>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk >>>>>>>>>>>>> ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>>>>>>> >>>>>>>>>>>>> but recent stupid linuxes (including recent kernel) now >>>>>>>>>>>>> removed a lot of support for older hardware lest take a example to xorg: >>>>>>>>>>>>> >>>>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to >>>>>>>>>>>>> said that its supported due that chip does not offer 32bit dept only 16bit >>>>>>>>>>>>> "true color" so newer xorg does not complety provide all the chip >>>>>>>>>>>>> capabilities >>>>>>>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, >>>>>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>>>>>>>> >>>>>>>>>>>>> in my case i backporte gambas for older linuxes.. like debian >>>>>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit that still does >>>>>>>>>>>>> not "up" the requerimients... >>>>>>>>>>>>> >>>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>>>>> >>>>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>>>>>>> >>>>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>>>>>>> > here's what my friend replied..... >>>>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>>>>>>> > Plenty of memory (8GB). >>>>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >>>>>>>>>>>>>> works. >>>>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>>>>>>> > >>>>>>>>>>>>>> >>>>>>>>>>>>>> A possibly relevant difference between those systems is that >>>>>>>>>>>>>> AMD Athlons >>>>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>>>>>>>> outdated for >>>>>>>>>>>>>> that architecture. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Anyway it would be time to provide some real error messages. >>>>>>>>>>>>>> If it's the >>>>>>>>>>>>>> bitness or too high version requirements for some >>>>>>>>>>>>>> dependencies that came >>>>>>>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>> Tobi >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> "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 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -------------------------------------------------- >>>>>>>>>>> >>>>>>>>>>> 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 >>>>> >>>>> >>>> >>>> >>>> -------------------------------------------------- >>>> >>>> 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: From bagonergi at gmail.com Mon Dec 11 14:06:35 2017 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 11 Dec 2017 14:06:35 +0100 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: Here [0] another thing is written (2.1.2.1 CPU - Athlon XP). And then again, on the second PC about 13 years old, I installed Gambas 3.10 (from PPA) on Xubuntu 16.04.03. We try to give useful information and not to make religious wars. Here he was asked to install Gambas from PPA. Regards Gianluigi [0] https://help.ubuntu.com/lts/installation-guide/i386/ch02s01.html 2017-12-11 13:13 GMT+01:00 PICCORO McKAY Lenz : > yeah gianluigi, based on your response, i ask to mikeB but seems are very > busy.. > > the case of mikeB could not be possible as you said (more than 8G ram) due > amd athlon motherboards for home/office only supports up to 4G, and any > winbuntu distro based does not work in that cpu, some packages raise me the > message "ilegal instruction set" > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-12-11 4:27 GMT-04:00 Gianluigi : > >> Hi Piccoro, >> remember, not me but mikeB said this: >> On Fri, 08 Dec 2017, mikeB wrote: >> >>>>>>>>>>>> > here's what my friend replied..... >> >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >> >>>>>>>>>>>> > Plenty of disks space (250GB SATA). >> >>>>>>>>>>>> > Plenty of memory (8GB). >> >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >> >>>>>>>>>>>> > Then apt-get update & then install gambas3. >> >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >> >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >> >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >> >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >> >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >> >>>>>>>>>>>> works. >> >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >> >> Regards >> Gianluigi >> >> 2017-12-11 4:14 GMT+01:00 PICCORO McKAY Lenz : >> >>> 2017-12-10 14:08 GMT-04:00 Gianluigi : >>> >>>> But here we talk about 8 GB of RAM, CPU can not be older than 9 years, >>>> could not support them. >>>> >>> umm in this case there's something wrong with your hardware >>> description.. >>> >>> you said athlon and never athlon motherboards support more thn 6Gb of >>> ram i think so >>> >>> could you provide the ooutput of : >>> >>> /proc/cpuinfo >>> lspci >>> >>> or could you try to compile and run gambas from tarball? in a testing >>> installation? >>> >>> or reinstall and retest.. maybe its your hard-drive or some RAM dimm in >>> bad status >>> >>> >>> >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz : >>>> >>>>> 9 years are not old! Athlon was made by firts time at 1999 a 18 year >>>>> old, ok >>>>> >>>>> gambas must be compiled in the host in that case or you must use my >>>>> packages for older computers that really works optimized (venenux) >>>>> >>>>> Lenz McKAY Gerardo (PICCORO) >>>>> http://qgqlochekone.blogspot.com >>>>> >>>>> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen : >>>>> >>>>>> My computer is 9 years old and works perfectly with Linux Mint >>>>>> (64bit). I really like the cinnamon desktop. >>>>>> I compile Gambas myself and I compile every component except Qt5 >>>>>> stuff. Never had problems. >>>>>> >>>>>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? >>>>>> >>>>>> >>>>>> Jussi >>>>>> >>>>>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi >>>>>> wrote: >>>>>> >>>>>>> If you like laughing... >>>>>>> Mine is a 13-year old hardware (excluding monitors and mouse, just >>>>>>> bought the monitor) and with Xubuntu 16.04 it works great. >>>>>>> >>>>>>> Regards >>>>>>> Gianluigi >>>>>>> >>>>>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz < >>>>>>> mckaygerhard at gmail.com>: >>>>>>> >>>>>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : >>>>>>>> >>>>>>>>> Here (Gambas-it) there were discussions that would make us think >>>>>>>>> otherwise. >>>>>>>>> Sometimes Mint gives different results. >>>>>>>>> Taking a test does not cost much effort and removes any doubt. >>>>>>>>> >>>>>>>> jajaja never mind. witn a winbuntu derivative never will work.. >>>>>>>> >>>>>>>> use a kernel with no so many up to date.. a kernel that fith the >>>>>>>> hardware >>>>>>>> >>>>>>>> wrong thinking that the most recent its the better >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>>> Regards >>>>>>>>> Gianluigi >>>>>>>>> >>>>>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen >>>>>>>> >: >>>>>>>>> >>>>>>>>>> Interesting, then I would guess the fault is not on Linux Mint >>>>>>>>>> either... their repos contain pretty much the same stuff. >>>>>>>>>> But hard to say without testing... or knowing the actual error >>>>>>>>>> message. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Jussi >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Yes :-) >>>>>>>>>>> >>>>>>>>>>> [System] >>>>>>>>>>> Gambas=3.10 >>>>>>>>>>> OperatingSystem=Linux >>>>>>>>>>> Kernel=4.4.0-103-generic >>>>>>>>>>> Architecture=x86 >>>>>>>>>>> Distribution=Ubuntu 16.04.3 LTS >>>>>>>>>>> Desktop=XFCE >>>>>>>>>>> Theme=Cleanlooks >>>>>>>>>>> Language=it_IT.UTF-8 >>>>>>>>>>> Memory=3018M >>>>>>>>>>> >>>>>>>>>>> Regards >>>>>>>>>>> Gianluigi >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen < >>>>>>>>>>> jussi.lahtinen at gmail.com>: >>>>>>>>>>> >>>>>>>>>>>> Have you actually tested that with 32bit version? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Jussi >>>>>>>>>>>> >>>>>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> A possible solution that allows installing 3.10 from PPA is >>>>>>>>>>>>> Xubuntu 16.04 >>>>>>>>>>>>> >>>>>>>>>>>>> Regards >>>>>>>>>>>>> Gianluigi >>>>>>>>>>>>> >>>>>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>>>>>>>> mckaygerhard at gmail.com>: >>>>>>>>>>>>> >>>>>>>>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>>>>>>>> >>>>>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk >>>>>>>>>>>>>> ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>>>>>>>> >>>>>>>>>>>>>> but recent stupid linuxes (including recent kernel) now >>>>>>>>>>>>>> removed a lot of support for older hardware lest take a example to xorg: >>>>>>>>>>>>>> >>>>>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to >>>>>>>>>>>>>> said that its supported due that chip does not offer 32bit dept only 16bit >>>>>>>>>>>>>> "true color" so newer xorg does not complety provide all the chip >>>>>>>>>>>>>> capabilities >>>>>>>>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, >>>>>>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must be used.. >>>>>>>>>>>>>> >>>>>>>>>>>>>> in my case i backporte gambas for older linuxes.. like debian >>>>>>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit that still does >>>>>>>>>>>>>> not "up" the requerimients... >>>>>>>>>>>>>> >>>>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>>>>>>>> > here's what my friend replied..... >>>>>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>>>>>>>> > Plenty of memory (8GB). >>>>>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >>>>>>>>>>>>>>> works. >>>>>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> A possibly relevant difference between those systems is that >>>>>>>>>>>>>>> AMD Athlons >>>>>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are >>>>>>>>>>>>>>> outdated for >>>>>>>>>>>>>>> that architecture. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Anyway it would be time to provide some real error messages. >>>>>>>>>>>>>>> If it's the >>>>>>>>>>>>>>> bitness or too high version requirements for some >>>>>>>>>>>>>>> dependencies that came >>>>>>>>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>> Tobi >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> "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 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -------------------------------------------------- >>>>>>>>>>>> >>>>>>>>>>>> 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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -------------------------------------------------- >>>>> >>>>> 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: From gh4wi at gmx.us Mon Dec 11 14:20:17 2017 From: gh4wi at gmx.us (Gary Hedquist) Date: Mon, 11 Dec 2017 14:20:17 +0100 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Mon Dec 11 14:20:55 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 11 Dec 2017 09:20:55 -0400 Subject: [Gambas-user] hardware requirments? In-Reply-To: References: <79fd4c12-7107-881e-0cf0-85317fc7a0f7@code-it.com> <20171208174716.GE894@highrise.localdomain> Message-ID: Athlon XP have sse yet! (year 2000 dec) maybe that the reason of if MikeB does not have a Athlon XP or a AMD athlon up to 1999 year, does not have sse and ... maybe the ppa build eanbled the sse based on host gcc settings.. i have a K7 (pre-athlon) 800MHz and does not run Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-11 9:06 GMT-04:00 Gianluigi : > Here [0] another thing is written (2.1.2.1 CPU - Athlon XP). > And then again, on the second PC about 13 years old, I installed Gambas > 3.10 (from PPA) on Xubuntu 16.04.03. > We try to give useful information and not to make religious wars. > Here he was asked to install Gambas from PPA. > > Regards > Gianluigi > > [0] https://help.ubuntu.com/lts/installation-guide/i386/ch02s01.html > > 2017-12-11 13:13 GMT+01:00 PICCORO McKAY Lenz : > >> yeah gianluigi, based on your response, i ask to mikeB but seems are very >> busy.. >> >> the case of mikeB could not be possible as you said (more than 8G ram) >> due amd athlon motherboards for home/office only supports up to 4G, and any >> winbuntu distro based does not work in that cpu, some packages raise me the >> message "ilegal instruction set" >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-12-11 4:27 GMT-04:00 Gianluigi : >> >>> Hi Piccoro, >>> remember, not me but mikeB said this: >>> On Fri, 08 Dec 2017, mikeB wrote: >>> >>>>>>>>>>>> > here's what my friend replied..... >>> >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>> >>>>>>>>>>>> > Plenty of disks space (250GB SATA). >>> >>>>>>>>>>>> > Plenty of memory (8GB). >>> >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >>> >>>>>>>>>>>> > Then apt-get update & then install gambas3. >>> >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>> >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >>> >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>> >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>> >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >>> >>>>>>>>>>>> works. >>> >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>> >>> Regards >>> Gianluigi >>> >>> 2017-12-11 4:14 GMT+01:00 PICCORO McKAY Lenz : >>> >>>> 2017-12-10 14:08 GMT-04:00 Gianluigi : >>>> >>>>> But here we talk about 8 GB of RAM, CPU can not be older than 9 years, >>>>> could not support them. >>>>> >>>> umm in this case there's something wrong with your hardware >>>> description.. >>>> >>>> you said athlon and never athlon motherboards support more thn 6Gb of >>>> ram i think so >>>> >>>> could you provide the ooutput of : >>>> >>>> /proc/cpuinfo >>>> lspci >>>> >>>> or could you try to compile and run gambas from tarball? in a testing >>>> installation? >>>> >>>> or reinstall and retest.. maybe its your hard-drive or some RAM dimm in >>>> bad status >>>> >>>> >>>> >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz >>>>> : >>>>> >>>>>> 9 years are not old! Athlon was made by firts time at 1999 a 18 year >>>>>> old, ok >>>>>> >>>>>> gambas must be compiled in the host in that case or you must use my >>>>>> packages for older computers that really works optimized (venenux) >>>>>> >>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>> http://qgqlochekone.blogspot.com >>>>>> >>>>>> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen : >>>>>> >>>>>>> My computer is 9 years old and works perfectly with Linux Mint >>>>>>> (64bit). I really like the cinnamon desktop. >>>>>>> I compile Gambas myself and I compile every component except Qt5 >>>>>>> stuff. Never had problems. >>>>>>> >>>>>>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? >>>>>>> >>>>>>> >>>>>>> Jussi >>>>>>> >>>>>>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi >>>>>>> wrote: >>>>>>> >>>>>>>> If you like laughing... >>>>>>>> Mine is a 13-year old hardware (excluding monitors and mouse, just >>>>>>>> bought the monitor) and with Xubuntu 16.04 it works great. >>>>>>>> >>>>>>>> Regards >>>>>>>> Gianluigi >>>>>>>> >>>>>>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz < >>>>>>>> mckaygerhard at gmail.com>: >>>>>>>> >>>>>>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : >>>>>>>>> >>>>>>>>>> Here (Gambas-it) there were discussions that would make us think >>>>>>>>>> otherwise. >>>>>>>>>> Sometimes Mint gives different results. >>>>>>>>>> Taking a test does not cost much effort and removes any doubt. >>>>>>>>>> >>>>>>>>> jajaja never mind. witn a winbuntu derivative never will work.. >>>>>>>>> >>>>>>>>> use a kernel with no so many up to date.. a kernel that fith the >>>>>>>>> hardware >>>>>>>>> >>>>>>>>> wrong thinking that the most recent its the better >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>>> Regards >>>>>>>>>> Gianluigi >>>>>>>>>> >>>>>>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen < >>>>>>>>>> jussi.lahtinen at gmail.com>: >>>>>>>>>> >>>>>>>>>>> Interesting, then I would guess the fault is not on Linux Mint >>>>>>>>>>> either... their repos contain pretty much the same stuff. >>>>>>>>>>> But hard to say without testing... or knowing the actual error >>>>>>>>>>> message. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Jussi >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Yes :-) >>>>>>>>>>>> >>>>>>>>>>>> [System] >>>>>>>>>>>> Gambas=3.10 >>>>>>>>>>>> OperatingSystem=Linux >>>>>>>>>>>> Kernel=4.4.0-103-generic >>>>>>>>>>>> Architecture=x86 >>>>>>>>>>>> Distribution=Ubuntu 16.04.3 LTS >>>>>>>>>>>> Desktop=XFCE >>>>>>>>>>>> Theme=Cleanlooks >>>>>>>>>>>> Language=it_IT.UTF-8 >>>>>>>>>>>> Memory=3018M >>>>>>>>>>>> >>>>>>>>>>>> Regards >>>>>>>>>>>> Gianluigi >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen < >>>>>>>>>>>> jussi.lahtinen at gmail.com>: >>>>>>>>>>>> >>>>>>>>>>>>> Have you actually tested that with 32bit version? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Jussi >>>>>>>>>>>>> >>>>>>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi >>>>>>>>>>>> > wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> A possible solution that allows installing 3.10 from PPA is >>>>>>>>>>>>>> Xubuntu 16.04 >>>>>>>>>>>>>> >>>>>>>>>>>>>> Regards >>>>>>>>>>>>>> Gianluigi >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >>>>>>>>>>>>>> mckaygerhard at gmail.com>: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> the problem its the winbuntu derived distro mint.. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk >>>>>>>>>>>>>>> ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> but recent stupid linuxes (including recent kernel) now >>>>>>>>>>>>>>> removed a lot of support for older hardware lest take a example to xorg: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to >>>>>>>>>>>>>>> said that its supported due that chip does not offer 32bit dept only 16bit >>>>>>>>>>>>>>> "true color" so newer xorg does not complety provide all the chip >>>>>>>>>>>>>>> capabilities >>>>>>>>>>>>>>> so if you have intel 810 based chip and wants DIR and >>>>>>>>>>>>>>> opengl, xorg must be fewer rather thant 7.2 so an older linux must be >>>>>>>>>>>>>>> used.. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> in my case i backporte gambas for older linuxes.. like >>>>>>>>>>>>>>> debian lenny and squeeze perfectly.. of course, thanks to benoit that still >>>>>>>>>>>>>>> does not "up" the requerimients... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >>>>>>>>>>>>>>>> > here's what my friend replied..... >>>>>>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >>>>>>>>>>>>>>>> > Plenty of disks space (250GB SATA). >>>>>>>>>>>>>>>> > Plenty of memory (8GB). >>>>>>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >>>>>>>>>>>>>>>> > Then apt-get update & then install gambas3. >>>>>>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >>>>>>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >>>>>>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >>>>>>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >>>>>>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >>>>>>>>>>>>>>>> works. >>>>>>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> A possibly relevant difference between those systems is >>>>>>>>>>>>>>>> that AMD Athlons >>>>>>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies >>>>>>>>>>>>>>>> are outdated for >>>>>>>>>>>>>>>> that architecture. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Anyway it would be time to provide some real error >>>>>>>>>>>>>>>> messages. If it's the >>>>>>>>>>>>>>>> bitness or too high version requirements for some >>>>>>>>>>>>>>>> dependencies that came >>>>>>>>>>>>>>>> since 3.8.4, the package manager should be able to say that. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>>> Tobi >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> "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 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -------------------------------------------------- >>>>>>>>>>>>> >>>>>>>>>>>>> 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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -------------------------------------------------- >>>>>> >>>>>> 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: From mckaygerhard at gmail.com Mon Dec 11 14:22:39 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 11 Dec 2017 09:22:39 -0400 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: 2017-12-11 9:20 GMT-04:00 Gary Hedquist : > New Mobo, CPU, & memory parts on order. > The old Athlon PC's will be upgraded to AMD APU's. > > Thanks for the Info, too bad Gambas doesn't post > Hardware requirements on the web site. > > Gary H. > yeah as i guest.. i have a more older K7 and does not run either > > *Sent:* Monday, December 11, 2017 at 7:07 AM > *From:* user-request at lists.gambas-basic.org > *To:* user at lists.gambas-basic.org > *Subject:* User Digest, Vol 3, Issue 18 > Send User mailing list submissions to > user at lists.gambas-basic.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gambas-basic.org/listinfo/user > or, via email, send a message with subject or body 'help' to > user-request at lists.gambas-basic.org > > You can reach the person managing the list at > user-owner at lists.gambas-basic.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of User digest..." > > > Today's Topics: > > 1. Re: hardware requirments? (Gianluigi) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 11 Dec 2017 14:06:35 +0100 > From: Gianluigi > To: Gambas Mailing List > Subject: Re: [Gambas-user] hardware requirments? > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Here [0] another thing is written (2.1.2.1 CPU - Athlon XP). > And then again, on the second PC about 13 years old, I installed Gambas > 3.10 (from PPA) on Xubuntu 16.04.03. > We try to give useful information and not to make religious wars. > Here he was asked to install Gambas from PPA. > > Regards > Gianluigi > > [0] https://help.ubuntu.com/lts/installation-guide/i386/ch02s01.html > > 2017-12-11 13:13 GMT+01:00 PICCORO McKAY Lenz : > > > yeah gianluigi, based on your response, i ask to mikeB but seems are very > > busy.. > > > > the case of mikeB could not be possible as you said (more than 8G ram) > due > > amd athlon motherboards for home/office only supports up to 4G, and any > > winbuntu distro based does not work in that cpu, some packages raise me > the > > message "ilegal instruction set" > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-12-11 4:27 GMT-04:00 Gianluigi : > > > >> Hi Piccoro, > >> remember, not me but mikeB said this: > >> On Fri, 08 Dec 2017, mikeB wrote: > >> >>>>>>>>>>>> > here's what my friend replied..... > >> >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. > >> >>>>>>>>>>>> > Plenty of disks space (250GB SATA). > >> >>>>>>>>>>>> > Plenty of memory (8GB). > >> >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. > >> >>>>>>>>>>>> > Then apt-get update & then install gambas3. > >> >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. > >> >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* > >> >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. > >> >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. > >> >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's > >> >>>>>>>>>>>> works. > >> >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. > >> > >> Regards > >> Gianluigi > >> > >> 2017-12-11 4:14 GMT+01:00 PICCORO McKAY Lenz : > >> > >>> 2017-12-10 14:08 GMT-04:00 Gianluigi : > >>> > >>>> But here we talk about 8 GB of RAM, CPU can not be older than 9 years, > >>>> could not support them. > >>>> > >>> umm in this case there's something wrong with your hardware > >>> description.. > >>> > >>> you said athlon and never athlon motherboards support more thn 6Gb of > >>> ram i think so > >>> > >>> could you provide the ooutput of : > >>> > >>> /proc/cpuinfo > >>> lspci > >>> > >>> or could you try to compile and run gambas from tarball? in a testing > >>> installation? > >>> > >>> or reinstall and retest.. maybe its your hard-drive or some RAM dimm in > >>> bad status > >>> > >>> > >>> > >>>> > >>>> Regards > >>>> Gianluigi > >>>> > >>>> 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz >: > >>>> > >>>>> 9 years are not old! Athlon was made by firts time at 1999 a 18 year > >>>>> old, ok > >>>>> > >>>>> gambas must be compiled in the host in that case or you must use my > >>>>> packages for older computers that really works optimized (venenux) > >>>>> > >>>>> Lenz McKAY Gerardo (PICCORO) > >>>>> http://qgqlochekone.blogspot.com > >>>>> > >>>>> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen >: > >>>>> > >>>>>> My computer is 9 years old and works perfectly with Linux Mint > >>>>>> (64bit). I really like the cinnamon desktop. > >>>>>> I compile Gambas myself and I compile every component except Qt5 > >>>>>> stuff. Never had problems. > >>>>>> > >>>>>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? > >>>>>> > >>>>>> > >>>>>> Jussi > >>>>>> > >>>>>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi > >>>>>> wrote: > >>>>>> > >>>>>>> If you like laughing... > >>>>>>> Mine is a 13-year old hardware (excluding monitors and mouse, just > >>>>>>> bought the monitor) and with Xubuntu 16.04 it works great. > >>>>>>> > >>>>>>> Regards > >>>>>>> Gianluigi > >>>>>>> > >>>>>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz < > >>>>>>> mckaygerhard at gmail.com>: > >>>>>>> > >>>>>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : > >>>>>>>> > >>>>>>>>> Here (Gambas-it) there were discussions that would make us think > >>>>>>>>> otherwise. > >>>>>>>>> Sometimes Mint gives different results. > >>>>>>>>> Taking a test does not cost much effort and removes any doubt. > >>>>>>>>> > >>>>>>>> jajaja never mind. witn a winbuntu derivative never will work.. > >>>>>>>> > >>>>>>>> use a kernel with no so many up to date.. a kernel that fith the > >>>>>>>> hardware > >>>>>>>> > >>>>>>>> wrong thinking that the most recent its the better > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> > >>>>>>>>> Regards > >>>>>>>>> Gianluigi > >>>>>>>>> > >>>>>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen < > jussi.lahtinen at gmail.com > >>>>>>>>> >: > >>>>>>>>> > >>>>>>>>>> Interesting, then I would guess the fault is not on Linux Mint > >>>>>>>>>> either... their repos contain pretty much the same stuff. > >>>>>>>>>> But hard to say without testing... or knowing the actual error > >>>>>>>>>> message. > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> Jussi > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi > > >>>>>>>>>> wrote: > >>>>>>>>>> > >>>>>>>>>>> Yes :-) > >>>>>>>>>>> > >>>>>>>>>>> [System] > >>>>>>>>>>> Gambas=3.10 > >>>>>>>>>>> OperatingSystem=Linux > >>>>>>>>>>> Kernel=4.4.0-103-generic > >>>>>>>>>>> Architecture=x86 > >>>>>>>>>>> Distribution=Ubuntu 16.04.3 LTS > >>>>>>>>>>> Desktop=XFCE > >>>>>>>>>>> Theme=Cleanlooks > >>>>>>>>>>> Language=it_IT.UTF-8 > >>>>>>>>>>> Memory=3018M > >>>>>>>>>>> > >>>>>>>>>>> Regards > >>>>>>>>>>> Gianluigi > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen < > >>>>>>>>>>> jussi.lahtinen at gmail.com>: > >>>>>>>>>>> > >>>>>>>>>>>> Have you actually tested that with 32bit version? > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> Jussi > >>>>>>>>>>>> > >>>>>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi < > bagonergi at gmail.com> > >>>>>>>>>>>> wrote: > >>>>>>>>>>>> > >>>>>>>>>>>>> A possible solution that allows installing 3.10 from PPA is > >>>>>>>>>>>>> Xubuntu 16.04 > >>>>>>>>>>>>> > >>>>>>>>>>>>> Regards > >>>>>>>>>>>>> Gianluigi > >>>>>>>>>>>>> > >>>>>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < > >>>>>>>>>>>>> mckaygerhard at gmail.com>: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> the problem its the winbuntu derived distro mint.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk > >>>>>>>>>>>>>> ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> but recent stupid linuxes (including recent kernel) now > >>>>>>>>>>>>>> removed a lot of support for older hardware lest take a > example to xorg: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to > >>>>>>>>>>>>>> said that its supported due that chip does not offer 32bit > dept only 16bit > >>>>>>>>>>>>>> "true color" so newer xorg does not complety provide all > the chip > >>>>>>>>>>>>>> capabilities > >>>>>>>>>>>>>> so if you have intel 810 based chip and wants DIR and > opengl, > >>>>>>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must > be used.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> in my case i backporte gambas for older linuxes.. like > debian > >>>>>>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit > that still does > >>>>>>>>>>>>>> not "up" the requerimients... > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) > >>>>>>>>>>>>>> http://qgqlochekone.blogspot.com > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege >: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: > >>>>>>>>>>>>>>> > here's what my friend replied..... > >>>>>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. > >>>>>>>>>>>>>>> > Plenty of disks space (250GB SATA). > >>>>>>>>>>>>>>> > Plenty of memory (8GB). > >>>>>>>>>>>>>>> > Then add the ppa:gambas-team repo source. > >>>>>>>>>>>>>>> > Then apt-get update & then install gambas3. > >>>>>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. > >>>>>>>>>>>>>>> > *Major difference is old CPU & Mobo.* > >>>>>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. > >>>>>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. > >>>>>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's > >>>>>>>>>>>>>>> works. > >>>>>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. > >>>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> A possibly relevant difference between those systems is > that > >>>>>>>>>>>>>>> AMD Athlons > >>>>>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies > are > >>>>>>>>>>>>>>> outdated for > >>>>>>>>>>>>>>> that architecture. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Anyway it would be time to provide some real error > messages. > >>>>>>>>>>>>>>> If it's the > >>>>>>>>>>>>>>> bitness or too high version requirements for some > >>>>>>>>>>>>>>> dependencies that came > >>>>>>>>>>>>>>> since 3.8.4, the package manager should be able to say > that. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Regards, > >>>>>>>>>>>>>>> Tobi > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>> "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 > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> -------------------------------------------------- > >>>>>>>>>>>> > >>>>>>>>>>>> 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 > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> -------------------------------------------------- > >>>>> > >>>>> 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: attachments/20171211/2e7de9a9/attachment.html> > > ------------------------------ > > Subject: Digest Footer > > User mailing list > User at lists.gambas-basic.org > http://lists.gambas-basic.org/listinfo/user > > Mailinglist hosted by https://www.hostsharing.net > > > ------------------------------ > > End of User Digest, Vol 3, Issue 18 > *********************************** > > > -------------------------------------------------- > > 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: From mckaygerhard at gmail.com Mon Dec 11 14:25:00 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 11 Dec 2017 09:25:00 -0400 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: 2017-12-11 9:20 GMT-04:00 Gary Hedquist : > New Mobo, CPU, & memory parts on order. > The old Athlon PC's will be upgraded to AMD APU's. > > Thanks for the Info, too bad Gambas doesn't post > Hardware requirements on the web site. > that not depends on gambas, depends on your linux distribution.. i install gambas in a 20 years old machine, ... gambas depends on many packages if these packages does not have configured for your hardware so then gambas obviously will not run.. if that packages coul not be run, and that depends of your linux distro > > Gary H. > > *Sent:* Monday, December 11, 2017 at 7:07 AM > *From:* user-request at lists.gambas-basic.org > *To:* user at lists.gambas-basic.org > *Subject:* User Digest, Vol 3, Issue 18 > Send User mailing list submissions to > user at lists.gambas-basic.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gambas-basic.org/listinfo/user > or, via email, send a message with subject or body 'help' to > user-request at lists.gambas-basic.org > > You can reach the person managing the list at > user-owner at lists.gambas-basic.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of User digest..." > > > Today's Topics: > > 1. Re: hardware requirments? (Gianluigi) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 11 Dec 2017 14:06:35 +0100 > From: Gianluigi > To: Gambas Mailing List > Subject: Re: [Gambas-user] hardware requirments? > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Here [0] another thing is written (2.1.2.1 CPU - Athlon XP). > And then again, on the second PC about 13 years old, I installed Gambas > 3.10 (from PPA) on Xubuntu 16.04.03. > We try to give useful information and not to make religious wars. > Here he was asked to install Gambas from PPA. > > Regards > Gianluigi > > [0] https://help.ubuntu.com/lts/installation-guide/i386/ch02s01.html > > 2017-12-11 13:13 GMT+01:00 PICCORO McKAY Lenz : > > > yeah gianluigi, based on your response, i ask to mikeB but seems are very > > busy.. > > > > the case of mikeB could not be possible as you said (more than 8G ram) > due > > amd athlon motherboards for home/office only supports up to 4G, and any > > winbuntu distro based does not work in that cpu, some packages raise me > the > > message "ilegal instruction set" > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-12-11 4:27 GMT-04:00 Gianluigi : > > > >> Hi Piccoro, > >> remember, not me but mikeB said this: > >> On Fri, 08 Dec 2017, mikeB wrote: > >> >>>>>>>>>>>> > here's what my friend replied..... > >> >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. > >> >>>>>>>>>>>> > Plenty of disks space (250GB SATA). > >> >>>>>>>>>>>> > Plenty of memory (8GB). > >> >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. > >> >>>>>>>>>>>> > Then apt-get update & then install gambas3. > >> >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. > >> >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* > >> >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. > >> >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. > >> >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's > >> >>>>>>>>>>>> works. > >> >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. > >> > >> Regards > >> Gianluigi > >> > >> 2017-12-11 4:14 GMT+01:00 PICCORO McKAY Lenz : > >> > >>> 2017-12-10 14:08 GMT-04:00 Gianluigi : > >>> > >>>> But here we talk about 8 GB of RAM, CPU can not be older than 9 years, > >>>> could not support them. > >>>> > >>> umm in this case there's something wrong with your hardware > >>> description.. > >>> > >>> you said athlon and never athlon motherboards support more thn 6Gb of > >>> ram i think so > >>> > >>> could you provide the ooutput of : > >>> > >>> /proc/cpuinfo > >>> lspci > >>> > >>> or could you try to compile and run gambas from tarball? in a testing > >>> installation? > >>> > >>> or reinstall and retest.. maybe its your hard-drive or some RAM dimm in > >>> bad status > >>> > >>> > >>> > >>>> > >>>> Regards > >>>> Gianluigi > >>>> > >>>> 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz >: > >>>> > >>>>> 9 years are not old! Athlon was made by firts time at 1999 a 18 year > >>>>> old, ok > >>>>> > >>>>> gambas must be compiled in the host in that case or you must use my > >>>>> packages for older computers that really works optimized (venenux) > >>>>> > >>>>> Lenz McKAY Gerardo (PICCORO) > >>>>> http://qgqlochekone.blogspot.com > >>>>> > >>>>> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen >: > >>>>> > >>>>>> My computer is 9 years old and works perfectly with Linux Mint > >>>>>> (64bit). I really like the cinnamon desktop. > >>>>>> I compile Gambas myself and I compile every component except Qt5 > >>>>>> stuff. Never had problems. > >>>>>> > >>>>>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? > >>>>>> > >>>>>> > >>>>>> Jussi > >>>>>> > >>>>>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi > >>>>>> wrote: > >>>>>> > >>>>>>> If you like laughing... > >>>>>>> Mine is a 13-year old hardware (excluding monitors and mouse, just > >>>>>>> bought the monitor) and with Xubuntu 16.04 it works great. > >>>>>>> > >>>>>>> Regards > >>>>>>> Gianluigi > >>>>>>> > >>>>>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz < > >>>>>>> mckaygerhard at gmail.com>: > >>>>>>> > >>>>>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : > >>>>>>>> > >>>>>>>>> Here (Gambas-it) there were discussions that would make us think > >>>>>>>>> otherwise. > >>>>>>>>> Sometimes Mint gives different results. > >>>>>>>>> Taking a test does not cost much effort and removes any doubt. > >>>>>>>>> > >>>>>>>> jajaja never mind. witn a winbuntu derivative never will work.. > >>>>>>>> > >>>>>>>> use a kernel with no so many up to date.. a kernel that fith the > >>>>>>>> hardware > >>>>>>>> > >>>>>>>> wrong thinking that the most recent its the better > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> > >>>>>>>>> Regards > >>>>>>>>> Gianluigi > >>>>>>>>> > >>>>>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen < > jussi.lahtinen at gmail.com > >>>>>>>>> >: > >>>>>>>>> > >>>>>>>>>> Interesting, then I would guess the fault is not on Linux Mint > >>>>>>>>>> either... their repos contain pretty much the same stuff. > >>>>>>>>>> But hard to say without testing... or knowing the actual error > >>>>>>>>>> message. > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> Jussi > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi > > >>>>>>>>>> wrote: > >>>>>>>>>> > >>>>>>>>>>> Yes :-) > >>>>>>>>>>> > >>>>>>>>>>> [System] > >>>>>>>>>>> Gambas=3.10 > >>>>>>>>>>> OperatingSystem=Linux > >>>>>>>>>>> Kernel=4.4.0-103-generic > >>>>>>>>>>> Architecture=x86 > >>>>>>>>>>> Distribution=Ubuntu 16.04.3 LTS > >>>>>>>>>>> Desktop=XFCE > >>>>>>>>>>> Theme=Cleanlooks > >>>>>>>>>>> Language=it_IT.UTF-8 > >>>>>>>>>>> Memory=3018M > >>>>>>>>>>> > >>>>>>>>>>> Regards > >>>>>>>>>>> Gianluigi > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen < > >>>>>>>>>>> jussi.lahtinen at gmail.com>: > >>>>>>>>>>> > >>>>>>>>>>>> Have you actually tested that with 32bit version? > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> Jussi > >>>>>>>>>>>> > >>>>>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi < > bagonergi at gmail.com> > >>>>>>>>>>>> wrote: > >>>>>>>>>>>> > >>>>>>>>>>>>> A possible solution that allows installing 3.10 from PPA is > >>>>>>>>>>>>> Xubuntu 16.04 > >>>>>>>>>>>>> > >>>>>>>>>>>>> Regards > >>>>>>>>>>>>> Gianluigi > >>>>>>>>>>>>> > >>>>>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < > >>>>>>>>>>>>> mckaygerhard at gmail.com>: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> the problem its the winbuntu derived distro mint.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk > >>>>>>>>>>>>>> ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> but recent stupid linuxes (including recent kernel) now > >>>>>>>>>>>>>> removed a lot of support for older hardware lest take a > example to xorg: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to > >>>>>>>>>>>>>> said that its supported due that chip does not offer 32bit > dept only 16bit > >>>>>>>>>>>>>> "true color" so newer xorg does not complety provide all > the chip > >>>>>>>>>>>>>> capabilities > >>>>>>>>>>>>>> so if you have intel 810 based chip and wants DIR and > opengl, > >>>>>>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must > be used.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> in my case i backporte gambas for older linuxes.. like > debian > >>>>>>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit > that still does > >>>>>>>>>>>>>> not "up" the requerimients... > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) > >>>>>>>>>>>>>> http://qgqlochekone.blogspot.com > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege >: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: > >>>>>>>>>>>>>>> > here's what my friend replied..... > >>>>>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. > >>>>>>>>>>>>>>> > Plenty of disks space (250GB SATA). > >>>>>>>>>>>>>>> > Plenty of memory (8GB). > >>>>>>>>>>>>>>> > Then add the ppa:gambas-team repo source. > >>>>>>>>>>>>>>> > Then apt-get update & then install gambas3. > >>>>>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. > >>>>>>>>>>>>>>> > *Major difference is old CPU & Mobo.* > >>>>>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. > >>>>>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. > >>>>>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's > >>>>>>>>>>>>>>> works. > >>>>>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. > >>>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> A possibly relevant difference between those systems is > that > >>>>>>>>>>>>>>> AMD Athlons > >>>>>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies > are > >>>>>>>>>>>>>>> outdated for > >>>>>>>>>>>>>>> that architecture. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Anyway it would be time to provide some real error > messages. > >>>>>>>>>>>>>>> If it's the > >>>>>>>>>>>>>>> bitness or too high version requirements for some > >>>>>>>>>>>>>>> dependencies that came > >>>>>>>>>>>>>>> since 3.8.4, the package manager should be able to say > that. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Regards, > >>>>>>>>>>>>>>> Tobi > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>> "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 > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> -------------------------------------------------- > >>>>>>>>>>>> > >>>>>>>>>>>> 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 > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> -------------------------------------------------- > >>>>> > >>>>> 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: attachments/20171211/2e7de9a9/attachment.html> > > ------------------------------ > > Subject: Digest Footer > > User mailing list > User at lists.gambas-basic.org > http://lists.gambas-basic.org/listinfo/user > > Mailinglist hosted by https://www.hostsharing.net > > > ------------------------------ > > End of User Digest, Vol 3, Issue 18 > *********************************** > > > -------------------------------------------------- > > 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: From bagonergi at gmail.com Mon Dec 11 14:35:16 2017 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 11 Dec 2017 14:35:16 +0100 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: OK +1 Gianluigi 2017-12-11 14:25 GMT+01:00 PICCORO McKAY Lenz : > 2017-12-11 9:20 GMT-04:00 Gary Hedquist : > >> New Mobo, CPU, & memory parts on order. >> The old Athlon PC's will be upgraded to AMD APU's. >> >> Thanks for the Info, too bad Gambas doesn't post >> Hardware requirements on the web site. >> > that not depends on gambas, depends on your linux distribution.. > > i install gambas in a 20 years old machine, ... > > gambas depends on many packages if these packages does not have configured > for your hardware > > so then gambas obviously will not run.. if that packages coul not be run, > and that depends of your linux distro > > > >> >> Gary H. >> >> *Sent:* Monday, December 11, 2017 at 7:07 AM >> *From:* user-request at lists.gambas-basic.org >> *To:* user at lists.gambas-basic.org >> *Subject:* User Digest, Vol 3, Issue 18 >> Send User mailing list submissions to >> user at lists.gambas-basic.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.gambas-basic.org/listinfo/user >> or, via email, send a message with subject or body 'help' to >> user-request at lists.gambas-basic.org >> >> You can reach the person managing the list at >> user-owner at lists.gambas-basic.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of User digest..." >> >> >> Today's Topics: >> >> 1. Re: hardware requirments? (Gianluigi) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Mon, 11 Dec 2017 14:06:35 +0100 >> From: Gianluigi >> To: Gambas Mailing List >> Subject: Re: [Gambas-user] hardware requirments? >> Message-ID: >> >> Content-Type: text/plain; charset="utf-8" >> >> Here [0] another thing is written (2.1.2.1 CPU - Athlon XP). >> And then again, on the second PC about 13 years old, I installed Gambas >> 3.10 (from PPA) on Xubuntu 16.04.03. >> We try to give useful information and not to make religious wars. >> Here he was asked to install Gambas from PPA. >> >> Regards >> Gianluigi >> >> [0] https://help.ubuntu.com/lts/installation-guide/i386/ch02s01.html >> >> 2017-12-11 13:13 GMT+01:00 PICCORO McKAY Lenz : >> >> > yeah gianluigi, based on your response, i ask to mikeB but seems are >> very >> > busy.. >> > >> > the case of mikeB could not be possible as you said (more than 8G ram) >> due >> > amd athlon motherboards for home/office only supports up to 4G, and any >> > winbuntu distro based does not work in that cpu, some packages raise me >> the >> > message "ilegal instruction set" >> > >> > Lenz McKAY Gerardo (PICCORO) >> > http://qgqlochekone.blogspot.com >> > >> > 2017-12-11 4:27 GMT-04:00 Gianluigi : >> > >> >> Hi Piccoro, >> >> remember, not me but mikeB said this: >> >> On Fri, 08 Dec 2017, mikeB wrote: >> >> >>>>>>>>>>>> > here's what my friend replied..... >> >> >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >> >> >>>>>>>>>>>> > Plenty of disks space (250GB SATA). >> >> >>>>>>>>>>>> > Plenty of memory (8GB). >> >> >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >> >> >>>>>>>>>>>> > Then apt-get update & then install gambas3. >> >> >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >> >> >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >> >> >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >> >> >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >> >> >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >> >> >>>>>>>>>>>> works. >> >> >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >> >> >> >> Regards >> >> Gianluigi >> >> >> >> 2017-12-11 4:14 GMT+01:00 PICCORO McKAY Lenz : >> >> >> >>> 2017-12-10 14:08 GMT-04:00 Gianluigi : >> >>> >> >>>> But here we talk about 8 GB of RAM, CPU can not be older than 9 >> years, >> >>>> could not support them. >> >>>> >> >>> umm in this case there's something wrong with your hardware >> >>> description.. >> >>> >> >>> you said athlon and never athlon motherboards support more thn 6Gb of >> >>> ram i think so >> >>> >> >>> could you provide the ooutput of : >> >>> >> >>> /proc/cpuinfo >> >>> lspci >> >>> >> >>> or could you try to compile and run gambas from tarball? in a testing >> >>> installation? >> >>> >> >>> or reinstall and retest.. maybe its your hard-drive or some RAM dimm >> in >> >>> bad status >> >>> >> >>> >> >>> >> >>>> >> >>>> Regards >> >>>> Gianluigi >> >>>> >> >>>> 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz < >> mckaygerhard at gmail.com>: >> >>>> >> >>>>> 9 years are not old! Athlon was made by firts time at 1999 a 18 year >> >>>>> old, ok >> >>>>> >> >>>>> gambas must be compiled in the host in that case or you must use my >> >>>>> packages for older computers that really works optimized (venenux) >> >>>>> >> >>>>> Lenz McKAY Gerardo (PICCORO) >> >>>>> http://qgqlochekone.blogspot.com >> >>>>> >> >>>>> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen > >: >> >>>>> >> >>>>>> My computer is 9 years old and works perfectly with Linux Mint >> >>>>>> (64bit). I really like the cinnamon desktop. >> >>>>>> I compile Gambas myself and I compile every component except Qt5 >> >>>>>> stuff. Never had problems. >> >>>>>> >> >>>>>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? >> >>>>>> >> >>>>>> >> >>>>>> Jussi >> >>>>>> >> >>>>>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi >> >>>>>> wrote: >> >>>>>> >> >>>>>>> If you like laughing... >> >>>>>>> Mine is a 13-year old hardware (excluding monitors and mouse, just >> >>>>>>> bought the monitor) and with Xubuntu 16.04 it works great. >> >>>>>>> >> >>>>>>> Regards >> >>>>>>> Gianluigi >> >>>>>>> >> >>>>>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz < >> >>>>>>> mckaygerhard at gmail.com>: >> >>>>>>> >> >>>>>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : >> >>>>>>>> >> >>>>>>>>> Here (Gambas-it) there were discussions that would make us think >> >>>>>>>>> otherwise. >> >>>>>>>>> Sometimes Mint gives different results. >> >>>>>>>>> Taking a test does not cost much effort and removes any doubt. >> >>>>>>>>> >> >>>>>>>> jajaja never mind. witn a winbuntu derivative never will work.. >> >>>>>>>> >> >>>>>>>> use a kernel with no so many up to date.. a kernel that fith the >> >>>>>>>> hardware >> >>>>>>>> >> >>>>>>>> wrong thinking that the most recent its the better >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> >> >>>>>>>>> >> >>>>>>>>> Regards >> >>>>>>>>> Gianluigi >> >>>>>>>>> >> >>>>>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen < >> jussi.lahtinen at gmail.com >> >>>>>>>>> >: >> >>>>>>>>> >> >>>>>>>>>> Interesting, then I would guess the fault is not on Linux Mint >> >>>>>>>>>> either... their repos contain pretty much the same stuff. >> >>>>>>>>>> But hard to say without testing... or knowing the actual error >> >>>>>>>>>> message. >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> Jussi >> >>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi < >> bagonergi at gmail.com> >> >>>>>>>>>> wrote: >> >>>>>>>>>> >> >>>>>>>>>>> Yes :-) >> >>>>>>>>>>> >> >>>>>>>>>>> [System] >> >>>>>>>>>>> Gambas=3.10 >> >>>>>>>>>>> OperatingSystem=Linux >> >>>>>>>>>>> Kernel=4.4.0-103-generic >> >>>>>>>>>>> Architecture=x86 >> >>>>>>>>>>> Distribution=Ubuntu 16.04.3 LTS >> >>>>>>>>>>> Desktop=XFCE >> >>>>>>>>>>> Theme=Cleanlooks >> >>>>>>>>>>> Language=it_IT.UTF-8 >> >>>>>>>>>>> Memory=3018M >> >>>>>>>>>>> >> >>>>>>>>>>> Regards >> >>>>>>>>>>> Gianluigi >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen < >> >>>>>>>>>>> jussi.lahtinen at gmail.com>: >> >>>>>>>>>>> >> >>>>>>>>>>>> Have you actually tested that with 32bit version? >> >>>>>>>>>>>> >> >>>>>>>>>>>> >> >>>>>>>>>>>> Jussi >> >>>>>>>>>>>> >> >>>>>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi < >> bagonergi at gmail.com> >> >>>>>>>>>>>> wrote: >> >>>>>>>>>>>> >> >>>>>>>>>>>>> A possible solution that allows installing 3.10 from PPA is >> >>>>>>>>>>>>> Xubuntu 16.04 >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> Regards >> >>>>>>>>>>>>> Gianluigi >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < >> >>>>>>>>>>>>> mckaygerhard at gmail.com>: >> >>>>>>>>>>>>> >> >>>>>>>>>>>>>> the problem its the winbuntu derived distro mint.. >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G >> disk >> >>>>>>>>>>>>>> ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> but recent stupid linuxes (including recent kernel) now >> >>>>>>>>>>>>>> removed a lot of support for older hardware lest take a >> example to xorg: >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to >> >>>>>>>>>>>>>> said that its supported due that chip does not offer 32bit >> dept only 16bit >> >>>>>>>>>>>>>> "true color" so newer xorg does not complety provide all >> the chip >> >>>>>>>>>>>>>> capabilities >> >>>>>>>>>>>>>> so if you have intel 810 based chip and wants DIR and >> opengl, >> >>>>>>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must >> be used.. >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> in my case i backporte gambas for older linuxes.. like >> debian >> >>>>>>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit >> that still does >> >>>>>>>>>>>>>> not "up" the requerimients... >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >> >>>>>>>>>>>>>> http://qgqlochekone.blogspot.com >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege > >: >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: >> >>>>>>>>>>>>>>> > here's what my friend replied..... >> >>>>>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. >> >>>>>>>>>>>>>>> > Plenty of disks space (250GB SATA). >> >>>>>>>>>>>>>>> > Plenty of memory (8GB). >> >>>>>>>>>>>>>>> > Then add the ppa:gambas-team repo source. >> >>>>>>>>>>>>>>> > Then apt-get update & then install gambas3. >> >>>>>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. >> >>>>>>>>>>>>>>> > *Major difference is old CPU & Mobo.* >> >>>>>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. >> >>>>>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. >> >>>>>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's >> >>>>>>>>>>>>>>> works. >> >>>>>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> A possibly relevant difference between those systems is >> that >> >>>>>>>>>>>>>>> AMD Athlons >> >>>>>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies >> are >> >>>>>>>>>>>>>>> outdated for >> >>>>>>>>>>>>>>> that architecture. >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> Anyway it would be time to provide some real error >> messages. >> >>>>>>>>>>>>>>> If it's the >> >>>>>>>>>>>>>>> bitness or too high version requirements for some >> >>>>>>>>>>>>>>> dependencies that came >> >>>>>>>>>>>>>>> since 3.8.4, the package manager should be able to say >> that. >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> Regards, >> >>>>>>>>>>>>>>> Tobi >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> -- >> >>>>>>>>>>>>>>> "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 >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> >> >>>>>>>>>>>> >> >>>>>>>>>>>> >> >>>>>>>>>>>> -------------------------------------------------- >> >>>>>>>>>>>> >> >>>>>>>>>>>> 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 >> >>>>>> >> >>>>>> >> >>>>> >> >>>>> >> >>>>> -------------------------------------------------- >> >>>>> >> >>>>> 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: > 20171211/2e7de9a9/attachment.html> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> User mailing list >> User at lists.gambas-basic.org >> http://lists.gambas-basic.org/listinfo/user >> >> Mailinglist hosted by https://www.hostsharing.net >> >> >> ------------------------------ >> >> End of User Digest, Vol 3, Issue 18 >> *********************************** >> >> >> -------------------------------------------------- >> >> 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: From mb at code-it.com Mon Dec 11 19:53:18 2017 From: mb at code-it.com (mikeB) Date: Mon, 11 Dec 2017 11:53:18 -0700 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: <07b11b73-659e-005c-b0e1-b69fcbf49fd6@code-it.com> Sorry for not getting back to persons on the list that were requesting more info from me on the "Hardware" issue. My friend (Gary Hedquist) I was referring to has joined the list and his comments supersede mine as he's a hardware guy that is getting into programming;-) Thanks to all for your insight - learned a lot from this conversation. mikeB On 12/11/2017 06:20 AM, Gary Hedquist wrote: > New Mobo, CPU, & memory parts on order. > The old Athlon PC's will be upgraded to AMD APU's. > Thanks for the Info, too bad Gambas doesn't post > Hardware requirements on the web site. > Gary H. > *Sent:* Monday, December 11, 2017 at 7:07 AM > *From:* user-request at lists.gambas-basic.org > *To:* user at lists.gambas-basic.org > *Subject:* User Digest, Vol 3, Issue 18 > Send User mailing list submissions to > user at lists.gambas-basic.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gambas-basic.org/listinfo/user > or, via email, send a message with subject or body 'help' to > user-request at lists.gambas-basic.org > > You can reach the person managing the list at > user-owner at lists.gambas-basic.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of User digest..." > > > Today's Topics: > > 1. Re: hardware requirments? (Gianluigi) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 11 Dec 2017 14:06:35 +0100 > From: Gianluigi > To: Gambas Mailing List > Subject: Re: [Gambas-user] hardware requirments? > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Here [0] another thing is written (2.1.2.1 CPU - Athlon XP). > And then again, on the second PC about 13 years old, I installed Gambas > 3.10 (from PPA) on Xubuntu 16.04.03. > We try to give useful information and not to make religious wars. > Here he was asked to install Gambas from PPA. > > Regards > Gianluigi > > [0] https://help.ubuntu.com/lts/installation-guide/i386/ch02s01.html > > 2017-12-11 13:13 GMT+01:00 PICCORO McKAY Lenz : > > > yeah gianluigi, based on your response, i ask to mikeB but seems are very > > busy.. > > > > the case of mikeB could not be possible as you said (more than 8G ram) due > > amd athlon motherboards for home/office only supports up to 4G, and any > > winbuntu distro based does not work in that cpu, some packages raise me the > > message "ilegal instruction set" > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-12-11 4:27 GMT-04:00 Gianluigi : > > > >> Hi Piccoro, > >> remember, not me but mikeB said this: > >> On Fri, 08 Dec 2017, mikeB wrote: > >> >>>>>>>>>>>> > here's what my friend replied..... > >> >>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. > >> >>>>>>>>>>>> > Plenty of disks space (250GB SATA). > >> >>>>>>>>>>>> > Plenty of memory (8GB). > >> >>>>>>>>>>>> > Then add the ppa:gambas-team repo source. > >> >>>>>>>>>>>> > Then apt-get update & then install gambas3. > >> >>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. > >> >>>>>>>>>>>> > *Major difference is old CPU & Mobo.* > >> >>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. > >> >>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. > >> >>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's > >> >>>>>>>>>>>> works. > >> >>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. > >> > >> Regards > >> Gianluigi > >> > >> 2017-12-11 4:14 GMT+01:00 PICCORO McKAY Lenz : > >> > >>> 2017-12-10 14:08 GMT-04:00 Gianluigi : > >>> > >>>> But here we talk about 8 GB of RAM, CPU can not be older than 9 years, > >>>> could not support them. > >>>> > >>> umm in this case there's something wrong with your hardware > >>> description.. > >>> > >>> you said athlon and never athlon motherboards support more thn 6Gb of > >>> ram i think so > >>> > >>> could you provide the ooutput of : > >>> > >>> /proc/cpuinfo > >>> lspci > >>> > >>> or could you try to compile and run gambas from tarball? in a testing > >>> installation? > >>> > >>> or reinstall and retest.. maybe its your hard-drive or some RAM dimm in > >>> bad status > >>> > >>> > >>> > >>>> > >>>> Regards > >>>> Gianluigi > >>>> > >>>> 2017-12-10 18:27 GMT+01:00 PICCORO McKAY Lenz : > >>>> > >>>>> 9 years are not old! Athlon was made by firts time at 1999 a 18 year > >>>>> old, ok > >>>>> > >>>>> gambas must be compiled in the host in that case or you must use my > >>>>> packages for older computers that really works optimized (venenux) > >>>>> > >>>>> Lenz McKAY Gerardo (PICCORO) > >>>>> http://qgqlochekone.blogspot.com > >>>>> > >>>>> 2017-12-10 11:48 GMT-04:00 Jussi Lahtinen : > >>>>> > >>>>>> My computer is 9 years old and works perfectly with Linux Mint > >>>>>> (64bit). I really like the cinnamon desktop. > >>>>>> I compile Gambas myself and I compile every component except Qt5 > >>>>>> stuff. Never had problems. > >>>>>> > >>>>>> When was last 32bit CPU for PCs made? Was it Athlon from 2005? > >>>>>> > >>>>>> > >>>>>> Jussi > >>>>>> > >>>>>> On Sun, Dec 10, 2017 at 3:18 PM, Gianluigi > >>>>>> wrote: > >>>>>> > >>>>>>> If you like laughing... > >>>>>>> Mine is a 13-year old hardware (excluding monitors and mouse, just > >>>>>>> bought the monitor) and with Xubuntu 16.04 it works great. > >>>>>>> > >>>>>>> Regards > >>>>>>> Gianluigi > >>>>>>> > >>>>>>> 2017-12-10 12:47 GMT+01:00 PICCORO McKAY Lenz < > >>>>>>> mckaygerhard at gmail.com>: > >>>>>>> > >>>>>>>> 2017-12-10 4:39 GMT-04:00 Gianluigi : > >>>>>>>> > >>>>>>>>> Here (Gambas-it) there were discussions that would make us think > >>>>>>>>> otherwise. > >>>>>>>>> Sometimes Mint gives different results. > >>>>>>>>> Taking a test does not cost much effort and removes any doubt. > >>>>>>>>> > >>>>>>>> jajaja never mind. witn a winbuntu derivative never will work.. > >>>>>>>> > >>>>>>>> use a kernel with no so many up to date.. a kernel that fith the > >>>>>>>> hardware > >>>>>>>> > >>>>>>>> wrong thinking that the most recent its the better > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> > >>>>>>>>> Regards > >>>>>>>>> Gianluigi > >>>>>>>>> > >>>>>>>>> 2017-12-10 2:03 GMT+01:00 Jussi Lahtinen >>>>>>>>> >: > >>>>>>>>> > >>>>>>>>>> Interesting, then I would guess the fault is not on Linux Mint > >>>>>>>>>> either... their repos contain pretty much the same stuff. > >>>>>>>>>> But hard to say without testing... or knowing the actual error > >>>>>>>>>> message. > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> Jussi > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> On Sat, Dec 9, 2017 at 11:24 PM, Gianluigi > >>>>>>>>>> wrote: > >>>>>>>>>> > >>>>>>>>>>> Yes :-) > >>>>>>>>>>> > >>>>>>>>>>> [System] > >>>>>>>>>>> Gambas=3.10 > >>>>>>>>>>> OperatingSystem=Linux > >>>>>>>>>>> Kernel=4.4.0-103-generic > >>>>>>>>>>> Architecture=x86 > >>>>>>>>>>> Distribution=Ubuntu 16.04.3 LTS > >>>>>>>>>>> Desktop=XFCE > >>>>>>>>>>> Theme=Cleanlooks > >>>>>>>>>>> Language=it_IT.UTF-8 > >>>>>>>>>>> Memory=3018M > >>>>>>>>>>> > >>>>>>>>>>> Regards > >>>>>>>>>>> Gianluigi > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> 2017-12-09 20:10 GMT+01:00 Jussi Lahtinen < > >>>>>>>>>>> jussi.lahtinen at gmail.com>: > >>>>>>>>>>> > >>>>>>>>>>>> Have you actually tested that with 32bit version? > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> Jussi > >>>>>>>>>>>> > >>>>>>>>>>>> On Sat, Dec 9, 2017 at 4:11 PM, Gianluigi > >>>>>>>>>>>> wrote: > >>>>>>>>>>>> > >>>>>>>>>>>>> A possible solution that allows installing 3.10 from PPA is > >>>>>>>>>>>>> Xubuntu 16.04 > >>>>>>>>>>>>> > >>>>>>>>>>>>> Regards > >>>>>>>>>>>>> Gianluigi > >>>>>>>>>>>>> > >>>>>>>>>>>>> 2017-12-08 19:27 GMT+01:00 PICCORO McKAY Lenz < > >>>>>>>>>>>>> mckaygerhard at gmail.com>: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> the problem its the winbuntu derived distro mint.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> i installed gambas in the very older eeepc asus with 2G disk > >>>>>>>>>>>>>> ssd internal, 512Mb ram and geode CPU 800MHz perfectly.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> but recent stupid linuxes (including recent kernel) now > >>>>>>>>>>>>>> removed a lot of support for older hardware lest take a example > to xorg: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> since 7.3 xorg does not support intel i810 complety, lie to > >>>>>>>>>>>>>> said that its supported due that chip does not offer 32bit dept > only 16bit > >>>>>>>>>>>>>> "true color" so newer xorg does not complety provide all the chip > >>>>>>>>>>>>>> capabilities > >>>>>>>>>>>>>> so if you have intel 810 based chip and wants DIR and opengl, > >>>>>>>>>>>>>> xorg must be fewer rather thant 7.2 so an older linux must be used.. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> in my case i backporte gambas for older linuxes.. like debian > >>>>>>>>>>>>>> lenny and squeeze perfectly.. of course, thanks to benoit that > still does > >>>>>>>>>>>>>> not "up" the requerimients... > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) > >>>>>>>>>>>>>> http://qgqlochekone.blogspot.com > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> 2017-12-08 13:47 GMT-04:00 Tobias Boege : > >>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Fri, 08 Dec 2017, mikeB wrote: > >>>>>>>>>>>>>>> > here's what my friend replied..... > >>>>>>>>>>>>>>> > Installing Mint 18.3 on Old & New PC's works OK. > >>>>>>>>>>>>>>> > Plenty of disks space (250GB SATA). > >>>>>>>>>>>>>>> > Plenty of memory (8GB). > >>>>>>>>>>>>>>> > Then add the ppa:gambas-team repo source. > >>>>>>>>>>>>>>> > Then apt-get update & then install gambas3. > >>>>>>>>>>>>>>> > Works ok on new PC's, but fails install on old PC's. > >>>>>>>>>>>>>>> > *Major difference is old CPU & Mobo.* > >>>>>>>>>>>>>>> > Works /w AMD APU's & FX CPU's. > >>>>>>>>>>>>>>> > Fails on Old PC's /w AMD Athlon CPU's. > >>>>>>>>>>>>>>> > Interesting that installing Gambas 3.8.4 on the Old PC's > >>>>>>>>>>>>>>> works. > >>>>>>>>>>>>>>> > Only Gambas 3.10 fails to install on the Old PC's. > >>>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> A possibly relevant difference between those systems is that > >>>>>>>>>>>>>>> AMD Athlons > >>>>>>>>>>>>>>> are 32 bit, unless I'm mistaken. Maybe some dependencies are > >>>>>>>>>>>>>>> outdated for > >>>>>>>>>>>>>>> that architecture. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Anyway it would be time to provide some real error messages. > >>>>>>>>>>>>>>> If it's the > >>>>>>>>>>>>>>> bitness or too high version requirements for some > >>>>>>>>>>>>>>> dependencies that came > >>>>>>>>>>>>>>> since 3.8.4, the package manager should be able to say that. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Regards, > >>>>>>>>>>>>>>> Tobi > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>> "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 > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> -------------------------------------------------- > >>>>>>>>>>>> > >>>>>>>>>>>> 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 > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> -------------------------------------------------- > >>>>> > >>>>> 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: > > > ------------------------------ > > Subject: Digest Footer > > User mailing list > User at lists.gambas-basic.org > http://lists.gambas-basic.org/listinfo/user > > Mailinglist hosted by https://www.hostsharing.net > > > ------------------------------ > > End of User Digest, Vol 3, Issue 18 > *********************************** > > > > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net > From g4mba5 at gmail.com Mon Dec 11 19:58:20 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 11 Dec 2017 19:58:20 +0100 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: Le 11/12/2017 ? 14:20, Gary Hedquist a ?crit?: > New Mobo, CPU, & memory parts on order. > The old Athlon PC's will be upgraded to AMD APU's. > Thanks for the Info, too bad Gambas doesn't post > Hardware requirements on the web site. > Gary H. Gambas has no more hardware requirement than bash, so why do you want me to specify them? I think you are confusing hardware requirements of a program and the hardware requirements of the distribution that compiled the program. -- Beno?t Minisini From mckaygerhard at gmail.com Mon Dec 11 20:02:15 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 11 Dec 2017 15:02:15 -0400 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: the problem Benoit, its that MikeB was in a problem and was thinking that gambas has some special requeriments I dusted my Aladdin Super7 with K6-III+ 550 MHz (it was a prodigy against the pentium II) and additional in the job I looked for some K7 equipment (before "athlon" superset it), but I did not find any "athlon" .. nevertheless I reiterate that at least I know that all athlon have sse and this is a clue of why it does not work one example when trying to install any distro on the K6, It fail by saying that I needed a computer with PAE enabled. However the only distros that I installed sussesfully in the K7 was debian and geento an experience of nostalgia .. hehehe Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-11 14:58 GMT-04:00 Beno?t Minisini : > Le 11/12/2017 ? 14:20, Gary Hedquist a ?crit : > >> New Mobo, CPU, & memory parts on order. >> The old Athlon PC's will be upgraded to AMD APU's. >> Thanks for the Info, too bad Gambas doesn't post >> Hardware requirements on the web site. >> Gary H. >> > > Gambas has no more hardware requirement than bash, so why do you want me > to specify them? > > I think you are confusing hardware requirements of a program and the > hardware requirements of the distribution that compiled the program. > > -- > Beno?t Minisini > > > -------------------------------------------------- > > 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: From gambas.fr at gmail.com Mon Dec 11 22:07:40 2017 From: gambas.fr at gmail.com (Fabien Bodard) Date: Mon, 11 Dec 2017 22:07:40 +0100 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: Hey PICCORO, If you wan't i have alway an old slack cd from 1994... for dinosaurus 2017-12-11 20:02 GMT+01:00 PICCORO McKAY Lenz : > the problem Benoit, its that MikeB was in a problem and was thinking that > gambas has some special requeriments > > I dusted my Aladdin Super7 with K6-III+ 550 MHz (it was a prodigy against > the pentium II) and additional in the job I looked for some K7 equipment > (before "athlon" superset it), but I did not find any "athlon" .. > nevertheless I reiterate that at least I know that all athlon have sse and > this is a clue of why it does not work > > one example when trying to install any distro on the K6, It fail by saying > that I needed a computer with PAE enabled. However the only distros that I > installed sussesfully in the K7 was debian and geento > > an experience of nostalgia .. hehehe > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-12-11 14:58 GMT-04:00 Beno?t Minisini : >> >> Le 11/12/2017 ? 14:20, Gary Hedquist a ?crit : >>> >>> New Mobo, CPU, & memory parts on order. >>> The old Athlon PC's will be upgraded to AMD APU's. >>> Thanks for the Info, too bad Gambas doesn't post >>> Hardware requirements on the web site. >>> Gary H. >> >> >> Gambas has no more hardware requirement than bash, so why do you want me >> to specify them? >> >> I think you are confusing hardware requirements of a program and the >> hardware requirements of the distribution that compiled the program. >> >> -- >> Beno?t Minisini >> >> >> -------------------------------------------------- >> >> 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 > -- Fabien Bodard From mckaygerhard at gmail.com Tue Dec 12 00:52:39 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 11 Dec 2017 19:52:39 -0400 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: i have a i486 with SIMMs (those that only works as pairs) AMD DX4 working with woody linux and DIRTYDOS 1.2 can you upload to openload and/or gdrive Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-11 17:07 GMT-04:00 Fabien Bodard : > Hey PICCORO, If you wan't i have alway an old slack cd from 1994... > for dinosaurus > > 2017-12-11 20:02 GMT+01:00 PICCORO McKAY Lenz : > > the problem Benoit, its that MikeB was in a problem and was thinking that > > gambas has some special requeriments > > > > I dusted my Aladdin Super7 with K6-III+ 550 MHz (it was a prodigy against > > the pentium II) and additional in the job I looked for some K7 equipment > > (before "athlon" superset it), but I did not find any "athlon" .. > > nevertheless I reiterate that at least I know that all athlon have sse > and > > this is a clue of why it does not work > > > > one example when trying to install any distro on the K6, It fail by > saying > > that I needed a computer with PAE enabled. However the only distros that > I > > installed sussesfully in the K7 was debian and geento > > > > an experience of nostalgia .. hehehe > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-12-11 14:58 GMT-04:00 Beno?t Minisini : > >> > >> Le 11/12/2017 ? 14:20, Gary Hedquist a ?crit : > >>> > >>> New Mobo, CPU, & memory parts on order. > >>> The old Athlon PC's will be upgraded to AMD APU's. > >>> Thanks for the Info, too bad Gambas doesn't post > >>> Hardware requirements on the web site. > >>> Gary H. > >> > >> > >> Gambas has no more hardware requirement than bash, so why do you want me > >> to specify them? > >> > >> I think you are confusing hardware requirements of a program and the > >> hardware requirements of the distribution that compiled the program. > >> > >> -- > >> Beno?t Minisini > >> > >> > >> -------------------------------------------------- > >> > >> 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 > > > > > > -- > Fabien Bodard > > -------------------------------------------------- > > 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: From mckaygerhard at gmail.com Tue Dec 12 00:55:00 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 11 Dec 2017 19:55:00 -0400 Subject: [Gambas-user] User Digest, Vol 3, Issue 18 In-Reply-To: References: Message-ID: i have a i486 with SIMMs (those that only works as pairs) AMD DX4 working with woody linux and DIRTYDOS 1.2 can you upload to openload and/or gdrive,, but the K62 are not dinosaurs.. i write right now from here... lest see, disruption of the energy power consecutivelly damage the protector.. but my K62 does not need that protector... excelent Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-11 17:07 GMT-04:00 Fabien Bodard : > Hey PICCORO, If you wan't i have alway an old slack cd from 1994... > for dinosaurus > > 2017-12-11 20:02 GMT+01:00 PICCORO McKAY Lenz : > > the problem Benoit, its that MikeB was in a problem and was thinking that > > gambas has some special requeriments > > > > I dusted my Aladdin Super7 with K6-III+ 550 MHz (it was a prodigy against > > the pentium II) and additional in the job I looked for some K7 equipment > > (before "athlon" superset it), but I did not find any "athlon" .. > > nevertheless I reiterate that at least I know that all athlon have sse > and > > this is a clue of why it does not work > > > > one example when trying to install any distro on the K6, It fail by > saying > > that I needed a computer with PAE enabled. However the only distros that > I > > installed sussesfully in the K7 was debian and geento > > > > an experience of nostalgia .. hehehe > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-12-11 14:58 GMT-04:00 Beno?t Minisini : > >> > >> Le 11/12/2017 ? 14:20, Gary Hedquist a ?crit : > >>> > >>> New Mobo, CPU, & memory parts on order. > >>> The old Athlon PC's will be upgraded to AMD APU's. > >>> Thanks for the Info, too bad Gambas doesn't post > >>> Hardware requirements on the web site. > >>> Gary H. > >> > >> > >> Gambas has no more hardware requirement than bash, so why do you want me > >> to specify them? > >> > >> I think you are confusing hardware requirements of a program and the > >> hardware requirements of the distribution that compiled the program. > >> > >> -- > >> Beno?t Minisini > >> > >> > >> -------------------------------------------------- > >> > >> 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 > > > > > > -- > Fabien Bodard > > -------------------------------------------------- > > 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: From t.lee.davidson at gmail.com Tue Dec 12 18:21:18 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 12 Dec 2017 12:21:18 -0500 Subject: [Gambas-user] gambas3-gb-web-feed not documented on wiki? Message-ID: <432a2539-90d3-f735-3746-0a61d6d967c1@gmail.com> In preparation for doing some RSS work, I am researching to see what programming language has the libraries/components that might be useful. Of course, my first choice was Gambas. So, I looked at http://gambaswiki.org/wiki/comp to see if there is a RSS utility component. I found none. So then, looking at the software available through my distro's package manager I noticed gambas3-gb-web-feed. Thinking I perhaps missed it on the wiki, I took another look. I still don't see it. Is this an oversight, or am I not looking hard enough? -- Lee From taboege at gmail.com Tue Dec 12 18:45:57 2017 From: taboege at gmail.com (Tobias Boege) Date: Tue, 12 Dec 2017 18:45:57 +0100 Subject: [Gambas-user] gambas3-gb-web-feed not documented on wiki? In-Reply-To: <432a2539-90d3-f735-3746-0a61d6d967c1@gmail.com> References: <432a2539-90d3-f735-3746-0a61d6d967c1@gmail.com> Message-ID: <20171212174557.GH894@highrise.localdomain> On Tue, 12 Dec 2017, T Lee Davidson wrote: > In preparation for doing some RSS work, I am researching to see what > programming language has the libraries/components that might be useful. Of > course, my first choice was Gambas. So, I looked at > http://gambaswiki.org/wiki/comp to see if there is a RSS utility component. > I found none. > > So then, looking at the software available through my distro's package > manager I noticed gambas3-gb-web-feed. Thinking I perhaps missed it on the > wiki, I took another look. I still don't see it. > > Is this an oversight, or am I not looking hard enough? > Yes, it's missing from the component index, probably because it's new with Gambas 3.10 (that page has to be regenerated by the server software to take the new component into account, I suppose). The documentation itself is available in the wiki already: [1]. These pages are automatically generated from my in-source documentation, but the class- level help seems to be missing from the wiki. Your best bet for the complete picture of how the component works is (as always) to look into the source code. The component is written in Gambas and is mostly translating between a tree of Gambas objects and an XML document, but do ask if you have a question. Note that there might be changes to some part of the interface concerning Dates in the future, to take timezones into account (and I still believe there are problems with the timezone conversion in Date.ToRFC822). I talked about these with Benoit multiple times [2][3] but we never reached a conclusion that I could work with. Regards, Tobi [1] http://gambaswiki.org/wiki/comp/gb.web.feed [2] https://lists.gambas-basic.org/pipermail/user/2017-April/059915.html [3] https://lists.gambas-basic.org/pipermail/devel/2017-July/006148.html -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From g4mba5 at gmail.com Tue Dec 12 18:57:37 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 12 Dec 2017 18:57:37 +0100 Subject: [Gambas-user] gambas3-gb-web-feed not documented on wiki? In-Reply-To: <20171212174557.GH894@highrise.localdomain> References: <432a2539-90d3-f735-3746-0a61d6d967c1@gmail.com> <20171212174557.GH894@highrise.localdomain> Message-ID: Le 12/12/2017 ? 18:45, Tobias Boege a ?crit?: > On Tue, 12 Dec 2017, T Lee Davidson wrote: >> In preparation for doing some RSS work, I am researching to see what >> programming language has the libraries/components that might be useful. Of >> course, my first choice was Gambas. So, I looked at >> http://gambaswiki.org/wiki/comp to see if there is a RSS utility component. >> I found none. >> >> So then, looking at the software available through my distro's package >> manager I noticed gambas3-gb-web-feed. Thinking I perhaps missed it on the >> wiki, I took another look. I still don't see it. >> >> Is this an oversight, or am I not looking hard enough? >> > > Yes, it's missing from the component index, probably because it's new with > Gambas 3.10 (that page has to be regenerated by the server software to take > the new component into account, I suppose). > > The documentation itself is available in the wiki already: [1]. These pages > are automatically generated from my in-source documentation, but the class- > level help seems to be missing from the wiki. Your best bet for the complete > picture of how the component works is (as always) to look into the source code. > The component is written in Gambas and is mostly translating between a tree > of Gambas objects and an XML document, but do ask if you have a question. > > Note that there might be changes to some part of the interface concerning > Dates in the future, to take timezones into account (and I still believe > there are problems with the timezone conversion in Date.ToRFC822). > I talked about these with Benoit multiple times [2][3] but we never > reached a conclusion that I could work with. > > Regards, > Tobi > > [1] http://gambaswiki.org/wiki/comp/gb.web.feed > [2] https://lists.gambas-basic.org/pipermail/user/2017-April/059915.html > [3] https://lists.gambas-basic.org/pipermail/devel/2017-July/006148.html > I just added it to the component wiki index. It has to be done manually. -- Beno?t Minisini From t.lee.davidson at gmail.com Tue Dec 12 20:14:18 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 12 Dec 2017 14:14:18 -0500 Subject: [Gambas-user] gambas3-gb-web-feed not documented on wiki? In-Reply-To: References: <432a2539-90d3-f735-3746-0a61d6d967c1@gmail.com> <20171212174557.GH894@highrise.localdomain> Message-ID: <60e17610-b980-44a1-70e6-fa77f959825e@gmail.com> On 12/12/2017 12:57 PM, Beno?t Minisini wrote: > Le 12/12/2017 ? 18:45, Tobias Boege a ?crit?: >> On Tue, 12 Dec 2017, T Lee Davidson wrote: >>> In preparation for doing some RSS work, I am researching to see what >>> programming language has the libraries/components that might be useful. Of >>> course, my first choice was Gambas. So, I looked at >>> http://gambaswiki.org/wiki/comp to see if there is a RSS utility component. >>> I found none. >>> >>> So then, looking at the software available through my distro's package >>> manager I noticed gambas3-gb-web-feed. Thinking I perhaps missed it on the >>> wiki, I took another look. I still don't see it. >>> >>> Is this an oversight, or am I not looking hard enough? >>> >> >> Yes, it's missing from the component index, probably because it's new with >> Gambas 3.10 (that page has to be regenerated by the server software to take >> the new component into account, I suppose). >> >> The documentation itself is available in the wiki already: [1]. These pages >> are automatically generated from my in-source documentation, but the class- >> level help seems to be missing from the wiki. Your best bet for the complete >> picture of how the component works is (as always) to look into the source code. >> The component is written in Gambas and is mostly translating between a tree >> of Gambas objects and an XML document, but do ask if you have a question. >> >> Note that there might be changes to some part of the interface concerning >> Dates in the future, to take timezones into account (and I still believe >> there are problems with the timezone conversion in Date.ToRFC822). >> I talked about these with Benoit multiple times [2][3] but we never >> reached a conclusion that I could work with. >> >> Regards, >> Tobi >> >> [1] http://gambaswiki.org/wiki/comp/gb.web.feed >> [2] https://lists.gambas-basic.org/pipermail/user/2017-April/059915.html >> [3] https://lists.gambas-basic.org/pipermail/devel/2017-July/006148.html >> > > I just added it to the component wiki index. It has to be done manually. > Thank you both, Tobi and Beno?t. On a side note, not seeing the new gb.web.feed link until I manually refreshed the page made me wonder if it might be useful to add a HTML Expires meta to the wiki pages for those who don't know a new link should be there. -- Lee From mckaygerhard at gmail.com Wed Dec 13 03:22:31 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 12 Dec 2017 22:22:31 -0400 Subject: [Gambas-user] gambas3-gb-web-feed not documented on wiki? In-Reply-To: <60e17610-b980-44a1-70e6-fa77f959825e@gmail.com> References: <432a2539-90d3-f735-3746-0a61d6d967c1@gmail.com> <20171212174557.GH894@highrise.localdomain> <60e17610-b980-44a1-70e6-fa77f959825e@gmail.com> Message-ID: if you are using newer firefox the html expires meta does not have any effect! now firefox and chrome/chromium has their own "cache implementation technology" apart of the cache implemented at server side Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-12 15:14 GMT-04:00 T Lee Davidson : > On 12/12/2017 12:57 PM, Beno?t Minisini wrote: > >> Le 12/12/2017 ? 18:45, Tobias Boege a ?crit : >> >>> On Tue, 12 Dec 2017, T Lee Davidson wrote: >>> >>>> In preparation for doing some RSS work, I am researching to see what >>>> programming language has the libraries/components that might be useful. >>>> Of >>>> course, my first choice was Gambas. So, I looked at >>>> http://gambaswiki.org/wiki/comp to see if there is a RSS utility >>>> component. >>>> I found none. >>>> >>>> So then, looking at the software available through my distro's package >>>> manager I noticed gambas3-gb-web-feed. Thinking I perhaps missed it on >>>> the >>>> wiki, I took another look. I still don't see it. >>>> >>>> Is this an oversight, or am I not looking hard enough? >>>> >>>> >>> Yes, it's missing from the component index, probably because it's new >>> with >>> Gambas 3.10 (that page has to be regenerated by the server software to >>> take >>> the new component into account, I suppose). >>> >>> The documentation itself is available in the wiki already: [1]. These >>> pages >>> are automatically generated from my in-source documentation, but the >>> class- >>> level help seems to be missing from the wiki. Your best bet for the >>> complete >>> picture of how the component works is (as always) to look into the >>> source code. >>> The component is written in Gambas and is mostly translating between a >>> tree >>> of Gambas objects and an XML document, but do ask if you have a question. >>> >>> Note that there might be changes to some part of the interface concerning >>> Dates in the future, to take timezones into account (and I still believe >>> there are problems with the timezone conversion in Date.ToRFC822). >>> I talked about these with Benoit multiple times [2][3] but we never >>> reached a conclusion that I could work with. >>> >>> Regards, >>> Tobi >>> >>> [1] http://gambaswiki.org/wiki/comp/gb.web.feed >>> [2] https://lists.gambas-basic.org/pipermail/user/2017-April/059915.html >>> [3] https://lists.gambas-basic.org/pipermail/devel/2017-July/006148.html >>> >>> >> I just added it to the component wiki index. It has to be done manually. >> >> > Thank you both, Tobi and Beno?t. > > On a side note, not seeing the new gb.web.feed link until I manually > refreshed the page made me wonder if it might be useful to add a HTML > Expires meta to the wiki pages for those who don't know a new link should > be there. > > > -- > Lee > > > -------------------------------------------------- > > 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: From mb at code-it.com Wed Dec 13 04:16:54 2017 From: mb at code-it.com (mikeB) Date: Tue, 12 Dec 2017 20:16:54 -0700 Subject: [Gambas-user] check 4 Gambas Runtime files? Message-ID: On my web site, that I offer software programmed using Gambas, I have a notice : *********************************************************************** VERY IMPORTANT: before installing this app you will need to install Gambas Runtime v10 files - most systems will not have these very new files installed yet. Do so via the terminal commands: sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update *********************************************************************** Now that Gambas runtime 10 files are more common - being install by the Distro - is there a way for the user (terminal command) to check if they are installed? This is a real newbie question I'm sure but hey.. I'm a newbie! Thanks for any all help on this matter and have a GREAT day, mikeB From mckaygerhard at gmail.com Wed Dec 13 04:34:46 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 12 Dec 2017 23:34:46 -0400 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: Message-ID: umm the question in fact its instersting if we are at user side! maybe a bash/tch script qut run "gambas3" and confirm that returns the version.. actually the hardinfo project checks if gambas are present and installed correctly i the os Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-12 23:16 GMT-04:00 mikeB : > On my web site, that I offer software programmed using Gambas, I have a > notice : > *********************************************************************** > VERY IMPORTANT: before installing this app you will need to install Gambas > Runtime v10 files - most systems will not have these very new files > installed yet. > > Do so via the terminal commands: > sudo add-apt-repository ppa:gambas-team/gambas3 > sudo apt-get update > *********************************************************************** > Now that Gambas runtime 10 files are more common - being install by the > Distro - is there a way for the user (terminal command) to check if they > are installed? > > This is a real newbie question I'm sure but hey.. I'm a newbie! > Thanks for any all help on this matter and have a GREAT day, > mikeB > > -------------------------------------------------- > > 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: From taboege at gmail.com Wed Dec 13 08:54:50 2017 From: taboege at gmail.com (Tobias Boege) Date: Wed, 13 Dec 2017 08:54:50 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: Message-ID: <20171213075450.GI894@highrise.localdomain> On Tue, 12 Dec 2017, mikeB wrote: > On my web site, that I offer software programmed using Gambas, I have a > notice : > *********************************************************************** > VERY IMPORTANT: before installing this app you will need to install Gambas > Runtime v10 files - most systems will not have these very new files > installed yet. > > Do so via the terminal commands: > sudo add-apt-repository ppa:gambas-team/gambas3 > sudo apt-get update > *********************************************************************** > Now that Gambas runtime 10 files are more common - being install by the > Distro - is there a way for the user (terminal command) to check if they are > installed? > > This is a real newbie question I'm sure but hey.. I'm a newbie! > Thanks for any all help on this matter and have a GREAT day, > mikeB > First check if the interpreter gbx3 is found in PATH, using the "which" utility. If not, I wouldn't call Gambas properly installed (although some people might disagree -- it's their computer -- but then they will be able to figure their Gambas version out themselves). Once you have that, the System class has FullVersion which gives you the Gambas version as a string and you can compare it like this: $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' Comp will return the sign (-1, 0 or 1) of subtracting the version 3.10 from your Gambas version. You want the comparison to yield 0 or 1. With the above line, you will see either the string "True" or "False" printed to the terminal; you can make the output fancier. NOTE: gb.Natural makes the comparison by natural sort, which is appropriate to compare version numbers. Observe: $ gbx3 -e 'Comp("3.2", "3.10")' 1 $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' -1 Because "2" comes before "1" in the alphabet, the default lexicographic comparison mode declares the string "3.2" to be greater than "3.10", but gb.Natural gets it right. Also never coerce the string version into a float for easier comparison because you'll run into nasty bugs caused by float roundoff. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at gmail.com Wed Dec 13 14:21:22 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 13 Dec 2017 15:21:22 +0200 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <20171213075450.GI894@highrise.localdomain> References: <20171213075450.GI894@highrise.localdomain> Message-ID: gbx3 -V or gbx3 --version Works also... Jussi On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege wrote: > On Tue, 12 Dec 2017, mikeB wrote: > > On my web site, that I offer software programmed using Gambas, I have a > > notice : > > *********************************************************************** > > VERY IMPORTANT: before installing this app you will need to install > Gambas > > Runtime v10 files - most systems will not have these very new files > > installed yet. > > > > Do so via the terminal commands: > > sudo add-apt-repository ppa:gambas-team/gambas3 > > sudo apt-get update > > *********************************************************************** > > Now that Gambas runtime 10 files are more common - being install by the > > Distro - is there a way for the user (terminal command) to check if they > are > > installed? > > > > This is a real newbie question I'm sure but hey.. I'm a newbie! > > Thanks for any all help on this matter and have a GREAT day, > > mikeB > > > > First check if the interpreter gbx3 is found in PATH, using the "which" > utility. If not, I wouldn't call Gambas properly installed (although > some people might disagree -- it's their computer -- but then they will > be able to figure their Gambas version out themselves). > > Once you have that, the System class has FullVersion which gives you the > Gambas version as a string and you can compare it like this: > > $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' > > Comp will return the sign (-1, 0 or 1) of subtracting the version 3.10 > from your Gambas version. You want the comparison to yield 0 or 1. > With the above line, you will see either the string "True" or "False" > printed to the terminal; you can make the output fancier. > > NOTE: gb.Natural makes the comparison by natural sort, which is appropriate > to compare version numbers. Observe: > > $ gbx3 -e 'Comp("3.2", "3.10")' > 1 > $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' > -1 > > Because "2" comes before "1" in the alphabet, the default lexicographic > comparison mode declares the string "3.2" to be greater than "3.10", > but gb.Natural gets it right. > > Also never coerce the string version into a float for easier comparison > because you'll run into nasty bugs caused by float roundoff. > > Regards, > Tobi > > -- > "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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Dec 13 15:43:02 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 13 Dec 2017 10:43:02 -0400 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> Message-ID: the suggestin from tobias are the best for check a specific version string, due return a exact result, not an interpretative result good, but only works if gambas are installed, if not return "commando not found" Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen : > gbx3 -V > or > gbx3 --version > > Works also... > > > Jussi > > On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege wrote: > >> On Tue, 12 Dec 2017, mikeB wrote: >> > On my web site, that I offer software programmed using Gambas, I have a >> > notice : >> > *********************************************************************** >> > VERY IMPORTANT: before installing this app you will need to install >> Gambas >> > Runtime v10 files - most systems will not have these very new files >> > installed yet. >> > >> > Do so via the terminal commands: >> > sudo add-apt-repository ppa:gambas-team/gambas3 >> > sudo apt-get update >> > *********************************************************************** >> > Now that Gambas runtime 10 files are more common - being install by the >> > Distro - is there a way for the user (terminal command) to check if >> they are >> > installed? >> > >> > This is a real newbie question I'm sure but hey.. I'm a newbie! >> > Thanks for any all help on this matter and have a GREAT day, >> > mikeB >> > >> >> First check if the interpreter gbx3 is found in PATH, using the "which" >> utility. If not, I wouldn't call Gambas properly installed (although >> some people might disagree -- it's their computer -- but then they will >> be able to figure their Gambas version out themselves). >> >> Once you have that, the System class has FullVersion which gives you the >> Gambas version as a string and you can compare it like this: >> >> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >> >> Comp will return the sign (-1, 0 or 1) of subtracting the version 3.10 >> from your Gambas version. You want the comparison to yield 0 or 1. >> With the above line, you will see either the string "True" or "False" >> printed to the terminal; you can make the output fancier. >> >> NOTE: gb.Natural makes the comparison by natural sort, which is >> appropriate >> to compare version numbers. Observe: >> >> $ gbx3 -e 'Comp("3.2", "3.10")' >> 1 >> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >> -1 >> >> Because "2" comes before "1" in the alphabet, the default lexicographic >> comparison mode declares the string "3.2" to be greater than "3.10", >> but gb.Natural gets it right. >> >> Also never coerce the string version into a float for easier comparison >> because you'll run into nasty bugs caused by float roundoff. >> >> Regards, >> Tobi >> >> -- >> "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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mb at code-it.com Wed Dec 13 16:26:32 2017 From: mb at code-it.com (mikeB) Date: Wed, 13 Dec 2017 08:26:32 -0700 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> Message-ID: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> thats what i was thinking (works only if Gambas is installed) but wasn't sure. I really would prefer NOT to force the end user to install Gambas but only the v10 runtime files that are required to run the Gambas developed software/ program. A terminal command to just check if the v10 runtime files are installed is really what I was looking for;-) thanks to all that have taken to time to respond - it's highly APPRECIATED! Have learned something from every post. mikeB On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: > the suggestin from tobias are the best for check a specific version string, > due return a exact result, not an interpretative result > > good, but only works if gambas are installed, if not return "commando not > found" > > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen : > >> gbx3 -V >> or >> gbx3 --version >> >> Works also... >> >> >> Jussi >> >> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege wrote: >> >>> On Tue, 12 Dec 2017, mikeB wrote: >>>> On my web site, that I offer software programmed using Gambas, I have a >>>> notice : >>>> *********************************************************************** >>>> VERY IMPORTANT: before installing this app you will need to install >>> Gambas >>>> Runtime v10 files - most systems will not have these very new files >>>> installed yet. >>>> >>>> Do so via the terminal commands: >>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>> sudo apt-get update >>>> *********************************************************************** >>>> Now that Gambas runtime 10 files are more common - being install by the >>>> Distro - is there a way for the user (terminal command) to check if >>> they are >>>> installed? >>>> >>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>>> Thanks for any all help on this matter and have a GREAT day, >>>> mikeB >>>> >>> >>> First check if the interpreter gbx3 is found in PATH, using the "which" >>> utility. If not, I wouldn't call Gambas properly installed (although >>> some people might disagree -- it's their computer -- but then they will >>> be able to figure their Gambas version out themselves). >>> >>> Once you have that, the System class has FullVersion which gives you the >>> Gambas version as a string and you can compare it like this: >>> >>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >>> >>> Comp will return the sign (-1, 0 or 1) of subtracting the version 3.10 >>> from your Gambas version. You want the comparison to yield 0 or 1. >>> With the above line, you will see either the string "True" or "False" >>> printed to the terminal; you can make the output fancier. >>> >>> NOTE: gb.Natural makes the comparison by natural sort, which is >>> appropriate >>> to compare version numbers. Observe: >>> >>> $ gbx3 -e 'Comp("3.2", "3.10")' >>> 1 >>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>> -1 >>> >>> Because "2" comes before "1" in the alphabet, the default lexicographic >>> comparison mode declares the string "3.2" to be greater than "3.10", >>> but gb.Natural gets it right. >>> >>> Also never coerce the string version into a float for easier comparison >>> because you'll run into nasty bugs caused by float roundoff. >>> >>> Regards, >>> Tobi >>> >>> -- >>> "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 > From karl.reinl at fen-net.de Wed Dec 13 16:44:08 2017 From: karl.reinl at fen-net.de (Karl Reinl) Date: Wed, 13 Dec 2017 16:44:08 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> Message-ID: <1513179848.26015.7.camel@Scenic.local> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: > thats what i was thinking (works only if Gambas is installed) but wasn't > sure. > > I really would prefer NOT to force the end user to install Gambas but > only the v10 runtime files that are required to run the Gambas developed > software/ program. A terminal command to just check if the v10 runtime > files are installed is really what I was looking for;-) > > thanks to all that have taken to time to respond - > it's highly APPRECIATED! Have learned something from every post. > mikeB > > On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: > > the suggestin from tobias are the best for check a specific version string, > > due return a exact result, not an interpretative result > > > > good, but only works if gambas are installed, if not return "commando not > > found" > > > > > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen : > > > >> gbx3 -V > >> or > >> gbx3 --version > >> > >> Works also... > >> > >> > >> Jussi > >> > >> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege wrote: > >> > >>> On Tue, 12 Dec 2017, mikeB wrote: > >>>> On my web site, that I offer software programmed using Gambas, I have a > >>>> notice : > >>>> *********************************************************************** > >>>> VERY IMPORTANT: before installing this app you will need to install > >>> Gambas > >>>> Runtime v10 files - most systems will not have these very new files > >>>> installed yet. > >>>> > >>>> Do so via the terminal commands: > >>>> sudo add-apt-repository ppa:gambas-team/gambas3 > >>>> sudo apt-get update > >>>> *********************************************************************** > >>>> Now that Gambas runtime 10 files are more common - being install by the > >>>> Distro - is there a way for the user (terminal command) to check if > >>> they are > >>>> installed? > >>>> > >>>> This is a real newbie question I'm sure but hey.. I'm a newbie! > >>>> Thanks for any all help on this matter and have a GREAT day, > >>>> mikeB > >>>> > >>> > >>> First check if the interpreter gbx3 is found in PATH, using the "which" > >>> utility. If not, I wouldn't call Gambas properly installed (although > >>> some people might disagree -- it's their computer -- but then they will > >>> be able to figure their Gambas version out themselves). > >>> > >>> Once you have that, the System class has FullVersion which gives you the > >>> Gambas version as a string and you can compare it like this: > >>> > >>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' > >>> > >>> Comp will return the sign (-1, 0 or 1) of subtracting the version 3.10 > >>> from your Gambas version. You want the comparison to yield 0 or 1. > >>> With the above line, you will see either the string "True" or "False" > >>> printed to the terminal; you can make the output fancier. > >>> > >>> NOTE: gb.Natural makes the comparison by natural sort, which is > >>> appropriate > >>> to compare version numbers. Observe: > >>> > >>> $ gbx3 -e 'Comp("3.2", "3.10")' > >>> 1 > >>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' > >>> -1 > >>> > >>> Because "2" comes before "1" in the alphabet, the default lexicographic > >>> comparison mode declares the string "3.2" to be greater than "3.10", > >>> but gb.Natural gets it right. > >>> > >>> Also never coerce the string version into a float for easier comparison > >>> because you'll run into nasty bugs caused by float roundoff. > >>> > >>> Regards, > >>> Tobi > >>> > >>> -- > >>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk > >>> > >> Salut mikeB, reread what Tobi wrote: "which" is the magic command for that. -- Amicalement Charlie From mb at code-it.com Wed Dec 13 18:33:23 2017 From: mb at code-it.com (mikeB) Date: Wed, 13 Dec 2017 10:33:23 -0700 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <1513179848.26015.7.camel@Scenic.local> References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: OKAY then - I'll try that (what Tobi wrote). I just didn't really understand it but I will after hack'n at it for awhile;-) THANKS - we can put this subject to bed unless someone has something else, mikeB On 12/13/2017 08:44 AM, Karl Reinl wrote: > Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >> thats what i was thinking (works only if Gambas is installed) but wasn't >> sure. >> >> I really would prefer NOT to force the end user to install Gambas but >> only the v10 runtime files that are required to run the Gambas developed >> software/ program. A terminal command to just check if the v10 runtime >> files are installed is really what I was looking for;-) >> >> thanks to all that have taken to time to respond - >> it's highly APPRECIATED! Have learned something from every post. >> mikeB >> >> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>> the suggestin from tobias are the best for check a specific version string, >>> due return a exact result, not an interpretative result >>> >>> good, but only works if gambas are installed, if not return "commando not >>> found" >>> >>> >>> >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen : >>> >>>> gbx3 -V >>>> or >>>> gbx3 --version >>>> >>>> Works also... >>>> >>>> >>>> Jussi >>>> >>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege wrote: >>>> >>>>> On Tue, 12 Dec 2017, mikeB wrote: >>>>>> On my web site, that I offer software programmed using Gambas, I have a >>>>>> notice : >>>>>> *********************************************************************** >>>>>> VERY IMPORTANT: before installing this app you will need to install >>>>> Gambas >>>>>> Runtime v10 files - most systems will not have these very new files >>>>>> installed yet. >>>>>> >>>>>> Do so via the terminal commands: >>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>> sudo apt-get update >>>>>> *********************************************************************** >>>>>> Now that Gambas runtime 10 files are more common - being install by the >>>>>> Distro - is there a way for the user (terminal command) to check if >>>>> they are >>>>>> installed? >>>>>> >>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>>>>> Thanks for any all help on this matter and have a GREAT day, >>>>>> mikeB >>>>>> >>>>> >>>>> First check if the interpreter gbx3 is found in PATH, using the "which" >>>>> utility. If not, I wouldn't call Gambas properly installed (although >>>>> some people might disagree -- it's their computer -- but then they will >>>>> be able to figure their Gambas version out themselves). >>>>> >>>>> Once you have that, the System class has FullVersion which gives you the >>>>> Gambas version as a string and you can compare it like this: >>>>> >>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >>>>> >>>>> Comp will return the sign (-1, 0 or 1) of subtracting the version 3.10 >>>>> from your Gambas version. You want the comparison to yield 0 or 1. >>>>> With the above line, you will see either the string "True" or "False" >>>>> printed to the terminal; you can make the output fancier. >>>>> >>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >>>>> appropriate >>>>> to compare version numbers. Observe: >>>>> >>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >>>>> 1 >>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>>>> -1 >>>>> >>>>> Because "2" comes before "1" in the alphabet, the default lexicographic >>>>> comparison mode declares the string "3.2" to be greater than "3.10", >>>>> but gb.Natural gets it right. >>>>> >>>>> Also never coerce the string version into a float for easier comparison >>>>> because you'll run into nasty bugs caused by float roundoff. >>>>> >>>>> Regards, >>>>> Tobi >>>>> >>>>> -- >>>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >>>>> >>>> > > Salut mikeB, > > reread what Tobi wrote: "which" is the magic command for that. > From t.lee.davidson at gmail.com Wed Dec 13 19:02:08 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 13 Dec 2017 13:02:08 -0500 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: [shell-script] #!/bin/bash which gbx3 &>/dev/null if [ $? -ne 0 ]; then echo "Gambas runtime (gbx3) not found in path. Cannot continue." exit 1 # arbitrary exit code of your choice fi if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') == "False" ]]; then echo "So sorry." exit 2 # also an arbitrary exit code fi # Great, do Gambas stuff now [/shell-script] The line under the "which" statement basically says, "If the exit code from the 'which' command is not equal to zero, then..." Strangely on my system, this prints, "So sorry," even though my package manager says version 3.10.0 of gambas-runtime is installed. I have to assume that's an issue with the packager. -- Lee On 12/13/2017 12:33 PM, mikeB wrote: > OKAY then - I'll try that (what Tobi wrote). I just didn't really understand it but I will after hack'n at it for awhile;-) > THANKS - we can put this subject to bed unless someone has > something else, > mikeB > > > > On 12/13/2017 08:44 AM, Karl Reinl wrote: >> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >>> thats what i was thinking (works only if Gambas is installed) but wasn't >>> sure. >>> >>> I really would prefer NOT to force the end user to install Gambas but >>> only the v10 runtime files that are required to run the Gambas developed >>> software/ program. A terminal command to just check if the v10 runtime >>> files are installed is really what I was looking for;-) >>> >>> thanks to all that have taken to time to respond - >>> it's highly APPRECIATED! Have learned something from every post. >>> mikeB >>> >>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>>> the suggestin from tobias are the best for check a specific version string, >>>> due return a exact result, not an interpretative result >>>> >>>> good, but only works if gambas are installed, if not return "commando not >>>> found" >>>> >>>> >>>> >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> >>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen : >>>> >>>>> gbx3 -V >>>>> or >>>>> gbx3 --version >>>>> >>>>> Works also... >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege wrote: >>>>> >>>>>> On Tue, 12 Dec 2017, mikeB wrote: >>>>>>> On my web site, that I offer software programmed using Gambas, I have a >>>>>>> notice : >>>>>>> *********************************************************************** >>>>>>> VERY IMPORTANT: before installing this app you will need to install >>>>>> Gambas >>>>>>> Runtime? v10 files - most systems will not have these very new files >>>>>>> installed yet. >>>>>>> >>>>>>> Do so via the terminal commands: >>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>>> sudo apt-get update >>>>>>> *********************************************************************** >>>>>>> Now that Gambas runtime 10 files are more common - being install by the >>>>>>> Distro - is there a way for the user (terminal command) to check if >>>>>> they are >>>>>>> installed? >>>>>>> >>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>>>>>> Thanks for any all help on this matter and have a GREAT day, >>>>>>> mikeB >>>>>>> >>>>>> >>>>>> First check if the interpreter gbx3 is found in PATH, using the "which" >>>>>> utility. If not, I wouldn't call Gambas properly installed (although >>>>>> some people might disagree -- it's their computer -- but then they will >>>>>> be able to figure their Gambas version out themselves). >>>>>> >>>>>> Once you have that, the System class has FullVersion which gives you the >>>>>> Gambas version as a string and you can compare it like this: >>>>>> >>>>>> ??? $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >>>>>> >>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the version 3.10 >>>>>> from your Gambas version. You want the comparison to yield 0 or 1. >>>>>> With the above line, you will see either the string "True" or "False" >>>>>> printed to the terminal; you can make the output fancier. >>>>>> >>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >>>>>> appropriate >>>>>> to compare version numbers. Observe: >>>>>> >>>>>> ??? $ gbx3 -e 'Comp("3.2", "3.10")' >>>>>> ??? 1 >>>>>> ??? $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>>>>> ??? -1 >>>>>> >>>>>> Because "2" comes before "1" in the alphabet, the default lexicographic >>>>>> comparison mode declares the string "3.2" to be greater than "3.10", >>>>>> but gb.Natural gets it right. >>>>>> >>>>>> Also never coerce the string version into a float for easier comparison >>>>>> because you'll run into nasty bugs caused by float roundoff. >>>>>> >>>>>> Regards, >>>>>> Tobi >>>>>> >>>>>> -- >>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >>>>>> >>>>> >> >> Salut mikeB, >> >> reread what Tobi wrote: "which" is the magic command for that. >> > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net From jussi.lahtinen at gmail.com Wed Dec 13 19:25:45 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 13 Dec 2017 20:25:45 +0200 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: There is standard for exit codes. http://www.tldp.org/LDP/abs/html/exitcodes.html Jussi On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson wrote: > [shell-script] > #!/bin/bash > > which gbx3 &>/dev/null > if [ $? -ne 0 ]; then > echo "Gambas runtime (gbx3) not found in path. Cannot continue." > exit 1 # arbitrary exit code of your choice > fi > > if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') == > "False" ]]; then > echo "So sorry." > exit 2 # also an arbitrary exit code > fi > > # Great, do Gambas stuff now > [/shell-script] > > The line under the "which" statement basically says, "If the exit code > from the 'which' command is not equal to zero, then..." > > > Strangely on my system, this prints, "So sorry," even though my package > manager says version 3.10.0 of gambas-runtime is > installed. I have to assume that's an issue with the packager. > > > -- > Lee > > On 12/13/2017 12:33 PM, mikeB wrote: > > OKAY then - I'll try that (what Tobi wrote). I just didn't really > understand it but I will after hack'n at it for awhile;-) > > THANKS - we can put this subject to bed unless someone has > > something else, > > mikeB > > > > > > > > On 12/13/2017 08:44 AM, Karl Reinl wrote: > >> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: > >>> thats what i was thinking (works only if Gambas is installed) but > wasn't > >>> sure. > >>> > >>> I really would prefer NOT to force the end user to install Gambas but > >>> only the v10 runtime files that are required to run the Gambas > developed > >>> software/ program. A terminal command to just check if the v10 runtime > >>> files are installed is really what I was looking for;-) > >>> > >>> thanks to all that have taken to time to respond - > >>> it's highly APPRECIATED! Have learned something from every post. > >>> mikeB > >>> > >>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: > >>>> the suggestin from tobias are the best for check a specific version > string, > >>>> due return a exact result, not an interpretative result > >>>> > >>>> good, but only works if gambas are installed, if not return "commando > not > >>>> found" > >>>> > >>>> > >>>> > >>>> Lenz McKAY Gerardo (PICCORO) > >>>> http://qgqlochekone.blogspot.com > >>>> > >>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen : > >>>> > >>>>> gbx3 -V > >>>>> or > >>>>> gbx3 --version > >>>>> > >>>>> Works also... > >>>>> > >>>>> > >>>>> Jussi > >>>>> > >>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege > wrote: > >>>>> > >>>>>> On Tue, 12 Dec 2017, mikeB wrote: > >>>>>>> On my web site, that I offer software programmed using Gambas, I > have a > >>>>>>> notice : > >>>>>>> ************************************************************ > *********** > >>>>>>> VERY IMPORTANT: before installing this app you will need to install > >>>>>> Gambas > >>>>>>> Runtime v10 files - most systems will not have these very new > files > >>>>>>> installed yet. > >>>>>>> > >>>>>>> Do so via the terminal commands: > >>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 > >>>>>>> sudo apt-get update > >>>>>>> ************************************************************ > *********** > >>>>>>> Now that Gambas runtime 10 files are more common - being install > by the > >>>>>>> Distro - is there a way for the user (terminal command) to check if > >>>>>> they are > >>>>>>> installed? > >>>>>>> > >>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! > >>>>>>> Thanks for any all help on this matter and have a GREAT day, > >>>>>>> mikeB > >>>>>>> > >>>>>> > >>>>>> First check if the interpreter gbx3 is found in PATH, using the > "which" > >>>>>> utility. If not, I wouldn't call Gambas properly installed (although > >>>>>> some people might disagree -- it's their computer -- but then they > will > >>>>>> be able to figure their Gambas version out themselves). > >>>>>> > >>>>>> Once you have that, the System class has FullVersion which gives > you the > >>>>>> Gambas version as a string and you can compare it like this: > >>>>>> > >>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' > >>>>>> > >>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the version > 3.10 > >>>>>> from your Gambas version. You want the comparison to yield 0 or 1. > >>>>>> With the above line, you will see either the string "True" or > "False" > >>>>>> printed to the terminal; you can make the output fancier. > >>>>>> > >>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is > >>>>>> appropriate > >>>>>> to compare version numbers. Observe: > >>>>>> > >>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' > >>>>>> 1 > >>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' > >>>>>> -1 > >>>>>> > >>>>>> Because "2" comes before "1" in the alphabet, the default > lexicographic > >>>>>> comparison mode declares the string "3.2" to be greater than "3.10", > >>>>>> but gb.Natural gets it right. > >>>>>> > >>>>>> Also never coerce the string version into a float for easier > comparison > >>>>>> because you'll run into nasty bugs caused by float roundoff. > >>>>>> > >>>>>> Regards, > >>>>>> Tobi > >>>>>> > >>>>>> -- > >>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk > >>>>>> > >>>>> > >> > >> Salut mikeB, > >> > >> reread what Tobi wrote: "which" is the magic command for that. > >> > > > > -------------------------------------------------- > > > > 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: From jussi.lahtinen at gmail.com Wed Dec 13 19:41:20 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 13 Dec 2017 20:41:20 +0200 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: Message-ID: Why don't you let the package manager to worry about correct version? Jussi On Wed, Dec 13, 2017 at 5:16 AM, mikeB wrote: > On my web site, that I offer software programmed using Gambas, I have a > notice : > *********************************************************************** > VERY IMPORTANT: before installing this app you will need to install Gambas > Runtime v10 files - most systems will not have these very new files > installed yet. > > Do so via the terminal commands: > sudo add-apt-repository ppa:gambas-team/gambas3 > sudo apt-get update > *********************************************************************** > Now that Gambas runtime 10 files are more common - being install by the > Distro - is there a way for the user (terminal command) to check if they > are installed? > > This is a real newbie question I'm sure but hey.. I'm a newbie! > Thanks for any all help on this matter and have a GREAT day, > mikeB > > -------------------------------------------------- > > 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: From bagonergi at gmail.com Wed Dec 13 19:58:58 2017 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 13 Dec 2017 19:58:58 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: Sorry maybe I'm wrong, but I know this: >sudo add-apt-repository ppa:gambas-team/gambas3 >sudo apt-get update It does not install the runtime but only the libraries and therefore what we are saying here is useless. Regards Gianluigi 2017-12-13 19:25 GMT+01:00 Jussi Lahtinen : > There is standard for exit codes. > http://www.tldp.org/LDP/abs/html/exitcodes.html > > > Jussi > > On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson > wrote: > >> [shell-script] >> #!/bin/bash >> >> which gbx3 &>/dev/null >> if [ $? -ne 0 ]; then >> echo "Gambas runtime (gbx3) not found in path. Cannot continue." >> exit 1 # arbitrary exit code of your choice >> fi >> >> if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') == >> "False" ]]; then >> echo "So sorry." >> exit 2 # also an arbitrary exit code >> fi >> >> # Great, do Gambas stuff now >> [/shell-script] >> >> The line under the "which" statement basically says, "If the exit code >> from the 'which' command is not equal to zero, then..." >> >> >> Strangely on my system, this prints, "So sorry," even though my package >> manager says version 3.10.0 of gambas-runtime is >> installed. I have to assume that's an issue with the packager. >> >> >> -- >> Lee >> >> On 12/13/2017 12:33 PM, mikeB wrote: >> > OKAY then - I'll try that (what Tobi wrote). I just didn't really >> understand it but I will after hack'n at it for awhile;-) >> > THANKS - we can put this subject to bed unless someone has >> > something else, >> > mikeB >> > >> > >> > >> > On 12/13/2017 08:44 AM, Karl Reinl wrote: >> >> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >> >>> thats what i was thinking (works only if Gambas is installed) but >> wasn't >> >>> sure. >> >>> >> >>> I really would prefer NOT to force the end user to install Gambas but >> >>> only the v10 runtime files that are required to run the Gambas >> developed >> >>> software/ program. A terminal command to just check if the v10 runtime >> >>> files are installed is really what I was looking for;-) >> >>> >> >>> thanks to all that have taken to time to respond - >> >>> it's highly APPRECIATED! Have learned something from every post. >> >>> mikeB >> >>> >> >>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >> >>>> the suggestin from tobias are the best for check a specific version >> string, >> >>>> due return a exact result, not an interpretative result >> >>>> >> >>>> good, but only works if gambas are installed, if not return >> "commando not >> >>>> found" >> >>>> >> >>>> >> >>>> >> >>>> Lenz McKAY Gerardo (PICCORO) >> >>>> http://qgqlochekone.blogspot.com >> >>>> >> >>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen : >> >>>> >> >>>>> gbx3 -V >> >>>>> or >> >>>>> gbx3 --version >> >>>>> >> >>>>> Works also... >> >>>>> >> >>>>> >> >>>>> Jussi >> >>>>> >> >>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege >> wrote: >> >>>>> >> >>>>>> On Tue, 12 Dec 2017, mikeB wrote: >> >>>>>>> On my web site, that I offer software programmed using Gambas, I >> have a >> >>>>>>> notice : >> >>>>>>> ************************************************************ >> *********** >> >>>>>>> VERY IMPORTANT: before installing this app you will need to >> install >> >>>>>> Gambas >> >>>>>>> Runtime v10 files - most systems will not have these very new >> files >> >>>>>>> installed yet. >> >>>>>>> >> >>>>>>> Do so via the terminal commands: >> >>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >> >>>>>>> sudo apt-get update >> >>>>>>> ************************************************************ >> *********** >> >>>>>>> Now that Gambas runtime 10 files are more common - being install >> by the >> >>>>>>> Distro - is there a way for the user (terminal command) to check >> if >> >>>>>> they are >> >>>>>>> installed? >> >>>>>>> >> >>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >> >>>>>>> Thanks for any all help on this matter and have a GREAT day, >> >>>>>>> mikeB >> >>>>>>> >> >>>>>> >> >>>>>> First check if the interpreter gbx3 is found in PATH, using the >> "which" >> >>>>>> utility. If not, I wouldn't call Gambas properly installed >> (although >> >>>>>> some people might disagree -- it's their computer -- but then they >> will >> >>>>>> be able to figure their Gambas version out themselves). >> >>>>>> >> >>>>>> Once you have that, the System class has FullVersion which gives >> you the >> >>>>>> Gambas version as a string and you can compare it like this: >> >>>>>> >> >>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >> >>>>>> >> >>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the version >> 3.10 >> >>>>>> from your Gambas version. You want the comparison to yield 0 or 1. >> >>>>>> With the above line, you will see either the string "True" or >> "False" >> >>>>>> printed to the terminal; you can make the output fancier. >> >>>>>> >> >>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >> >>>>>> appropriate >> >>>>>> to compare version numbers. Observe: >> >>>>>> >> >>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >> >>>>>> 1 >> >>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >> >>>>>> -1 >> >>>>>> >> >>>>>> Because "2" comes before "1" in the alphabet, the default >> lexicographic >> >>>>>> comparison mode declares the string "3.2" to be greater than >> "3.10", >> >>>>>> but gb.Natural gets it right. >> >>>>>> >> >>>>>> Also never coerce the string version into a float for easier >> comparison >> >>>>>> because you'll run into nasty bugs caused by float roundoff. >> >>>>>> >> >>>>>> Regards, >> >>>>>> Tobi >> >>>>>> >> >>>>>> -- >> >>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >>>>>> >> >>>>> >> >> >> >> Salut mikeB, >> >> >> >> reread what Tobi wrote: "which" is the magic command for that. >> >> >> > >> > -------------------------------------------------- >> > >> > 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: From jussi.lahtinen at gmail.com Wed Dec 13 20:25:40 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 13 Dec 2017 21:25:40 +0200 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: That does not install anything. It just adds the repo and updates. Jussi On Wed, Dec 13, 2017 at 8:58 PM, Gianluigi wrote: > Sorry maybe I'm wrong, but I know this: > >sudo add-apt-repository ppa:gambas-team/gambas3 > >sudo apt-get update > It does not install the runtime but only the libraries and therefore what > we are saying here is useless. > > Regards > Gianluigi > > 2017-12-13 19:25 GMT+01:00 Jussi Lahtinen : > >> There is standard for exit codes. >> http://www.tldp.org/LDP/abs/html/exitcodes.html >> >> >> Jussi >> >> On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson > > wrote: >> >>> [shell-script] >>> #!/bin/bash >>> >>> which gbx3 &>/dev/null >>> if [ $? -ne 0 ]; then >>> echo "Gambas runtime (gbx3) not found in path. Cannot continue." >>> exit 1 # arbitrary exit code of your choice >>> fi >>> >>> if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') == >>> "False" ]]; then >>> echo "So sorry." >>> exit 2 # also an arbitrary exit code >>> fi >>> >>> # Great, do Gambas stuff now >>> [/shell-script] >>> >>> The line under the "which" statement basically says, "If the exit code >>> from the 'which' command is not equal to zero, then..." >>> >>> >>> Strangely on my system, this prints, "So sorry," even though my package >>> manager says version 3.10.0 of gambas-runtime is >>> installed. I have to assume that's an issue with the packager. >>> >>> >>> -- >>> Lee >>> >>> On 12/13/2017 12:33 PM, mikeB wrote: >>> > OKAY then - I'll try that (what Tobi wrote). I just didn't really >>> understand it but I will after hack'n at it for awhile;-) >>> > THANKS - we can put this subject to bed unless someone has >>> > something else, >>> > mikeB >>> > >>> > >>> > >>> > On 12/13/2017 08:44 AM, Karl Reinl wrote: >>> >> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >>> >>> thats what i was thinking (works only if Gambas is installed) but >>> wasn't >>> >>> sure. >>> >>> >>> >>> I really would prefer NOT to force the end user to install Gambas but >>> >>> only the v10 runtime files that are required to run the Gambas >>> developed >>> >>> software/ program. A terminal command to just check if the v10 >>> runtime >>> >>> files are installed is really what I was looking for;-) >>> >>> >>> >>> thanks to all that have taken to time to respond - >>> >>> it's highly APPRECIATED! Have learned something from every post. >>> >>> mikeB >>> >>> >>> >>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>> >>>> the suggestin from tobias are the best for check a specific version >>> string, >>> >>>> due return a exact result, not an interpretative result >>> >>>> >>> >>>> good, but only works if gambas are installed, if not return >>> "commando not >>> >>>> found" >>> >>>> >>> >>>> >>> >>>> >>> >>>> Lenz McKAY Gerardo (PICCORO) >>> >>>> http://qgqlochekone.blogspot.com >>> >>>> >>> >>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen >> >: >>> >>>> >>> >>>>> gbx3 -V >>> >>>>> or >>> >>>>> gbx3 --version >>> >>>>> >>> >>>>> Works also... >>> >>>>> >>> >>>>> >>> >>>>> Jussi >>> >>>>> >>> >>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege >>> wrote: >>> >>>>> >>> >>>>>> On Tue, 12 Dec 2017, mikeB wrote: >>> >>>>>>> On my web site, that I offer software programmed using Gambas, I >>> have a >>> >>>>>>> notice : >>> >>>>>>> ************************************************************ >>> *********** >>> >>>>>>> VERY IMPORTANT: before installing this app you will need to >>> install >>> >>>>>> Gambas >>> >>>>>>> Runtime v10 files - most systems will not have these very new >>> files >>> >>>>>>> installed yet. >>> >>>>>>> >>> >>>>>>> Do so via the terminal commands: >>> >>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>> >>>>>>> sudo apt-get update >>> >>>>>>> ************************************************************ >>> *********** >>> >>>>>>> Now that Gambas runtime 10 files are more common - being install >>> by the >>> >>>>>>> Distro - is there a way for the user (terminal command) to check >>> if >>> >>>>>> they are >>> >>>>>>> installed? >>> >>>>>>> >>> >>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>> >>>>>>> Thanks for any all help on this matter and have a GREAT day, >>> >>>>>>> mikeB >>> >>>>>>> >>> >>>>>> >>> >>>>>> First check if the interpreter gbx3 is found in PATH, using the >>> "which" >>> >>>>>> utility. If not, I wouldn't call Gambas properly installed >>> (although >>> >>>>>> some people might disagree -- it's their computer -- but then >>> they will >>> >>>>>> be able to figure their Gambas version out themselves). >>> >>>>>> >>> >>>>>> Once you have that, the System class has FullVersion which gives >>> you the >>> >>>>>> Gambas version as a string and you can compare it like this: >>> >>>>>> >>> >>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >>> >>>>>> >>> >>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the version >>> 3.10 >>> >>>>>> from your Gambas version. You want the comparison to yield 0 or 1. >>> >>>>>> With the above line, you will see either the string "True" or >>> "False" >>> >>>>>> printed to the terminal; you can make the output fancier. >>> >>>>>> >>> >>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >>> >>>>>> appropriate >>> >>>>>> to compare version numbers. Observe: >>> >>>>>> >>> >>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >>> >>>>>> 1 >>> >>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>> >>>>>> -1 >>> >>>>>> >>> >>>>>> Because "2" comes before "1" in the alphabet, the default >>> lexicographic >>> >>>>>> comparison mode declares the string "3.2" to be greater than >>> "3.10", >>> >>>>>> but gb.Natural gets it right. >>> >>>>>> >>> >>>>>> Also never coerce the string version into a float for easier >>> comparison >>> >>>>>> because you'll run into nasty bugs caused by float roundoff. >>> >>>>>> >>> >>>>>> Regards, >>> >>>>>> Tobi >>> >>>>>> >>> >>>>>> -- >>> >>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. >>> Monk >>> >>>>>> >>> >>>>> >>> >> >>> >> Salut mikeB, >>> >> >>> >> reread what Tobi wrote: "which" is the magic command for that. >>> >> >>> > >>> > -------------------------------------------------- >>> > >>> > 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: From t.lee.davidson at gmail.com Wed Dec 13 20:37:09 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 13 Dec 2017 14:37:09 -0500 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: Yes, but they _can_ be arbitrary for one's own scripts/programs. I've used arbitrary exit codes to debug execve system calls to my own programs. For published code, the standard should certainly be followed. On 12/13/2017 01:25 PM, Jussi Lahtinen wrote: > There is standard for exit codes. > http://www.tldp.org/LDP/abs/html/exitcodes.html > > > Jussi > > On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson > wrote: > > [shell-script] > #!/bin/bash > > which gbx3 &>/dev/null > if [ $? -ne 0 ]; then > ? ? echo "Gambas runtime (gbx3) not found in path. Cannot continue." > ? ? exit 1 # arbitrary exit code of your choice > fi > > if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') == "False" ]]; then > ? ? echo "So sorry." > ? ? exit 2 # also an arbitrary exit code > fi > > # Great, do Gambas stuff now > [/shell-script] > > The line under the "which" statement basically says, "If the exit code from the 'which' command is not equal to zero, then..." > > > Strangely on my system, this prints, "So sorry," even though my package manager says version 3.10.0 of gambas-runtime is > installed. I have to assume that's an issue with the packager. > > > -- > Lee > -- Lee From jussi.lahtinen at gmail.com Wed Dec 13 22:06:51 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 13 Dec 2017 23:06:51 +0200 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: Yes, I agree. Jussi On Wed, Dec 13, 2017 at 9:37 PM, T Lee Davidson wrote: > Yes, but they _can_ be arbitrary for one's own scripts/programs. I've used > arbitrary exit codes to debug execve system calls to > my own programs. For published code, the standard should certainly be > followed. > > > On 12/13/2017 01:25 PM, Jussi Lahtinen wrote: > > There is standard for exit codes. > > http://www.tldp.org/LDP/abs/html/exitcodes.html > > > > > > Jussi > > > > On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson < > t.lee.davidson at gmail.com > wrote: > > > > [shell-script] > > #!/bin/bash > > > > which gbx3 &>/dev/null > > if [ $? -ne 0 ]; then > > echo "Gambas runtime (gbx3) not found in path. Cannot continue." > > exit 1 # arbitrary exit code of your choice > > fi > > > > if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') > == "False" ]]; then > > echo "So sorry." > > exit 2 # also an arbitrary exit code > > fi > > > > # Great, do Gambas stuff now > > [/shell-script] > > > > The line under the "which" statement basically says, "If the exit > code from the 'which' command is not equal to zero, then..." > > > > > > Strangely on my system, this prints, "So sorry," even though my > package manager says version 3.10.0 of gambas-runtime is > > installed. I have to assume that's an issue with the packager. > > > > > > -- > > Lee > > > > -- > Lee > > -------------------------------------------------- > > 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: From bagonergi at gmail.com Wed Dec 13 22:22:51 2017 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 13 Dec 2017 22:22:51 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: Right, not only the runtime is not installed, nothing is installed. Regards Gianluigi 2017-12-13 20:25 GMT+01:00 Jussi Lahtinen : > That does not install anything. It just adds the repo and updates. > > > Jussi > > On Wed, Dec 13, 2017 at 8:58 PM, Gianluigi wrote: > >> Sorry maybe I'm wrong, but I know this: >> >sudo add-apt-repository ppa:gambas-team/gambas3 >> >sudo apt-get update >> It does not install the runtime but only the libraries and therefore what >> we are saying here is useless. >> >> Regards >> Gianluigi >> >> 2017-12-13 19:25 GMT+01:00 Jussi Lahtinen : >> >>> There is standard for exit codes. >>> http://www.tldp.org/LDP/abs/html/exitcodes.html >>> >>> >>> Jussi >>> >>> On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson < >>> t.lee.davidson at gmail.com> wrote: >>> >>>> [shell-script] >>>> #!/bin/bash >>>> >>>> which gbx3 &>/dev/null >>>> if [ $? -ne 0 ]; then >>>> echo "Gambas runtime (gbx3) not found in path. Cannot continue." >>>> exit 1 # arbitrary exit code of your choice >>>> fi >>>> >>>> if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') == >>>> "False" ]]; then >>>> echo "So sorry." >>>> exit 2 # also an arbitrary exit code >>>> fi >>>> >>>> # Great, do Gambas stuff now >>>> [/shell-script] >>>> >>>> The line under the "which" statement basically says, "If the exit code >>>> from the 'which' command is not equal to zero, then..." >>>> >>>> >>>> Strangely on my system, this prints, "So sorry," even though my package >>>> manager says version 3.10.0 of gambas-runtime is >>>> installed. I have to assume that's an issue with the packager. >>>> >>>> >>>> -- >>>> Lee >>>> >>>> On 12/13/2017 12:33 PM, mikeB wrote: >>>> > OKAY then - I'll try that (what Tobi wrote). I just didn't really >>>> understand it but I will after hack'n at it for awhile;-) >>>> > THANKS - we can put this subject to bed unless someone has >>>> > something else, >>>> > mikeB >>>> > >>>> > >>>> > >>>> > On 12/13/2017 08:44 AM, Karl Reinl wrote: >>>> >> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >>>> >>> thats what i was thinking (works only if Gambas is installed) but >>>> wasn't >>>> >>> sure. >>>> >>> >>>> >>> I really would prefer NOT to force the end user to install Gambas >>>> but >>>> >>> only the v10 runtime files that are required to run the Gambas >>>> developed >>>> >>> software/ program. A terminal command to just check if the v10 >>>> runtime >>>> >>> files are installed is really what I was looking for;-) >>>> >>> >>>> >>> thanks to all that have taken to time to respond - >>>> >>> it's highly APPRECIATED! Have learned something from every post. >>>> >>> mikeB >>>> >>> >>>> >>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>>> >>>> the suggestin from tobias are the best for check a specific >>>> version string, >>>> >>>> due return a exact result, not an interpretative result >>>> >>>> >>>> >>>> good, but only works if gambas are installed, if not return >>>> "commando not >>>> >>>> found" >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Lenz McKAY Gerardo (PICCORO) >>>> >>>> http://qgqlochekone.blogspot.com >>>> >>>> >>>> >>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen >>> >: >>>> >>>> >>>> >>>>> gbx3 -V >>>> >>>>> or >>>> >>>>> gbx3 --version >>>> >>>>> >>>> >>>>> Works also... >>>> >>>>> >>>> >>>>> >>>> >>>>> Jussi >>>> >>>>> >>>> >>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege >>>> wrote: >>>> >>>>> >>>> >>>>>> On Tue, 12 Dec 2017, mikeB wrote: >>>> >>>>>>> On my web site, that I offer software programmed using Gambas, >>>> I have a >>>> >>>>>>> notice : >>>> >>>>>>> ************************************************************ >>>> *********** >>>> >>>>>>> VERY IMPORTANT: before installing this app you will need to >>>> install >>>> >>>>>> Gambas >>>> >>>>>>> Runtime v10 files - most systems will not have these very new >>>> files >>>> >>>>>>> installed yet. >>>> >>>>>>> >>>> >>>>>>> Do so via the terminal commands: >>>> >>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>> >>>>>>> sudo apt-get update >>>> >>>>>>> ************************************************************ >>>> *********** >>>> >>>>>>> Now that Gambas runtime 10 files are more common - being >>>> install by the >>>> >>>>>>> Distro - is there a way for the user (terminal command) to >>>> check if >>>> >>>>>> they are >>>> >>>>>>> installed? >>>> >>>>>>> >>>> >>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>>> >>>>>>> Thanks for any all help on this matter and have a GREAT day, >>>> >>>>>>> mikeB >>>> >>>>>>> >>>> >>>>>> >>>> >>>>>> First check if the interpreter gbx3 is found in PATH, using the >>>> "which" >>>> >>>>>> utility. If not, I wouldn't call Gambas properly installed >>>> (although >>>> >>>>>> some people might disagree -- it's their computer -- but then >>>> they will >>>> >>>>>> be able to figure their Gambas version out themselves). >>>> >>>>>> >>>> >>>>>> Once you have that, the System class has FullVersion which gives >>>> you the >>>> >>>>>> Gambas version as a string and you can compare it like this: >>>> >>>>>> >>>> >>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >>>> >>>>>> >>>> >>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the >>>> version 3.10 >>>> >>>>>> from your Gambas version. You want the comparison to yield 0 or >>>> 1. >>>> >>>>>> With the above line, you will see either the string "True" or >>>> "False" >>>> >>>>>> printed to the terminal; you can make the output fancier. >>>> >>>>>> >>>> >>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >>>> >>>>>> appropriate >>>> >>>>>> to compare version numbers. Observe: >>>> >>>>>> >>>> >>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >>>> >>>>>> 1 >>>> >>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>>> >>>>>> -1 >>>> >>>>>> >>>> >>>>>> Because "2" comes before "1" in the alphabet, the default >>>> lexicographic >>>> >>>>>> comparison mode declares the string "3.2" to be greater than >>>> "3.10", >>>> >>>>>> but gb.Natural gets it right. >>>> >>>>>> >>>> >>>>>> Also never coerce the string version into a float for easier >>>> comparison >>>> >>>>>> because you'll run into nasty bugs caused by float roundoff. >>>> >>>>>> >>>> >>>>>> Regards, >>>> >>>>>> Tobi >>>> >>>>>> >>>> >>>>>> -- >>>> >>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. >>>> Monk >>>> >>>>>> >>>> >>>>> >>>> >> >>>> >> Salut mikeB, >>>> >> >>>> >> reread what Tobi wrote: "which" is the magic command for that. >>>> >> >>>> > >>>> > -------------------------------------------------- >>>> > >>>> > 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: From mb at code-it.com Thu Dec 14 18:18:43 2017 From: mb at code-it.com (mikeB) Date: Thu, 14 Dec 2017 10:18:43 -0700 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: 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 On 12/13/2017 02:22 PM, Gianluigi wrote: > Right, not only the runtime is not installed, nothing is installed. > > Regards > Gianluigi > > 2017-12-13 20:25 GMT+01:00 Jussi Lahtinen : > >> That does not install anything. It just adds the repo and updates. >> >> >> Jussi >> >> On Wed, Dec 13, 2017 at 8:58 PM, Gianluigi wrote: >> >>> Sorry maybe I'm wrong, but I know this: >>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>> sudo apt-get update >>> It does not install the runtime but only the libraries and therefore what >>> we are saying here is useless. >>> >>> Regards >>> Gianluigi >>> >>> 2017-12-13 19:25 GMT+01:00 Jussi Lahtinen : >>> >>>> There is standard for exit codes. >>>> http://www.tldp.org/LDP/abs/html/exitcodes.html >>>> >>>> >>>> Jussi >>>> >>>> On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson < >>>> t.lee.davidson at gmail.com> wrote: >>>> >>>>> [shell-script] >>>>> #!/bin/bash >>>>> >>>>> which gbx3 &>/dev/null >>>>> if [ $? -ne 0 ]; then >>>>> echo "Gambas runtime (gbx3) not found in path. Cannot continue." >>>>> exit 1 # arbitrary exit code of your choice >>>>> fi >>>>> >>>>> if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') == >>>>> "False" ]]; then >>>>> echo "So sorry." >>>>> exit 2 # also an arbitrary exit code >>>>> fi >>>>> >>>>> # Great, do Gambas stuff now >>>>> [/shell-script] >>>>> >>>>> The line under the "which" statement basically says, "If the exit code >>>>> from the 'which' command is not equal to zero, then..." >>>>> >>>>> >>>>> Strangely on my system, this prints, "So sorry," even though my package >>>>> manager says version 3.10.0 of gambas-runtime is >>>>> installed. I have to assume that's an issue with the packager. >>>>> >>>>> >>>>> -- >>>>> Lee >>>>> >>>>> On 12/13/2017 12:33 PM, mikeB wrote: >>>>>> OKAY then - I'll try that (what Tobi wrote). I just didn't really >>>>> understand it but I will after hack'n at it for awhile;-) >>>>>> THANKS - we can put this subject to bed unless someone has >>>>>> something else, >>>>>> mikeB >>>>>> >>>>>> >>>>>> >>>>>> On 12/13/2017 08:44 AM, Karl Reinl wrote: >>>>>>> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >>>>>>>> thats what i was thinking (works only if Gambas is installed) but >>>>> wasn't >>>>>>>> sure. >>>>>>>> >>>>>>>> I really would prefer NOT to force the end user to install Gambas >>>>> but >>>>>>>> only the v10 runtime files that are required to run the Gambas >>>>> developed >>>>>>>> software/ program. A terminal command to just check if the v10 >>>>> runtime >>>>>>>> files are installed is really what I was looking for;-) >>>>>>>> >>>>>>>> thanks to all that have taken to time to respond - >>>>>>>> it's highly APPRECIATED! Have learned something from every post. >>>>>>>> mikeB >>>>>>>> >>>>>>>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>>>>>>>> the suggestin from tobias are the best for check a specific >>>>> version string, >>>>>>>>> due return a exact result, not an interpretative result >>>>>>>>> >>>>>>>>> good, but only works if gambas are installed, if not return >>>>> "commando not >>>>>>>>> found" >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>> >>>>>>>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen >>>>> : >>>>>>>>> >>>>>>>>>> gbx3 -V >>>>>>>>>> or >>>>>>>>>> gbx3 --version >>>>>>>>>> >>>>>>>>>> Works also... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Jussi >>>>>>>>>> >>>>>>>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege >>>>> wrote: >>>>>>>>>> >>>>>>>>>>> On Tue, 12 Dec 2017, mikeB wrote: >>>>>>>>>>>> On my web site, that I offer software programmed using Gambas, >>>>> I have a >>>>>>>>>>>> notice : >>>>>>>>>>>> ************************************************************ >>>>> *********** >>>>>>>>>>>> VERY IMPORTANT: before installing this app you will need to >>>>> install >>>>>>>>>>> Gambas >>>>>>>>>>>> Runtime v10 files - most systems will not have these very new >>>>> files >>>>>>>>>>>> installed yet. >>>>>>>>>>>> >>>>>>>>>>>> Do so via the terminal commands: >>>>>>>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>>>>>>>> sudo apt-get update >>>>>>>>>>>> ************************************************************ >>>>> *********** >>>>>>>>>>>> Now that Gambas runtime 10 files are more common - being >>>>> install by the >>>>>>>>>>>> Distro - is there a way for the user (terminal command) to >>>>> check if >>>>>>>>>>> they are >>>>>>>>>>>> installed? >>>>>>>>>>>> >>>>>>>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>>>>>>>>>>> Thanks for any all help on this matter and have a GREAT day, >>>>>>>>>>>> mikeB >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> First check if the interpreter gbx3 is found in PATH, using the >>>>> "which" >>>>>>>>>>> utility. If not, I wouldn't call Gambas properly installed >>>>> (although >>>>>>>>>>> some people might disagree -- it's their computer -- but then >>>>> they will >>>>>>>>>>> be able to figure their Gambas version out themselves). >>>>>>>>>>> >>>>>>>>>>> Once you have that, the System class has FullVersion which gives >>>>> you the >>>>>>>>>>> Gambas version as a string and you can compare it like this: >>>>>>>>>>> >>>>>>>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >>>>>>>>>>> >>>>>>>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the >>>>> version 3.10 >>>>>>>>>>> from your Gambas version. You want the comparison to yield 0 or >>>>> 1. >>>>>>>>>>> With the above line, you will see either the string "True" or >>>>> "False" >>>>>>>>>>> printed to the terminal; you can make the output fancier. >>>>>>>>>>> >>>>>>>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >>>>>>>>>>> appropriate >>>>>>>>>>> to compare version numbers. Observe: >>>>>>>>>>> >>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >>>>>>>>>>> 1 >>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>>>>>>>>>> -1 >>>>>>>>>>> >>>>>>>>>>> Because "2" comes before "1" in the alphabet, the default >>>>> lexicographic >>>>>>>>>>> comparison mode declares the string "3.2" to be greater than >>>>> "3.10", >>>>>>>>>>> but gb.Natural gets it right. >>>>>>>>>>> >>>>>>>>>>> Also never coerce the string version into a float for easier >>>>> comparison >>>>>>>>>>> because you'll run into nasty bugs caused by float roundoff. >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> Tobi >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. >>>>> Monk >>>>>>>>>>> >>>>>>>>>> >>>>>>> >>>>>>> Salut mikeB, >>>>>>> >>>>>>> reread what Tobi wrote: "which" is the magic command for that. >>>>>>> >>>>>> >>>>>> -------------------------------------------------- >>>>>> >>>>>> 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 > From bagonergi at gmail.com Thu Dec 14 19:19:33 2017 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 14 Dec 2017 19:19:33 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: If you are referring only to the Ubuntu world and derivatives, the easiest thing for you and your customers (Windows way) is to make them install stable Gambas3 from PPA and provide the executable of your program. Taking advantage of the tricks of Tobias and making him eliminate the current Gambas installed if of a lower version of the program. Regards Gianluigi 2017-12-14 18:18 GMT+01:00 mikeB : > 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 > > > On 12/13/2017 02:22 PM, Gianluigi wrote: > >> Right, not only the runtime is not installed, nothing is installed. >> >> Regards >> Gianluigi >> >> 2017-12-13 20:25 GMT+01:00 Jussi Lahtinen : >> >> That does not install anything. It just adds the repo and updates. >>> >>> >>> Jussi >>> >>> On Wed, Dec 13, 2017 at 8:58 PM, Gianluigi wrote: >>> >>> Sorry maybe I'm wrong, but I know this: >>>> >>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>> sudo apt-get update >>>>> >>>> It does not install the runtime but only the libraries and therefore >>>> what >>>> we are saying here is useless. >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2017-12-13 19:25 GMT+01:00 Jussi Lahtinen : >>>> >>>> There is standard for exit codes. >>>>> http://www.tldp.org/LDP/abs/html/exitcodes.html >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson < >>>>> t.lee.davidson at gmail.com> wrote: >>>>> >>>>> [shell-script] >>>>>> #!/bin/bash >>>>>> >>>>>> which gbx3 &>/dev/null >>>>>> if [ $? -ne 0 ]; then >>>>>> echo "Gambas runtime (gbx3) not found in path. Cannot continue." >>>>>> exit 1 # arbitrary exit code of your choice >>>>>> fi >>>>>> >>>>>> if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') >>>>>> == >>>>>> "False" ]]; then >>>>>> echo "So sorry." >>>>>> exit 2 # also an arbitrary exit code >>>>>> fi >>>>>> >>>>>> # Great, do Gambas stuff now >>>>>> [/shell-script] >>>>>> >>>>>> The line under the "which" statement basically says, "If the exit code >>>>>> from the 'which' command is not equal to zero, then..." >>>>>> >>>>>> >>>>>> Strangely on my system, this prints, "So sorry," even though my >>>>>> package >>>>>> manager says version 3.10.0 of gambas-runtime is >>>>>> installed. I have to assume that's an issue with the packager. >>>>>> >>>>>> >>>>>> -- >>>>>> Lee >>>>>> >>>>>> On 12/13/2017 12:33 PM, mikeB wrote: >>>>>> >>>>>>> OKAY then - I'll try that (what Tobi wrote). I just didn't really >>>>>>> >>>>>> understand it but I will after hack'n at it for awhile;-) >>>>>> >>>>>>> THANKS - we can put this subject to bed unless someone has >>>>>>> something else, >>>>>>> mikeB >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 12/13/2017 08:44 AM, Karl Reinl wrote: >>>>>>> >>>>>>>> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >>>>>>>> >>>>>>>>> thats what i was thinking (works only if Gambas is installed) but >>>>>>>>> >>>>>>>> wasn't >>>>>> >>>>>>> sure. >>>>>>>>> >>>>>>>>> I really would prefer NOT to force the end user to install Gambas >>>>>>>>> >>>>>>>> but >>>>>> >>>>>>> only the v10 runtime files that are required to run the Gambas >>>>>>>>> >>>>>>>> developed >>>>>> >>>>>>> software/ program. A terminal command to just check if the v10 >>>>>>>>> >>>>>>>> runtime >>>>>> >>>>>>> files are installed is really what I was looking for;-) >>>>>>>>> >>>>>>>>> thanks to all that have taken to time to respond - >>>>>>>>> it's highly APPRECIATED! Have learned something from every post. >>>>>>>>> mikeB >>>>>>>>> >>>>>>>>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>>>>>>>> >>>>>>>>>> the suggestin from tobias are the best for check a specific >>>>>>>>>> >>>>>>>>> version string, >>>>>> >>>>>>> due return a exact result, not an interpretative result >>>>>>>>>> >>>>>>>>>> good, but only works if gambas are installed, if not return >>>>>>>>>> >>>>>>>>> "commando not >>>>>> >>>>>>> found" >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>> >>>>>>>>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen < >>>>>>>>>> jussi.lahtinen at gmail.com >>>>>>>>>> >>>>>>>>> : >>>>>>> >>>>>>>> >>>>>>>>>> gbx3 -V >>>>>>>>>>> or >>>>>>>>>>> gbx3 --version >>>>>>>>>>> >>>>>>>>>>> Works also... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Jussi >>>>>>>>>>> >>>>>>>>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege >>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>> wrote: >>>>>> >>>>>>> >>>>>>>>>>> On Tue, 12 Dec 2017, mikeB wrote: >>>>>>>>>>>> >>>>>>>>>>>>> On my web site, that I offer software programmed using Gambas, >>>>>>>>>>>>> >>>>>>>>>>>> I have a >>>>>> >>>>>>> notice : >>>>>>>>>>>>> ************************************************************ >>>>>>>>>>>>> >>>>>>>>>>>> *********** >>>>>> >>>>>>> VERY IMPORTANT: before installing this app you will need to >>>>>>>>>>>>> >>>>>>>>>>>> install >>>>>> >>>>>>> Gambas >>>>>>>>>>>> >>>>>>>>>>>>> Runtime v10 files - most systems will not have these very new >>>>>>>>>>>>> >>>>>>>>>>>> files >>>>>> >>>>>>> installed yet. >>>>>>>>>>>>> >>>>>>>>>>>>> Do so via the terminal commands: >>>>>>>>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>>>>>>>>> sudo apt-get update >>>>>>>>>>>>> ************************************************************ >>>>>>>>>>>>> >>>>>>>>>>>> *********** >>>>>> >>>>>>> Now that Gambas runtime 10 files are more common - being >>>>>>>>>>>>> >>>>>>>>>>>> install by the >>>>>> >>>>>>> Distro - is there a way for the user (terminal command) to >>>>>>>>>>>>> >>>>>>>>>>>> check if >>>>>> >>>>>>> they are >>>>>>>>>>>> >>>>>>>>>>>>> installed? >>>>>>>>>>>>> >>>>>>>>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>>>>>>>>>>>> Thanks for any all help on this matter and have a GREAT day, >>>>>>>>>>>>> mikeB >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> First check if the interpreter gbx3 is found in PATH, using the >>>>>>>>>>>> >>>>>>>>>>> "which" >>>>>> >>>>>>> utility. If not, I wouldn't call Gambas properly installed >>>>>>>>>>>> >>>>>>>>>>> (although >>>>>> >>>>>>> some people might disagree -- it's their computer -- but then >>>>>>>>>>>> >>>>>>>>>>> they will >>>>>> >>>>>>> be able to figure their Gambas version out themselves). >>>>>>>>>>>> >>>>>>>>>>>> Once you have that, the System class has FullVersion which gives >>>>>>>>>>>> >>>>>>>>>>> you the >>>>>> >>>>>>> Gambas version as a string and you can compare it like this: >>>>>>>>>>>> >>>>>>>>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= >>>>>>>>>>>> 0' >>>>>>>>>>>> >>>>>>>>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the >>>>>>>>>>>> >>>>>>>>>>> version 3.10 >>>>>> >>>>>>> from your Gambas version. You want the comparison to yield 0 or >>>>>>>>>>>> >>>>>>>>>>> 1. >>>>>> >>>>>>> With the above line, you will see either the string "True" or >>>>>>>>>>>> >>>>>>>>>>> "False" >>>>>> >>>>>>> printed to the terminal; you can make the output fancier. >>>>>>>>>>>> >>>>>>>>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >>>>>>>>>>>> appropriate >>>>>>>>>>>> to compare version numbers. Observe: >>>>>>>>>>>> >>>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >>>>>>>>>>>> 1 >>>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>>>>>>>>>>> -1 >>>>>>>>>>>> >>>>>>>>>>>> Because "2" comes before "1" in the alphabet, the default >>>>>>>>>>>> >>>>>>>>>>> lexicographic >>>>>> >>>>>>> comparison mode declares the string "3.2" to be greater than >>>>>>>>>>>> >>>>>>>>>>> "3.10", >>>>>> >>>>>>> but gb.Natural gets it right. >>>>>>>>>>>> >>>>>>>>>>>> Also never coerce the string version into a float for easier >>>>>>>>>>>> >>>>>>>>>>> comparison >>>>>> >>>>>>> because you'll run into nasty bugs caused by float roundoff. >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Tobi >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. >>>>>>>>>>>> >>>>>>>>>>> Monk >>>>>> >>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>> Salut mikeB, >>>>>>>> >>>>>>>> reread what Tobi wrote: "which" is the magic command for that. >>>>>>>> >>>>>>>> >>>>>>> -------------------------------------------------- >>>>>>> >>>>>>> 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: From mb at code-it.com Thu Dec 14 19:25:00 2017 From: mb at code-it.com (mikeB) Date: Thu, 14 Dec 2017 11:25:00 -0700 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: yes = I'm referring to the "Unbuntu World" and thank you for your fast reply! mikeB On 12/14/2017 11:19 AM, Gianluigi wrote: > If you are referring only to the Ubuntu world and derivatives, the easiest > thing for you and your customers (Windows way) is to make them install > stable Gambas3 from PPA and provide the executable of your program. > Taking advantage of the tricks of Tobias and making him eliminate the > current Gambas installed if of a lower version of the program. > > Regards > Gianluigi > > 2017-12-14 18:18 GMT+01:00 mikeB : > >> 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 >> >> >> On 12/13/2017 02:22 PM, Gianluigi wrote: >> >>> Right, not only the runtime is not installed, nothing is installed. >>> >>> Regards >>> Gianluigi >>> >>> 2017-12-13 20:25 GMT+01:00 Jussi Lahtinen : >>> >>> That does not install anything. It just adds the repo and updates. >>>> >>>> >>>> Jussi >>>> >>>> On Wed, Dec 13, 2017 at 8:58 PM, Gianluigi wrote: >>>> >>>> Sorry maybe I'm wrong, but I know this: >>>>> >>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>> sudo apt-get update >>>>>> >>>>> It does not install the runtime but only the libraries and therefore >>>>> what >>>>> we are saying here is useless. >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> 2017-12-13 19:25 GMT+01:00 Jussi Lahtinen : >>>>> >>>>> There is standard for exit codes. >>>>>> http://www.tldp.org/LDP/abs/html/exitcodes.html >>>>>> >>>>>> >>>>>> Jussi >>>>>> >>>>>> On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson < >>>>>> t.lee.davidson at gmail.com> wrote: >>>>>> >>>>>> [shell-script] >>>>>>> #!/bin/bash >>>>>>> >>>>>>> which gbx3 &>/dev/null >>>>>>> if [ $? -ne 0 ]; then >>>>>>> echo "Gambas runtime (gbx3) not found in path. Cannot continue." >>>>>>> exit 1 # arbitrary exit code of your choice >>>>>>> fi >>>>>>> >>>>>>> if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') >>>>>>> == >>>>>>> "False" ]]; then >>>>>>> echo "So sorry." >>>>>>> exit 2 # also an arbitrary exit code >>>>>>> fi >>>>>>> >>>>>>> # Great, do Gambas stuff now >>>>>>> [/shell-script] >>>>>>> >>>>>>> The line under the "which" statement basically says, "If the exit code >>>>>>> from the 'which' command is not equal to zero, then..." >>>>>>> >>>>>>> >>>>>>> Strangely on my system, this prints, "So sorry," even though my >>>>>>> package >>>>>>> manager says version 3.10.0 of gambas-runtime is >>>>>>> installed. I have to assume that's an issue with the packager. >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Lee >>>>>>> >>>>>>> On 12/13/2017 12:33 PM, mikeB wrote: >>>>>>> >>>>>>>> OKAY then - I'll try that (what Tobi wrote). I just didn't really >>>>>>>> >>>>>>> understand it but I will after hack'n at it for awhile;-) >>>>>>> >>>>>>>> THANKS - we can put this subject to bed unless someone has >>>>>>>> something else, >>>>>>>> mikeB >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 12/13/2017 08:44 AM, Karl Reinl wrote: >>>>>>>> >>>>>>>>> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >>>>>>>>> >>>>>>>>>> thats what i was thinking (works only if Gambas is installed) but >>>>>>>>>> >>>>>>>>> wasn't >>>>>>> >>>>>>>> sure. >>>>>>>>>> >>>>>>>>>> I really would prefer NOT to force the end user to install Gambas >>>>>>>>>> >>>>>>>>> but >>>>>>> >>>>>>>> only the v10 runtime files that are required to run the Gambas >>>>>>>>>> >>>>>>>>> developed >>>>>>> >>>>>>>> software/ program. A terminal command to just check if the v10 >>>>>>>>>> >>>>>>>>> runtime >>>>>>> >>>>>>>> files are installed is really what I was looking for;-) >>>>>>>>>> >>>>>>>>>> thanks to all that have taken to time to respond - >>>>>>>>>> it's highly APPRECIATED! Have learned something from every post. >>>>>>>>>> mikeB >>>>>>>>>> >>>>>>>>>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>>>>>>>>> >>>>>>>>>>> the suggestin from tobias are the best for check a specific >>>>>>>>>>> >>>>>>>>>> version string, >>>>>>> >>>>>>>> due return a exact result, not an interpretative result >>>>>>>>>>> >>>>>>>>>>> good, but only works if gambas are installed, if not return >>>>>>>>>>> >>>>>>>>>> "commando not >>>>>>> >>>>>>>> found" >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>>> >>>>>>>>>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen < >>>>>>>>>>> jussi.lahtinen at gmail.com >>>>>>>>>>> >>>>>>>>>> : >>>>>>>> >>>>>>>>> >>>>>>>>>>> gbx3 -V >>>>>>>>>>>> or >>>>>>>>>>>> gbx3 --version >>>>>>>>>>>> >>>>>>>>>>>> Works also... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Jussi >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> wrote: >>>>>>> >>>>>>>> >>>>>>>>>>>> On Tue, 12 Dec 2017, mikeB wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> On my web site, that I offer software programmed using Gambas, >>>>>>>>>>>>>> >>>>>>>>>>>>> I have a >>>>>>> >>>>>>>> notice : >>>>>>>>>>>>>> ************************************************************ >>>>>>>>>>>>>> >>>>>>>>>>>>> *********** >>>>>>> >>>>>>>> VERY IMPORTANT: before installing this app you will need to >>>>>>>>>>>>>> >>>>>>>>>>>>> install >>>>>>> >>>>>>>> Gambas >>>>>>>>>>>>> >>>>>>>>>>>>>> Runtime v10 files - most systems will not have these very new >>>>>>>>>>>>>> >>>>>>>>>>>>> files >>>>>>> >>>>>>>> installed yet. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Do so via the terminal commands: >>>>>>>>>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>>>>>>>>>> sudo apt-get update >>>>>>>>>>>>>> ************************************************************ >>>>>>>>>>>>>> >>>>>>>>>>>>> *********** >>>>>>> >>>>>>>> Now that Gambas runtime 10 files are more common - being >>>>>>>>>>>>>> >>>>>>>>>>>>> install by the >>>>>>> >>>>>>>> Distro - is there a way for the user (terminal command) to >>>>>>>>>>>>>> >>>>>>>>>>>>> check if >>>>>>> >>>>>>>> they are >>>>>>>>>>>>> >>>>>>>>>>>>>> installed? >>>>>>>>>>>>>> >>>>>>>>>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>>>>>>>>>>>>> Thanks for any all help on this matter and have a GREAT day, >>>>>>>>>>>>>> mikeB >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> First check if the interpreter gbx3 is found in PATH, using the >>>>>>>>>>>>> >>>>>>>>>>>> "which" >>>>>>> >>>>>>>> utility. If not, I wouldn't call Gambas properly installed >>>>>>>>>>>>> >>>>>>>>>>>> (although >>>>>>> >>>>>>>> some people might disagree -- it's their computer -- but then >>>>>>>>>>>>> >>>>>>>>>>>> they will >>>>>>> >>>>>>>> be able to figure their Gambas version out themselves). >>>>>>>>>>>>> >>>>>>>>>>>>> Once you have that, the System class has FullVersion which gives >>>>>>>>>>>>> >>>>>>>>>>>> you the >>>>>>> >>>>>>>> Gambas version as a string and you can compare it like this: >>>>>>>>>>>>> >>>>>>>>>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= >>>>>>>>>>>>> 0' >>>>>>>>>>>>> >>>>>>>>>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the >>>>>>>>>>>>> >>>>>>>>>>>> version 3.10 >>>>>>> >>>>>>>> from your Gambas version. You want the comparison to yield 0 or >>>>>>>>>>>>> >>>>>>>>>>>> 1. >>>>>>> >>>>>>>> With the above line, you will see either the string "True" or >>>>>>>>>>>>> >>>>>>>>>>>> "False" >>>>>>> >>>>>>>> printed to the terminal; you can make the output fancier. >>>>>>>>>>>>> >>>>>>>>>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >>>>>>>>>>>>> appropriate >>>>>>>>>>>>> to compare version numbers. Observe: >>>>>>>>>>>>> >>>>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >>>>>>>>>>>>> 1 >>>>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>>>>>>>>>>>> -1 >>>>>>>>>>>>> >>>>>>>>>>>>> Because "2" comes before "1" in the alphabet, the default >>>>>>>>>>>>> >>>>>>>>>>>> lexicographic >>>>>>> >>>>>>>> comparison mode declares the string "3.2" to be greater than >>>>>>>>>>>>> >>>>>>>>>>>> "3.10", >>>>>>> >>>>>>>> but gb.Natural gets it right. >>>>>>>>>>>>> >>>>>>>>>>>>> Also never coerce the string version into a float for easier >>>>>>>>>>>>> >>>>>>>>>>>> comparison >>>>>>> >>>>>>>> because you'll run into nasty bugs caused by float roundoff. >>>>>>>>>>>>> >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> Tobi >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. >>>>>>>>>>>>> >>>>>>>>>>>> Monk >>>>>>> >>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>> Salut mikeB, >>>>>>>>> >>>>>>>>> reread what Tobi wrote: "which" is the magic command for that. >>>>>>>>> >>>>>>>>> >>>>>>>> -------------------------------------------------- >>>>>>>> >>>>>>>> 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 >> > > > > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net > From bagonergi at gmail.com Thu Dec 14 19:40:18 2017 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 14 Dec 2017 19:40:18 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: Unfortunately, fast and well, they do not walk together. Other people, better than me, give better advice. Regards Gianluigi 2017-12-14 19:25 GMT+01:00 mikeB : > yes = I'm referring to the "Unbuntu World" and thank you for your fast > reply! > mikeB > > > On 12/14/2017 11:19 AM, Gianluigi wrote: > >> If you are referring only to the Ubuntu world and derivatives, the easiest >> thing for you and your customers (Windows way) is to make them install >> stable Gambas3 from PPA and provide the executable of your program. >> Taking advantage of the tricks of Tobias and making him eliminate the >> current Gambas installed if of a lower version of the program. >> >> Regards >> Gianluigi >> >> 2017-12-14 18:18 GMT+01:00 mikeB : >> >> 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 >>> >>> >>> On 12/13/2017 02:22 PM, Gianluigi wrote: >>> >>> Right, not only the runtime is not installed, nothing is installed. >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2017-12-13 20:25 GMT+01:00 Jussi Lahtinen : >>>> >>>> That does not install anything. It just adds the repo and updates. >>>> >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Wed, Dec 13, 2017 at 8:58 PM, Gianluigi >>>>> wrote: >>>>> >>>>> Sorry maybe I'm wrong, but I know this: >>>>> >>>>>> >>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>>> sudo apt-get update >>>>>>> >>>>>>> It does not install the runtime but only the libraries and therefore >>>>>> what >>>>>> we are saying here is useless. >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> 2017-12-13 19:25 GMT+01:00 Jussi Lahtinen : >>>>>> >>>>>> There is standard for exit codes. >>>>>> >>>>>>> http://www.tldp.org/LDP/abs/html/exitcodes.html >>>>>>> >>>>>>> >>>>>>> Jussi >>>>>>> >>>>>>> On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson < >>>>>>> t.lee.davidson at gmail.com> wrote: >>>>>>> >>>>>>> [shell-script] >>>>>>> >>>>>>>> #!/bin/bash >>>>>>>> >>>>>>>> which gbx3 &>/dev/null >>>>>>>> if [ $? -ne 0 ]; then >>>>>>>> echo "Gambas runtime (gbx3) not found in path. Cannot >>>>>>>> continue." >>>>>>>> exit 1 # arbitrary exit code of your choice >>>>>>>> fi >>>>>>>> >>>>>>>> if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') >>>>>>>> == >>>>>>>> "False" ]]; then >>>>>>>> echo "So sorry." >>>>>>>> exit 2 # also an arbitrary exit code >>>>>>>> fi >>>>>>>> >>>>>>>> # Great, do Gambas stuff now >>>>>>>> [/shell-script] >>>>>>>> >>>>>>>> The line under the "which" statement basically says, "If the exit >>>>>>>> code >>>>>>>> from the 'which' command is not equal to zero, then..." >>>>>>>> >>>>>>>> >>>>>>>> Strangely on my system, this prints, "So sorry," even though my >>>>>>>> package >>>>>>>> manager says version 3.10.0 of gambas-runtime is >>>>>>>> installed. I have to assume that's an issue with the packager. >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Lee >>>>>>>> >>>>>>>> On 12/13/2017 12:33 PM, mikeB wrote: >>>>>>>> >>>>>>>> OKAY then - I'll try that (what Tobi wrote). I just didn't really >>>>>>>>> >>>>>>>>> understand it but I will after hack'n at it for awhile;-) >>>>>>>> >>>>>>>> THANKS - we can put this subject to bed unless someone has >>>>>>>>> something else, >>>>>>>>> mikeB >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On 12/13/2017 08:44 AM, Karl Reinl wrote: >>>>>>>>> >>>>>>>>> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >>>>>>>>>> >>>>>>>>>> thats what i was thinking (works only if Gambas is installed) but >>>>>>>>>>> >>>>>>>>>>> wasn't >>>>>>>>>> >>>>>>>>> >>>>>>>> sure. >>>>>>>>> >>>>>>>>>> >>>>>>>>>>> I really would prefer NOT to force the end user to install Gambas >>>>>>>>>>> >>>>>>>>>>> but >>>>>>>>>> >>>>>>>>> >>>>>>>> only the v10 runtime files that are required to run the Gambas >>>>>>>>> >>>>>>>>>> >>>>>>>>>>> developed >>>>>>>>>> >>>>>>>>> >>>>>>>> software/ program. A terminal command to just check if the v10 >>>>>>>>> >>>>>>>>>> >>>>>>>>>>> runtime >>>>>>>>>> >>>>>>>>> >>>>>>>> files are installed is really what I was looking for;-) >>>>>>>>> >>>>>>>>>> >>>>>>>>>>> thanks to all that have taken to time to respond - >>>>>>>>>>> it's highly APPRECIATED! Have learned something from every post. >>>>>>>>>>> mikeB >>>>>>>>>>> >>>>>>>>>>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>>>>>>>>>> >>>>>>>>>>> the suggestin from tobias are the best for check a specific >>>>>>>>>>>> >>>>>>>>>>>> version string, >>>>>>>>>>> >>>>>>>>>> >>>>>>>> due return a exact result, not an interpretative result >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>> good, but only works if gambas are installed, if not return >>>>>>>>>>>> >>>>>>>>>>>> "commando not >>>>>>>>>>> >>>>>>>>>> >>>>>>>> found" >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>>>> >>>>>>>>>>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen < >>>>>>>>>>>> jussi.lahtinen at gmail.com >>>>>>>>>>>> >>>>>>>>>>>> : >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> gbx3 -V >>>>>>>>>>>> >>>>>>>>>>>>> or >>>>>>>>>>>>> gbx3 --version >>>>>>>>>>>>> >>>>>>>>>>>>> Works also... >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Jussi >>>>>>>>>>>>> >>>>>>>>>>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege < >>>>>>>>>>>>> taboege at gmail.com >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>> >>>>>>>>> On Tue, 12 Dec 2017, mikeB wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On my web site, that I offer software programmed using Gambas, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I have a >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>> notice : >>>>>>>>> >>>>>>>>>> ************************************************************ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> *********** >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>> VERY IMPORTANT: before installing this app you will need to >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>>> install >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>> Gambas >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> Runtime v10 files - most systems will not have these very new >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> files >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>> installed yet. >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>>> Do so via the terminal commands: >>>>>>>>>>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>>>>>>>>>>> sudo apt-get update >>>>>>>>>>>>>>> ************************************************************ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> *********** >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>> Now that Gambas runtime 10 files are more common - being >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>>> install by the >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>> Distro - is there a way for the user (terminal command) to >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>>> check if >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>> they are >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> installed? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> This is a real newbie question I'm sure but hey.. I'm a >>>>>>>>>>>>>>> newbie! >>>>>>>>>>>>>>> Thanks for any all help on this matter and have a GREAT day, >>>>>>>>>>>>>>> mikeB >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> First check if the interpreter gbx3 is found in PATH, using >>>>>>>>>>>>>> the >>>>>>>>>>>>>> >>>>>>>>>>>>>> "which" >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> utility. If not, I wouldn't call Gambas properly installed >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> (although >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> some people might disagree -- it's their computer -- but then >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> they will >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> be able to figure their Gambas version out themselves). >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> Once you have that, the System class has FullVersion which >>>>>>>>>>>>>> gives >>>>>>>>>>>>>> >>>>>>>>>>>>>> you the >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> Gambas version as a string and you can compare it like this: >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >>>>>>>>>>>>>> >= >>>>>>>>>>>>>> 0' >>>>>>>>>>>>>> >>>>>>>>>>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the >>>>>>>>>>>>>> >>>>>>>>>>>>>> version 3.10 >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> from your Gambas version. You want the comparison to yield 0 or >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> 1. >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> With the above line, you will see either the string "True" or >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> "False" >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> printed to the terminal; you can make the output fancier. >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> NOTE: gb.Natural makes the comparison by natural sort, which >>>>>>>>>>>>>> is >>>>>>>>>>>>>> appropriate >>>>>>>>>>>>>> to compare version numbers. Observe: >>>>>>>>>>>>>> >>>>>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >>>>>>>>>>>>>> 1 >>>>>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>>>>>>>>>>>>> -1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> Because "2" comes before "1" in the alphabet, the default >>>>>>>>>>>>>> >>>>>>>>>>>>>> lexicographic >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> comparison mode declares the string "3.2" to be greater than >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> "3.10", >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> but gb.Natural gets it right. >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> Also never coerce the string version into a float for easier >>>>>>>>>>>>>> >>>>>>>>>>>>>> comparison >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> because you'll run into nasty bugs caused by float roundoff. >>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>> Tobi >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Monk >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> Salut mikeB, >>>>>>>>>> >>>>>>>>>> reread what Tobi wrote: "which" is the magic command for that. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -------------------------------------------------- >>>>>>>>> >>>>>>>>> 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 >>> >>> >> >> >> >> -------------------------------------------------- >> >> 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: From jussi.lahtinen at gmail.com Thu Dec 14 20:23:57 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Thu, 14 Dec 2017 21:23:57 +0200 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171213075450.GI894@highrise.localdomain> <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: In Linux world things work via repositories and thus the newest version is seldom available from them. So, the first question is, do you really necessarily need newer, than the official repository version? If you do, then you have to offer PPA for people using your software. You could write script to uninstall possible old version, add PPA and finally install latest Gambas. This way your customers do not have to do anything else than give permission for the script. Something like (start with the version detection given by Tobi): sudo apt-get remove gambas3 sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update sudo apt-get install gambas3 Quickly thinking that is the easiest way. Jussi On Thu, Dec 14, 2017 at 7:18 PM, 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 > > > On 12/13/2017 02:22 PM, Gianluigi wrote: > >> Right, not only the runtime is not installed, nothing is installed. >> >> Regards >> Gianluigi >> >> 2017-12-13 20:25 GMT+01:00 Jussi Lahtinen : >> >> That does not install anything. It just adds the repo and updates. >>> >>> >>> Jussi >>> >>> On Wed, Dec 13, 2017 at 8:58 PM, Gianluigi wrote: >>> >>> Sorry maybe I'm wrong, but I know this: >>>> >>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>> sudo apt-get update >>>>> >>>> It does not install the runtime but only the libraries and therefore >>>> what >>>> we are saying here is useless. >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2017-12-13 19:25 GMT+01:00 Jussi Lahtinen : >>>> >>>> There is standard for exit codes. >>>>> http://www.tldp.org/LDP/abs/html/exitcodes.html >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Wed, Dec 13, 2017 at 8:02 PM, T Lee Davidson < >>>>> t.lee.davidson at gmail.com> wrote: >>>>> >>>>> [shell-script] >>>>>> #!/bin/bash >>>>>> >>>>>> which gbx3 &>/dev/null >>>>>> if [ $? -ne 0 ]; then >>>>>> echo "Gambas runtime (gbx3) not found in path. Cannot continue." >>>>>> exit 1 # arbitrary exit code of your choice >>>>>> fi >>>>>> >>>>>> if [[ $(gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0') >>>>>> == >>>>>> "False" ]]; then >>>>>> echo "So sorry." >>>>>> exit 2 # also an arbitrary exit code >>>>>> fi >>>>>> >>>>>> # Great, do Gambas stuff now >>>>>> [/shell-script] >>>>>> >>>>>> The line under the "which" statement basically says, "If the exit code >>>>>> from the 'which' command is not equal to zero, then..." >>>>>> >>>>>> >>>>>> Strangely on my system, this prints, "So sorry," even though my >>>>>> package >>>>>> manager says version 3.10.0 of gambas-runtime is >>>>>> installed. I have to assume that's an issue with the packager. >>>>>> >>>>>> >>>>>> -- >>>>>> Lee >>>>>> >>>>>> On 12/13/2017 12:33 PM, mikeB wrote: >>>>>> >>>>>>> OKAY then - I'll try that (what Tobi wrote). I just didn't really >>>>>>> >>>>>> understand it but I will after hack'n at it for awhile;-) >>>>>> >>>>>>> THANKS - we can put this subject to bed unless someone has >>>>>>> something else, >>>>>>> mikeB >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 12/13/2017 08:44 AM, Karl Reinl wrote: >>>>>>> >>>>>>>> Am Mittwoch, den 13.12.2017, 08:26 -0700 schrieb mikeB: >>>>>>>> >>>>>>>>> thats what i was thinking (works only if Gambas is installed) but >>>>>>>>> >>>>>>>> wasn't >>>>>> >>>>>>> sure. >>>>>>>>> >>>>>>>>> I really would prefer NOT to force the end user to install Gambas >>>>>>>>> >>>>>>>> but >>>>>> >>>>>>> only the v10 runtime files that are required to run the Gambas >>>>>>>>> >>>>>>>> developed >>>>>> >>>>>>> software/ program. A terminal command to just check if the v10 >>>>>>>>> >>>>>>>> runtime >>>>>> >>>>>>> files are installed is really what I was looking for;-) >>>>>>>>> >>>>>>>>> thanks to all that have taken to time to respond - >>>>>>>>> it's highly APPRECIATED! Have learned something from every post. >>>>>>>>> mikeB >>>>>>>>> >>>>>>>>> On 12/13/2017 07:43 AM, PICCORO McKAY Lenz wrote: >>>>>>>>> >>>>>>>>>> the suggestin from tobias are the best for check a specific >>>>>>>>>> >>>>>>>>> version string, >>>>>> >>>>>>> due return a exact result, not an interpretative result >>>>>>>>>> >>>>>>>>>> good, but only works if gambas are installed, if not return >>>>>>>>>> >>>>>>>>> "commando not >>>>>> >>>>>>> found" >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>>>> >>>>>>>>>> 2017-12-13 9:21 GMT-04:00 Jussi Lahtinen < >>>>>>>>>> jussi.lahtinen at gmail.com >>>>>>>>>> >>>>>>>>> : >>>>>>> >>>>>>>> >>>>>>>>>> gbx3 -V >>>>>>>>>>> or >>>>>>>>>>> gbx3 --version >>>>>>>>>>> >>>>>>>>>>> Works also... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Jussi >>>>>>>>>>> >>>>>>>>>>> On Wed, Dec 13, 2017 at 9:54 AM, Tobias Boege >>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>> wrote: >>>>>> >>>>>>> >>>>>>>>>>> On Tue, 12 Dec 2017, mikeB wrote: >>>>>>>>>>>> >>>>>>>>>>>>> On my web site, that I offer software programmed using Gambas, >>>>>>>>>>>>> >>>>>>>>>>>> I have a >>>>>> >>>>>>> notice : >>>>>>>>>>>>> ************************************************************ >>>>>>>>>>>>> >>>>>>>>>>>> *********** >>>>>> >>>>>>> VERY IMPORTANT: before installing this app you will need to >>>>>>>>>>>>> >>>>>>>>>>>> install >>>>>> >>>>>>> Gambas >>>>>>>>>>>> >>>>>>>>>>>>> Runtime v10 files - most systems will not have these very new >>>>>>>>>>>>> >>>>>>>>>>>> files >>>>>> >>>>>>> installed yet. >>>>>>>>>>>>> >>>>>>>>>>>>> Do so via the terminal commands: >>>>>>>>>>>>> sudo add-apt-repository ppa:gambas-team/gambas3 >>>>>>>>>>>>> sudo apt-get update >>>>>>>>>>>>> ************************************************************ >>>>>>>>>>>>> >>>>>>>>>>>> *********** >>>>>> >>>>>>> Now that Gambas runtime 10 files are more common - being >>>>>>>>>>>>> >>>>>>>>>>>> install by the >>>>>> >>>>>>> Distro - is there a way for the user (terminal command) to >>>>>>>>>>>>> >>>>>>>>>>>> check if >>>>>> >>>>>>> they are >>>>>>>>>>>> >>>>>>>>>>>>> installed? >>>>>>>>>>>>> >>>>>>>>>>>>> This is a real newbie question I'm sure but hey.. I'm a newbie! >>>>>>>>>>>>> Thanks for any all help on this matter and have a GREAT day, >>>>>>>>>>>>> mikeB >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> First check if the interpreter gbx3 is found in PATH, using the >>>>>>>>>>>> >>>>>>>>>>> "which" >>>>>> >>>>>>> utility. If not, I wouldn't call Gambas properly installed >>>>>>>>>>>> >>>>>>>>>>> (although >>>>>> >>>>>>> some people might disagree -- it's their computer -- but then >>>>>>>>>>>> >>>>>>>>>>> they will >>>>>> >>>>>>> be able to figure their Gambas version out themselves). >>>>>>>>>>>> >>>>>>>>>>>> Once you have that, the System class has FullVersion which gives >>>>>>>>>>>> >>>>>>>>>>> you the >>>>>> >>>>>>> Gambas version as a string and you can compare it like this: >>>>>>>>>>>> >>>>>>>>>>>> $ gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= >>>>>>>>>>>> 0' >>>>>>>>>>>> >>>>>>>>>>>> Comp will return the sign (-1, 0 or 1) of subtracting the >>>>>>>>>>>> >>>>>>>>>>> version 3.10 >>>>>> >>>>>>> from your Gambas version. You want the comparison to yield 0 or >>>>>>>>>>>> >>>>>>>>>>> 1. >>>>>> >>>>>>> With the above line, you will see either the string "True" or >>>>>>>>>>>> >>>>>>>>>>> "False" >>>>>> >>>>>>> printed to the terminal; you can make the output fancier. >>>>>>>>>>>> >>>>>>>>>>>> NOTE: gb.Natural makes the comparison by natural sort, which is >>>>>>>>>>>> appropriate >>>>>>>>>>>> to compare version numbers. Observe: >>>>>>>>>>>> >>>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10")' >>>>>>>>>>>> 1 >>>>>>>>>>>> $ gbx3 -e 'Comp("3.2", "3.10", gb.Natural)' >>>>>>>>>>>> -1 >>>>>>>>>>>> >>>>>>>>>>>> Because "2" comes before "1" in the alphabet, the default >>>>>>>>>>>> >>>>>>>>>>> lexicographic >>>>>> >>>>>>> comparison mode declares the string "3.2" to be greater than >>>>>>>>>>>> >>>>>>>>>>> "3.10", >>>>>> >>>>>>> but gb.Natural gets it right. >>>>>>>>>>>> >>>>>>>>>>>> Also never coerce the string version into a float for easier >>>>>>>>>>>> >>>>>>>>>>> comparison >>>>>> >>>>>>> because you'll run into nasty bugs caused by float roundoff. >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Tobi >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> "There's an old saying: Don't change anything... ever!" -- Mr. >>>>>>>>>>>> >>>>>>>>>>> Monk >>>>>> >>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>> Salut mikeB, >>>>>>>> >>>>>>>> reread what Tobi wrote: "which" is the magic command for that. >>>>>>>> >>>>>>>> >>>>>>> -------------------------------------------------- >>>>>>> >>>>>>> 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: From taboege at gmail.com Thu Dec 14 20:37:40 2017 From: taboege at gmail.com (Tobias Boege) Date: Thu, 14 Dec 2017 20:37:40 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> Message-ID: <20171214193740.GL894@highrise.localdomain> 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 From jussi.lahtinen at gmail.com Thu Dec 14 20:51:40 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Thu, 14 Dec 2017 21:51:40 +0200 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <20171214193740.GL894@highrise.localdomain> References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> Message-ID: Of course, Tobi is right. You do not have to install gambas on their system, just add the PPA and package manager should pull everything it needs. Just make sure possible old gambas installation is removed. Jussi On Thu, Dec 14, 2017 at 9:37 PM, Tobias Boege wrote: > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Dec 14 22:25:34 2017 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 14 Dec 2017 22:25:34 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> Message-ID: Yours is the right way. We must think that here we are talking about Ubuntu. Who routinely uses this distro definitely does not lack disk space and 200 GB more or less does not matter. If mikeB's customers install una tantum a complete Gambas3, then they will only have to add the few KB of the executables. It seems to me an acceptable and very very simple solution. Regards Gianluigi 2017-12-14 20:51 GMT+01:00 Jussi Lahtinen : > Of course, Tobi is right. You do not have to install gambas on their > system, just add the PPA and package manager should pull everything it > needs. > Just make sure possible old gambas installation is removed. > > > Jussi > > On Thu, Dec 14, 2017 at 9:37 PM, Tobias Boege wrote: > >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dosida at gmail.com Thu Dec 14 22:46:02 2017 From: dosida at gmail.com (Dimitris Anogiatis) Date: Thu, 14 Dec 2017 14:46:02 -0700 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> Message-ID: Docker might be a slight overkill for Gambas apps, in terms of storage... with the introduction of AppImage, Snap, and Flatpak distribution systems, if I was to approach this problem of one piece of software working on many distributions or even different versions of the same distribution I would research on those 3. Now Given that the IDE does not support any of those 3, a bash script might need to be created in order to pack up the libraries, executable, and resource files, and create the cross-distro-cross-version package. Hope this helps On Thu, Dec 14, 2017 at 2:25 PM, Gianluigi wrote: > Yours is the right way. > We must think that here we are talking about Ubuntu. > Who routinely uses this distro definitely does not lack disk space and 200 > GB more or less does not matter. > If mikeB's customers install una tantum a complete Gambas3, then they will > only have to add the few KB of the executables. > It seems to me an acceptable and very very simple solution. > > Regards > Gianluigi > > 2017-12-14 20:51 GMT+01:00 Jussi Lahtinen : > >> Of course, Tobi is right. You do not have to install gambas on their >> system, just add the PPA and package manager should pull everything it >> needs. >> Just make sure possible old gambas installation is removed. >> >> >> Jussi >> >> On Thu, Dec 14, 2017 at 9:37 PM, Tobias Boege wrote: >> >>> 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: From mb at code-it.com Thu Dec 14 23:42:39 2017 From: mb at code-it.com (mikeB) Date: Thu, 14 Dec 2017 15:42:39 -0700 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <20171214193740.GL894@highrise.localdomain> References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> Message-ID: <632f6a43-18a6-220c-8ad8-7f8a9313359a@code-it.com> Okay - I think I completely understand what needs to be done and of course my goal is not "your customers won't need Linux anymore :-) Was just thinking out load in presenting the original question. Think that "Docker" is prob doing what "VB Wrap" did - wrapping EVERYTHING into one executable file. I am beginning to love the 'Linux way' but folks that have used Windows for a long time mostly just don't "get it" and just want to get their stuff done - (also for me it's hard to erase almost 20 years of programming experience with VB) At least that's what I'm finding from my following that are making the big switch - I know how they fell as I am also a newbie with years of learning ahead of me;-) Thank you personally to all that gave advise and especially to you Tobi for your time and expertise. I will be following your advise. I'm putting this subject to rest and consider it resolved - have a GREAT day, mikeB On 12/14/2017 12:37 PM, Tobias Boege wrote: > 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/ > From criguada at gmail.com Thu Dec 14 23:58:20 2017 From: criguada at gmail.com (Cristiano Guadagnino) Date: Thu, 14 Dec 2017 23:58:20 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <632f6a43-18a6-220c-8ad8-7f8a9313359a@code-it.com> References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> <632f6a43-18a6-220c-8ad8-7f8a9313359a@code-it.com> Message-ID: Hi mikeB! On Thu, Dec 14, 2017 at 11:42 PM, mikeB wrote: > (...) > original question. Think that "Docker" is prob doing what > "VB Wrap" did - wrapping EVERYTHING into one executable file. > No. Actually you can consider a docker container something like a VirtualBox disk image. It is much lighter due to the way linux kernel virtualization works, but it still is a VM image. So, as Dimitris told you, it would be overkill. On the other hand, if you want something like "VB wrap", you should really follow Dimitris hint and look into AppImage, Snap or Flatpak. Wikipedia is a good start. Hope this helps Cris -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugtracker at gambaswiki.org Fri Dec 15 01:01:17 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 15 Dec 2017 00:01:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- Comment #6 by Damien COTTIER: Hi i did'nt get answer to my last comment The /sbin/mkdir command seem to use 0775 by default and not 0755. Regards, Damien. Damien COTTIER changed the state of the bug to: Opened. From jussi.lahtinen at gmail.com Fri Dec 15 01:08:42 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 15 Dec 2017 02:08:42 +0200 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> <632f6a43-18a6-220c-8ad8-7f8a9313359a@code-it.com> Message-ID: I see that might be useful, but in the long run, it may create problems. Example who updates/batches vulnerable libraries in the images? Or are they all run in sandboxes? Or..? Normally your system does this, now you have to trust to the provider of the application image. Jussi On Fri, Dec 15, 2017 at 12:58 AM, Cristiano Guadagnino wrote: > Hi mikeB! > > On Thu, Dec 14, 2017 at 11:42 PM, mikeB wrote: > >> (...) >> original question. Think that "Docker" is prob doing what >> "VB Wrap" did - wrapping EVERYTHING into one executable file. >> > > No. Actually you can consider a docker container something like a > VirtualBox disk image. It is much lighter due to the way linux kernel > virtualization works, but it still is a VM image. So, as Dimitris told you, > it would be overkill. > > On the other hand, if you want something like "VB wrap", you should really > follow Dimitris hint and look into AppImage, Snap or Flatpak. Wikipedia is > a good start. > > Hope this helps > Cris > > > > -------------------------------------------------- > > 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: From bugtracker at gambaswiki.org Fri Dec 15 01:15:21 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 15 Dec 2017 00:15:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- Comment #7 by Beno?t MINISINI: I see no good reason in allowing by default the group to enter a newly created directory. Just call CHMOD after MKDIR to set the rights you want. What's the problem with that? From rwe-sse at osnanet.de Fri Dec 15 08:47:54 2017 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Fri, 15 Dec 2017 08:47:54 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> Message-ID: <5A337E2A.9060301@osnanet.de> Am 14.12.2017 22:46, schrieb Dimitris Anogiatis: > Docker might be a slight overkill for Gambas apps, in terms of > storage... with the introduction of AppImage, Snap, and Flatpak > distribution systems, Yes! AppImage - the Scribus guys use this to provide a still-not-quite-ready version for the daring. For instance, the new qt5 version of it ran like a charm on my old, qt4-only system. So I had a chance to test it without having the libraries installed. However, it was an English-only version, and the translations didn't run, so there might be limitations. How does LibreOffice do it? I can install any newer version on any older system without hassle. There is just one big rpm, and the language pack has to be installed separately. How does Mozilla do it? Up to a certain level, I could install newer Firefox versions. Some day it stopped, don't remember why, but it missed some later libraries, probably kernel libs. Today newer Firefox versions are provided through the repos of my distro (Suse). Would it be possible to keep "runtime" and "IDE" parts of Gambas strictly apart? For users just installing a Gambas application, the installation script would only have to look for the latest runtime part. Just like with Python, Java etc. Regards Rolf From taboege at gmail.com Fri Dec 15 09:34:30 2017 From: taboege at gmail.com (Tobias Boege) Date: Fri, 15 Dec 2017 09:34:30 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <5A337E2A.9060301@osnanet.de> References: <20171214193740.GL894@highrise.localdomain> <5A337E2A.9060301@osnanet.de> Message-ID: <20171215083430.GO894@highrise.localdomain> On Fri, 15 Dec 2017, Rolf-Werner Eilert wrote: > Would it be possible to keep "runtime" and "IDE" parts of Gambas strictly > apart? For users just installing a Gambas application, the installation > script would only have to look for the latest runtime part. Just like with > Python, Java etc. > But this is what we do, no? There's a package gambas3-runtime and a separate package gambas3-ide. If your distribution doesn't have these two, it is packaging Gambas incorrectly [1]. They might provide a package group called "gambas3" on top, which contains everything, for convenience. If you make an installation package of your program, the runtime will be a dependency, but the IDE very likely not. AFAICS, Python and Java don't have an official IDE for the language. You're free to ignore the IDE to have the same effect. Regards, Tobi [1] http://gambaswiki.org/wiki/howto/package -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rwe-sse at osnanet.de Fri Dec 15 13:28:52 2017 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Fri, 15 Dec 2017 13:28:52 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <20171215083430.GO894@highrise.localdomain> References: <20171214193740.GL894@highrise.localdomain> <5A337E2A.9060301@osnanet.de> <20171215083430.GO894@highrise.localdomain> Message-ID: <5A33C004.8070808@osnanet.de> Am 15.12.2017 09:34, schrieb Tobias Boege: > On Fri, 15 Dec 2017, Rolf-Werner Eilert wrote: >> Would it be possible to keep "runtime" and "IDE" parts of Gambas strictly >> apart? For users just installing a Gambas application, the installation >> script would only have to look for the latest runtime part. Just like with >> Python, Java etc. >> > > But this is what we do, no? There's a package gambas3-runtime and a separate > package gambas3-ide. If your distribution doesn't have these two, it is > packaging Gambas incorrectly [1]. They might provide a package group called > "gambas3" on top, which contains everything, for convenience. No idea. I know how to install everything from Yast (I am on Suse), and maybe I don't care for package names. So I wasn't aware it is already done like this. > > If you make an installation package of your program, the runtime will be a > dependency, but the IDE very likely not. AFAICS, Python and Java don't have > an official IDE for the language. You're free to ignore the IDE to have > the same effect. Ok, thank you for the hint! Regards Rolf From mckaygerhard at gmail.com Fri Dec 15 16:03:14 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 15 Dec 2017 11:03:14 -0400 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <20171214193740.GL894@highrise.localdomain> References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> Message-ID: 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 : > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Dec 15 16:53:15 2017 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 15 Dec 2017 16:53:15 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> Message-ID: 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 : > 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 : > >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Fri Dec 15 17:14:54 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 15 Dec 2017 11:14:54 -0500 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used In-Reply-To: <5a3312a1.c8cd500a.1e139.e882SMTPIN_ADDED_BROKEN@mx.google.com> References: <5a3312a1.c8cd500a.1e139.e882SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: <63fad87a-4c85-f37f-d46b-f8ee442a1bf4@gmail.com> On 12/14/2017 07:01 PM, bugtracker at gambaswiki.org wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- > > Comment #6 by Damien COTTIER: > > Hi i did'nt get answer to my last comment > > The /sbin/mkdir command seem to use 0775 by default and not 0755. > > Regards, > Damien. > > Damien COTTIER changed the state of the bug to: Opened. > The UMASK should be set in /etc/login.defs or /etc/default/login. And I don't know about /sbin/mkdir. My mkdir is in /usr/bin and is "mkdir (GNU coreutils) 8.25". This version of mkdir allows the use of a mode option, ie. "mkdir --mode=755". -- Lee From mckaygerhard at gmail.com Fri Dec 15 23:03:12 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 15 Dec 2017 18:03:12 -0400 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <1c01c9b0-dc0c-0acd-bbcb-06d00a0cae56@code-it.com> <1513179848.26015.7.camel@Scenic.local> <20171214193740.GL894@highrise.localdomain> Message-ID: 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 : > 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 : > >> 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 : >> >>> 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: From bugtracker at gambaswiki.org Sun Dec 17 03:11:22 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 17 Dec 2017 02:11:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- Comment #8 by Damien COTTIER: Hi, there is no technical issue except for directories created & use somewhere in a gambas component (the path might be not accessible directly through the user API ex getting object through hash of a directory/filename path). ex: Client1 App => (Component do Mkdir) => Write Files into Dir Client1 App <= (Component generate Hash and client1 push to DB) => DB Client2 App => (get Hash from db and give to component) <= DB Client2 App <= (Component cannot read file into dir) <= Read Files from Dir Fail i'm just wondering why gambas use different default behavior than standard linux mkdir command. in gambas i would expect that runing Shell "mkdir foo" will be the same as Mkdir "foo" Futhermore, major distribution like ubuntu currently set group autorisation by default on directory, but create a group for each login allowing by default user isolation. One can then easily share a directory by changing group owner (using chgrp) rather than playing with chmod after each directory creation. I think this is the reason of the "users" group existance. Indeed, The benefit of groups versus chmod is the use of "s" bit allowing you can progagate group ownership to child directories. Some system still use umask to propagate more restrictive permissions to child process, but umask can only be more restrictive not less. From allegfede at gmail.com Sun Dec 17 09:54:32 2017 From: allegfede at gmail.com (Federico Allegretti) Date: Sun, 17 Dec 2017 09:54:32 +0100 Subject: [Gambas-user] User Digest, Vol 3, Issue 39 In-Reply-To: References: Message-ID: Have dive in the thread randomly, but i suppose open source is open. If you do not whant to release It open, but you are using open source tech, check if you are making licence infringments. If the idea is to make open software, but avoid simple user to make damaged, pur only the executable in the user filesystem area. Worst thing he Can make is deleting the app. Il 16/dic/2017 12:15 PM, ha scritto: > Send User mailing list submissions to > user at lists.gambas-basic.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gambas-basic.org/listinfo/user > or, via email, send a message with subject or body 'help' to > user-request at lists.gambas-basic.org > > You can reach the person managing the list at > user-owner at lists.gambas-basic.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of User digest..." > > > Today's Topics: > > 1. Re: [Gambas Bug Tracker] Bug #1216: umask ignored by gambas > while Mkdir command used (T Lee Davidson) > 2. Re: check 4 Gambas Runtime files? (PICCORO McKAY Lenz) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 15 Dec 2017 11:14:54 -0500 > From: T Lee Davidson > To: user at lists.gambas-basic.org > Subject: Re: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask > ignored by gambas while Mkdir command used > Message-ID: <63fad87a-4c85-f37f-d46b-f8ee442a1bf4 at gmail.com> > Content-Type: text/plain; charset=utf-8 > > On 12/14/2017 07:01 PM, bugtracker at gambaswiki.org wrote: > > http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4- > > > > Comment #6 by Damien COTTIER: > > > > Hi i did'nt get answer to my last comment > > > > The /sbin/mkdir command seem to use 0775 by default and not 0755. > > > > Regards, > > Damien. > > > > Damien COTTIER changed the state of the bug to: Opened. > > > > The UMASK should be set in /etc/login.defs or /etc/default/login. > > And I don't know about /sbin/mkdir. My mkdir is in /usr/bin and is "mkdir > (GNU coreutils) 8.25". This version of mkdir allows > the use of a mode option, ie. "mkdir --mode=755". > > -- > Lee > > > ------------------------------ > > Message: 2 > Date: Fri, 15 Dec 2017 18:03:12 -0400 > From: PICCORO McKAY Lenz > To: Gambas Mailing List > Subject: Re: [Gambas-user] check 4 Gambas Runtime files? > Message-ID: > uUeUiWCw at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > 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 : > > > 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 : > > > >> 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 : > >> > >>> 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: attachments/20171215/39158edd/attachment-0001.html> > > ------------------------------ > > Subject: Digest Footer > > User mailing list > User at lists.gambas-basic.org > http://lists.gambas-basic.org/listinfo/user > > Mailinglist hosted by https://www.hostsharing.net > > > ------------------------------ > > End of User Digest, Vol 3, Issue 39 > *********************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From criguada at gmail.com Mon Dec 18 00:23:44 2017 From: criguada at gmail.com (Cristiano Guadagnino) Date: Mon, 18 Dec 2017 00:23:44 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: <5A33C004.8070808@osnanet.de> References: <20171214193740.GL894@highrise.localdomain> <5A337E2A.9060301@osnanet.de> <20171215083430.GO894@highrise.localdomain> <5A33C004.8070808@osnanet.de> Message-ID: Hi Rolf! On Fri, Dec 15, 2017 at 1:28 PM, Rolf-Werner Eilert wrote: > (...) >> >> >> But this is what we do, no? There's a package gambas3-runtime and a >> separate >> package gambas3-ide. If your distribution doesn't have these two, it is >> packaging Gambas incorrectly [1]. They might provide a package group >> called >> "gambas3" on top, which contains everything, for convenience. >> > > No idea. I know how to install everything from Yast (I am on Suse), and > maybe I don't care for package names. So I wasn't aware it is already done > like this. Actually Suse has Gambas3 split up in 95 packges!! (and yes, it has a Gambas3 meta-package grouping all of them) Obviously one of them is gambas3-runtime. Cris -------------- next part -------------- An HTML attachment was scrubbed... URL: From mb at code-it.com Mon Dec 18 01:46:36 2017 From: mb at code-it.com (mikeB) Date: Sun, 17 Dec 2017 17:46:36 -0700 Subject: [Gambas-user] Runtime 10 files Message-ID: mikeB here again - since there has been so many folks responding to my first questions about v10 runtime files - I thought it might help(or not) some others on what I decided to do with my customers. First off - I'll say that I tested/ tried several apps that are offered by AppImage (that wraps everything so that all it takes is a click to run on most any Linux system - no install process). This is VERY slick and worked perfectly BUT after thinking about it a LOT - decided it was too much like M$ Windows stuff (even though I asked if that was possible;) The notice I HAD on my web site (for Gambas developed software) was: ********************************************************************* This software was programmed using "Gambas3 v3.10.0" VERY IMPORTANT: before installing this app you will need to install Gambas Runtime v10 files - most systems will not have these very new files installed yet. You'll only need to do this once! Do so via the terminal commands: sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update ********************************************************************** After all the conversion from you all (and testing on virgin systems) I find that this is not true = those commands do NOT install v10 runtime files. MY BAD = did not do enough testing before "speaking" ;-( I am now it the progress of revising with the following notice (unless this turns out not to be right - but I tested on 3 different Mint systems and worked like a charm) - going to do yet some more testing before publishing: ********************************************************************* This software was programmed using "Gambas3 v3.10.0" VERY IMPORTANT: before installing this app you will need to have/ install Gambas Runtime v10 files - most systems will not have these very new files installed yet. You'll only need to do this once! Do so via the terminal commands: sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' note: if return value of this last command is "TRUE" then that means you're ready to go (have the v10 Runtime files installed). OTHERWISE IT WILL RETURN "The program 'gbx3' is currently not installed. You can install it by typing: sudo apt install gambas3-runtime Doing so installs the Gambas v10 Runtime files then you're all set. ********************************************************************** I think this is what was meant by some of you advising to do it "the Linux Way' - if not please advise - as I'm still adjusting from over 25 years of doing things the Windows way (and so glad done with that). Thank all of you so much for the conversion and advise - it is GREATLY APPRECIATED - it was a good learning experience. mikeB From t.lee.davidson at gmail.com Mon Dec 18 06:41:52 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 18 Dec 2017 00:41:52 -0500 Subject: [Gambas-user] Runtime 10 files In-Reply-To: References: Message-ID: On 12/17/2017 07:46 PM, mikeB wrote: > ********************************************************************* > This?software?was?programmed?using?"Gambas3??v3.10.0" > VERY IMPORTANT: before installing this app you will need to have/ install Gambas Runtime v10 files - most systems will not have > these very new?files?installed?yet.?You'll?only?need?to?do?this?once! > > Do?so?via?the?terminal?commands: > > sudo?add-apt-repository?ppa:gambas-team/gambas3 > sudo?apt-get?update > gbx3?-e?'Comp(System.FullVersion,?"3.10",?gb.Natural)?>=?0' > > note:?if?return?value?of?this?last?command?is?"TRUE"?then?that?means > you're?ready?to?go?(have?the?v10?Runtime?files?installed). > > OTHERWISE?IT?WILL?RETURN > > "The?program?'gbx3'?is?currently?not?installed.?You?can?install?it?by > typing: > sudo?apt?install?gambas3-runtime > > Doing?so?installs?the?Gambas?v10?Runtime?files?then?you're?all?set. > ********************************************************************** You might be able to simplify your instructions if Aptitude (apt-get) works similar to YaST. There is an 'aptitude' executable installed on my openSUSE system which seems to redirect to YaST. `sudo apt-get install gambas3-runtime` produces: ********** Loading repository data... Reading installed packages... 'gambas3-runtime' is already installed. No update candidate for 'gambas3-runtime-3.10.0-20.1.x86_64'. The highest available version is already installed. Resolving package dependencies... Nothing to do. ********** If the package is already installed, it looks for an available update. So, you may be able to replace: gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' with: sudo apt-get install gambas3-runtime let it automatically search for any available upgrade package, and eliminate about 8 lines from your instructions. That is, if Aptitude works like YaST. -- Lee From bkv at mailbox.org Mon Dec 18 08:33:55 2017 From: bkv at mailbox.org (bkv at mailbox.org) Date: Mon, 18 Dec 2017 08:33:55 +0100 (CET) Subject: [Gambas-user] Problem with DataControl Message-ID: <160427076.6142.1513582435431@office.mailbox.org> Hi I have a form with a DataControl. I want to write text (comments) into the control. Unfortunately the Enter key has no effect in this control. I cannot break the line. I can onlyt get one line of text, and if long enough, it will extend out of the visible part. Also, when I type, the text does not come on the upper part of the control, but on the middle. Strangely, I have an other form where the DataControl works OK. Help is appreciated Greetings, Bj?rn -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Mon Dec 18 08:38:19 2017 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Mon, 18 Dec 2017 08:38:19 +0100 Subject: [Gambas-user] check 4 Gambas Runtime files? In-Reply-To: References: <20171214193740.GL894@highrise.localdomain> <5A337E2A.9060301@osnanet.de> <20171215083430.GO894@highrise.localdomain> <5A33C004.8070808@osnanet.de> Message-ID: <5A37706B.4030304@osnanet.de> Am 18.12.2017 00:23, schrieb Cristiano Guadagnino: > Hi Rolf! > > On Fri, Dec 15, 2017 at 1:28 PM, Rolf-Werner Eilert > wrote: > > (...) > > > But this is what we do, no? There's a package gambas3-runtime > and a separate > package gambas3-ide. If your distribution doesn't have these > two, it is > packaging Gambas incorrectly [1]. They might provide a package > group called > "gambas3" on top, which contains everything, for convenience. > > > No idea. I know how to install everything from Yast (I am on Suse), > and maybe I don't care for package names. So I wasn't aware it is > already done like this. > > > Actually Suse has Gambas3 split up in 95 packges!! (and yes, it has a > Gambas3 meta-package grouping all of them) > Obviously one of them is gambas3-runtime. > > Cris > Yes :) I know. And I know what to do: You have to scroll down the list and check the lowermost two packages. That will activate all the rest. But Yast has this other filter list where only meta packages appear, maybe one should take a look here. But when you type Gambas to be searched, it will point you to the looooong list of little packages... At least somewhat confusing for beginners, isn't it? Regards Rolf From bugtracker at gambaswiki.org Mon Dec 18 12:50:04 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 18 Dec 2017 11:50:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1218: I can not open any project Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1218&from=L21haW4- Carlo PANARA reported a new bug. Summary ------- I can not open any project Type : Bug Priority : High Gambas version : 3.10 Product : Development Environment Description ----------- With commit 2bb285 I cannot open any project. IDE Msg: Project already open. System information ------------------ [System] Gambas=3.10.90 OperatingSystem=Linux Kernel=4.10.0-42-generic Architecture=x86_64 Distribution=Ubuntu 16.04.3 LTS Desktop=UNITY Theme=Gtk Language=it_IT.UTF-8 Memory=3553M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-vCAX6WVLrI DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=9102 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=it_IT.UTF-8 LANGUAGE=it LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1598,unix/:/tmp/.ICE-unix/1598 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1376 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Mon Dec 18 13:06:18 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 18 Dec 2017 12:06:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1218: I can not open any project In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1218&from=L21haW4- Comment #1 by Beno?t MINISINI: It should be fixed with commit https://gitlab.com/gambas/gambas/commit/e3f941c7e2df3796eecee73921679924363609c1 Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Dec 19 02:56:28 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 19 Dec 2017 01:56:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1219: Gambas IDE - Error message during 'Update all Forms' menu Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1219&from=L21haW4- Olivier CRUILLES reported a new bug. Summary ------- Gambas IDE - Error message during 'Update all Forms' menu Type : Bug Priority : Medium Gambas version : Master Product : Development Environment Description ----------- Hello, For some own projects, when I want to 'Update all forms' from then Menu 'Tools' I have this error message: See picture. Olivier System information ------------------ [System] Gambas=3.10.90 0badb09 (master) OperatingSystem=Linux Kernel=4.14.5-200.fc26.x86_64 Architecture=x86_64 Distribution=redhat Fedora release 26 (Twenty Six) Desktop=MATE Theme=Breeze Language=fr_FR.utf8 Memory=3948M [Libraries] Cairo=libcairo.so.2.11400.10 DBus=libdbus-1.so.3.19.0 GStreamer=libgstreamer-1.0.so.0.1203.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 OpenGL=libGL.so.1.0.0 SQLite=libsqlite3.so.0.8.6 [Environment] CAPP_BUILD=/Packages/Starter/Build DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_LANG=fr_FR.utf8 GNOME_KEYRING_CONTROL=/.cache/keyring-JLO6AZ GTK_OVERLAY_SCROLLING=0 HISTCONTROL=ignoredups HISTSIZE=1000 HISTTIMEFORMAT=%F %T HOME= HOSTNAME= IMSETTINGS_INTEGRATE_DESKTOP=yes IMSETTINGS_MODULE=none KDEDIRS=/usr LANG=fr_FR.utf8 LESSOPEN=||/usr/bin/lesspipe.sh %s LOGNAME= MAIL=/var/spool/mail/ MATE_DESKTOP_SESSION_ID=this-is-deprecated PAGER=most PATH=/narwhal/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/bin:/usr/local/xaralx/bin PWD= QT_IM_MODULE=xim SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1171,unix/unix:/tmp/.ICE-unix/1171 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=1286 SSH_AUTH_SOCK=/.cache/keyring-JLO6AZ/ssh TERM=dumb TZ=:/etc/localtime USER= XAUTHORITY=/var/run/lightdm//xauthority XDG_CURRENT_DESKTOP=MATE XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=none _=/usr/bin/mate-session From bugtracker at gambaswiki.org Tue Dec 19 02:56:47 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 19 Dec 2017 01:56:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1219: Gambas IDE - Error message during 'Update all Forms' menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1219&from=L21haW4- Olivier CRUILLES added an attachment: S?lection_183.png From rwe-sse at osnanet.de Tue Dec 19 08:45:15 2017 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Tue, 19 Dec 2017 08:45:15 +0100 Subject: [Gambas-user] Runtime 10 files In-Reply-To: References: Message-ID: <5A38C38B.40105@osnanet.de> Am 18.12.2017 06:41, schrieb T Lee Davidson: > On 12/17/2017 07:46 PM, mikeB wrote: >> ********************************************************************* >> This software was programmed using "Gambas3 v3.10.0" >> VERY IMPORTANT: before installing this app you will need to have/ install Gambas Runtime v10 files - most systems will not have >> these very new files installed yet. You'll only need to do this once! >> >> Do so via the terminal commands: >> >> sudo add-apt-repository ppa:gambas-team/gambas3 >> sudo apt-get update >> gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >> >> note: if return value of this last command is "TRUE" then that means >> you're ready to go (have the v10 Runtime files installed). >> >> OTHERWISE IT WILL RETURN >> >> "The program 'gbx3' is currently not installed. You can install it by >> typing: >> sudo apt install gambas3-runtime >> >> Doing so installs the Gambas v10 Runtime files then you're all set. >> ********************************************************************** > > > You might be able to simplify your instructions if Aptitude (apt-get) works similar to YaST. There is an 'aptitude' executable > installed on my openSUSE system which seems to redirect to YaST. > > `sudo apt-get install gambas3-runtime` produces: > ********** > Loading repository data... > Reading installed packages... > 'gambas3-runtime' is already installed. > No update candidate for 'gambas3-runtime-3.10.0-20.1.x86_64'. The highest available version is already installed. > Resolving package dependencies... > > Nothing to do. > ********** > > If the package is already installed, it looks for an available update. So, you may be able to replace: > gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' > with: > sudo apt-get install gambas3-runtime > > let it automatically search for any available upgrade package, and eliminate about 8 lines from your instructions. > > That is, if Aptitude works like YaST. > > I have been thinking about this yesterday, and came to the conclusion that I would program a script or something around a script which does the job just like you proposed. The script would 1) Find out which Gambas version is on the machine 1a) Find out if Gambas-runtime-only or complete on the machine 2) Find out which install system (deb or rpm / apt or zypper) 3) Install latest Gambas runtime or complete from the repos, if necessary 4) Install included version of your program There are a lot of clever scripts which do one or more of these jobs for other programs, so it should be easy to study and rewrite those to create a special Gambas+YourProgram script. One might use a common graphical tool to wrap the script and handle root password etc. But the best of it would be, we might be able to include it as a template into Gambas, offering the programmer to distribute the application via such a thing. I am sure, many of the folks here would help to make it run on every major distro. What do you think? Regards Rolf From mb at code-it.com Tue Dec 19 09:40:43 2017 From: mb at code-it.com (mikeB) Date: Tue, 19 Dec 2017 01:40:43 -0700 Subject: [Gambas-user] Runtime 10 files In-Reply-To: <5A38C38B.40105@osnanet.de> References: <5A38C38B.40105@osnanet.de> Message-ID: <8febf71d-35a2-245d-45a3-142d5b8a2d7d@code-it.com> I think thats a GREAT idea and concept! I would look forward to learning,and using this type script! mikeB On 12/19/2017 12:45 AM, Rolf-Werner Eilert wrote: > Am 18.12.2017 06:41, schrieb T Lee Davidson: >> On 12/17/2017 07:46 PM, mikeB wrote: >>> ********************************************************************* >>> This software was programmed using "Gambas3? v3.10.0" >>> VERY IMPORTANT: before installing this app you will need to have/ >>> install Gambas Runtime v10 files - most systems will not have >>> these very new files installed yet. You'll only need to do this once! >>> >>> Do so via the terminal commands: >>> >>> sudo add-apt-repository ppa:gambas-team/gambas3 >>> sudo apt-get update >>> gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >>> >>> note: if return value of this last command is "TRUE" then that means >>> you're ready to go (have the v10 Runtime files installed). >>> >>> OTHERWISE IT WILL RETURN >>> >>> "The program 'gbx3' is currently not installed. You can install it by >>> typing: >>> sudo apt install gambas3-runtime >>> >>> Doing so installs the Gambas v10 Runtime files then you're all set. >>> ********************************************************************** >> >> >> You might be able to simplify your instructions if Aptitude (apt-get) >> works similar to YaST. There is an 'aptitude' executable >> installed on my openSUSE system which seems to redirect to YaST. >> >> `sudo apt-get install gambas3-runtime` produces: >> ********** >> Loading repository data... >> Reading installed packages... >> 'gambas3-runtime' is already installed. >> No update candidate for 'gambas3-runtime-3.10.0-20.1.x86_64'. The >> highest available version is already installed. >> Resolving package dependencies... >> >> Nothing to do. >> ********** >> >> If the package is already installed, it looks for an available update. >> So, you may be able to replace: >> gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >> with: >> sudo apt-get install gambas3-runtime >> >> let it automatically search for any available upgrade package, and >> eliminate about 8 lines from your instructions. >> >> That is, if Aptitude works like YaST. >> >> > > I have been thinking about this yesterday, and came to the conclusion > that I would program a script or something around a script which does > the job just like you proposed. > > The script would > > 1) Find out which Gambas version is on the machine > 1a) Find out if Gambas-runtime-only or complete on the machine > 2) Find out which install system (deb or rpm / apt or zypper) > 3) Install latest Gambas runtime or complete from the repos, if necessary > 4) Install included version of your program > > There are a lot of clever scripts which do one or more of these jobs for > other programs, so it should be easy to study and rewrite those to > create a special Gambas+YourProgram script. One might use a common > graphical tool to wrap the script and handle root password etc. > > But the best of it would be, we might be able to include it as a > template into Gambas, offering the programmer to distribute the > application via such a thing. I am sure, many of the folks here would > help to make it run on every major distro. > > What do you think? > > Regards > Rolf > > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net > From t.lee.davidson at gmail.com Tue Dec 19 18:35:04 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 19 Dec 2017 12:35:04 -0500 Subject: [Gambas-user] Runtime 10 files In-Reply-To: <5A38C38B.40105@osnanet.de> References: <5A38C38B.40105@osnanet.de> Message-ID: <361dd66b-5bb4-bca9-cfa0-d5a3e3919a83@gmail.com> On 12/19/2017 02:45 AM, Rolf-Werner Eilert wrote: > The?script?would > > 1)?Find?out?which?Gambas?version?is?on?the?machine > 1a)?Find?out?if?Gambas-runtime-only?or?complete?on?the?machine > 2)?Find?out?which?install?system?(deb?or?rpm?/?apt?or?zypper) > 3)?Install?latest?Gambas?runtime?or?complete?from?the?repos,?if?necessary > 4)?Install?included?version?of?your?program Great idea, Rolf. However, I think you'd be making it a bit more complicated than it needs to be as I have a tendency to do sometimes. A complete Gambas installation (ie. with IDE and all its dependencies) is not required for a mere application install. A developer should be savvy enough to figure out how to do that if desired. But, a regular user might indeed appreciate some simple installation streamlining as Mike is attempting. Oh, and don't forget yum. You might also want to be careful of (mis?)representation, eg.: ~> which apt-get /usr/bin/apt-get ~> which zypper /usr/bin/zypper ~> apt-get --version zypper 1.13.38 ~> zypper --version zypper 1.13.38 -- Lee From mb at code-it.com Tue Dec 19 19:35:25 2017 From: mb at code-it.com (mikeB) Date: Tue, 19 Dec 2017 11:35:25 -0700 Subject: [Gambas-user] Runtime 10 files In-Reply-To: <361dd66b-5bb4-bca9-cfa0-d5a3e3919a83@gmail.com> References: <5A38C38B.40105@osnanet.de> <361dd66b-5bb4-bca9-cfa0-d5a3e3919a83@gmail.com> Message-ID: <60eaafa4-7caa-ce40-b855-e0be59c85154@code-it.com> mikeB here...................................................................................................... Here is what I'm doing at the present: ***************************off web site********************************* All this software was programmed using "Gambas3 v3.10.0" . VERY IMPORTANT: before installing any of this software you'll need to have or install the newest Gambas Library and v10 Runtime files - most systems will not have these very new files installed yet. You'll only need to do this once! Do so via the following 3 terminal commands: sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update sudo apt install gambas3-runtime If the above command returns "TRUE" the RUNTIME files are installed - if not, will give you the option to install. ************************************************************************* If anyone knows how to improve this = that would be great! mikeB On 12/19/2017 10:35 AM, T Lee Davidson wrote: > On 12/19/2017 02:45 AM, Rolf-Werner Eilert wrote: >> The?script?would >> >> 1)?Find?out?which?Gambas?version?is?on?the?machine >> 1a)?Find?out?if?Gambas-runtime-only?or?complete?on?the?machine >> 2)?Find?out?which?install?system?(deb?or?rpm?/?apt?or?zypper) >> 3)?Install?latest?Gambas?runtime?or?complete?from?the?repos,?if?necessary >> 4)?Install?included?version?of?your?program > > Great idea, Rolf. > > However, I think you'd be making it a bit more complicated than it needs to be as I have a tendency to do sometimes. > > A complete Gambas installation (ie. with IDE and all its dependencies) is not required for a mere application install. A > developer should be savvy enough to figure out how to do that if desired. > > But, a regular user might indeed appreciate some simple installation streamlining as Mike is attempting. > > Oh, and don't forget yum. You might also want to be careful of (mis?)representation, eg.: > > ~> which apt-get > /usr/bin/apt-get > > ~> which zypper > /usr/bin/zypper > > ~> apt-get --version > zypper 1.13.38 > > ~> zypper --version > zypper 1.13.38 > > From t.lee.davidson at gmail.com Tue Dec 19 19:50:33 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 19 Dec 2017 13:50:33 -0500 Subject: [Gambas-user] Runtime 10 files In-Reply-To: <60eaafa4-7caa-ce40-b855-e0be59c85154@code-it.com> References: <5A38C38B.40105@osnanet.de> <361dd66b-5bb4-bca9-cfa0-d5a3e3919a83@gmail.com> <60eaafa4-7caa-ce40-b855-e0be59c85154@code-it.com> Message-ID: Mike, Is 'If the above command returns "TRUE" the RUNTIME files are installed' now obsolete? And, I could very well be wrong, not being on a deb-based system, but shouldn't "apt install" actually be "apt-get install"? Oh, and it may be a little nit-pick, but to avoid possible confusion on the part of your readers: it's not a "v10" runtime, it's a v3.10.0 runtime. And, in "Gambas3 v3.10.0" the first '3' is redundant. ;-) -- Lee On 12/19/2017 01:35 PM, mikeB wrote: > mikeB here...................................................................................................... > Here is what I'm doing at the present: > ***************************off web site********************************* > All this software was programmed using "Gambas3? v3.10.0" . > > VERY IMPORTANT: before installing any of this software you'll need to have or install the newest Gambas Library and? v10 Runtime > files - most systems will not have these very new files installed yet. You'll only need to do this once! > > Do so via the following 3 terminal commands: > > sudo add-apt-repository ppa:gambas-team/gambas3 > > sudo apt-get update > > sudo apt install gambas3-runtime > > If the above command returns "TRUE" the RUNTIME files are? installed - if not, will give you the option to install. > ************************************************************************* > If anyone knows how to improve this = that would be great! > mikeB > > > > > On 12/19/2017 10:35 AM, T Lee Davidson wrote: >> On 12/19/2017 02:45 AM, Rolf-Werner Eilert wrote: >>> The?script?would >>> >>> 1)?Find?out?which?Gambas?version?is?on?the?machine >>> 1a)?Find?out?if?Gambas-runtime-only?or?complete?on?the?machine >>> 2)?Find?out?which?install?system?(deb?or?rpm?/?apt?or?zypper) >>> 3)?Install?latest?Gambas?runtime?or?complete?from?the?repos,?if?necessary >>> 4)?Install?included?version?of?your?program >> >> Great idea, Rolf. >> >> However, I think you'd be making it a bit more complicated than it needs to be as I have a tendency to do sometimes. >> >> A complete Gambas installation (ie. with IDE and all its dependencies) is not required for a mere application install. A >> developer should be savvy enough to figure out how to do that if desired. >> >> But, a regular user might indeed appreciate some simple installation streamlining as Mike is attempting. >> >> Oh, and don't forget yum. You might also want to be careful of (mis?)representation, eg.: >> >> ~> which apt-get >> /usr/bin/apt-get >> >> ~> which zypper >> /usr/bin/zypper >> >> ~> apt-get --version >> zypper 1.13.38 >> >> ~> zypper --version >> zypper 1.13.38 >> >> > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net From mckaygerhard at gmail.com Tue Dec 19 20:48:43 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 19 Dec 2017 15:48:43 -0400 Subject: [Gambas-user] Runtime 10 files In-Reply-To: <5A38C38B.40105@osnanet.de> References: <5A38C38B.40105@osnanet.de> Message-ID: great! that script maybe must be also introduced into the packager wizard in the gambas ide.. for checks on each instalation in the case ot tar.gz packagin of the ide options when generate Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-19 3:45 GMT-04:00 Rolf-Werner Eilert : > Am 18.12.2017 06:41, schrieb T Lee Davidson: > >> On 12/17/2017 07:46 PM, mikeB wrote: >> >>> ********************************************************************* >>> This software was programmed using "Gambas3 v3.10.0" >>> VERY IMPORTANT: before installing this app you will need to have/ >>> install Gambas Runtime v10 files - most systems will not have >>> these very new files installed yet. You'll only need to do this once! >>> >>> Do so via the terminal commands: >>> >>> sudo add-apt-repository ppa:gambas-team/gambas3 >>> sudo apt-get update >>> gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >>> >>> note: if return value of this last command is "TRUE" then that means >>> you're ready to go (have the v10 Runtime files installed). >>> >>> OTHERWISE IT WILL RETURN >>> >>> "The program 'gbx3' is currently not installed. You can install it by >>> typing: >>> sudo apt install gambas3-runtime >>> >>> Doing so installs the Gambas v10 Runtime files then you're all set. >>> ********************************************************************** >>> >> >> >> You might be able to simplify your instructions if Aptitude (apt-get) >> works similar to YaST. There is an 'aptitude' executable >> installed on my openSUSE system which seems to redirect to YaST. >> >> `sudo apt-get install gambas3-runtime` produces: >> ********** >> Loading repository data... >> Reading installed packages... >> 'gambas3-runtime' is already installed. >> No update candidate for 'gambas3-runtime-3.10.0-20.1.x86_64'. The >> highest available version is already installed. >> Resolving package dependencies... >> >> Nothing to do. >> ********** >> >> If the package is already installed, it looks for an available update. >> So, you may be able to replace: >> gbx3 -e 'Comp(System.FullVersion, "3.10", gb.Natural) >= 0' >> with: >> sudo apt-get install gambas3-runtime >> >> let it automatically search for any available upgrade package, and >> eliminate about 8 lines from your instructions. >> >> That is, if Aptitude works like YaST. >> >> >> > I have been thinking about this yesterday, and came to the conclusion that > I would program a script or something around a script which does the job > just like you proposed. > > The script would > > 1) Find out which Gambas version is on the machine > 1a) Find out if Gambas-runtime-only or complete on the machine > 2) Find out which install system (deb or rpm / apt or zypper) > 3) Install latest Gambas runtime or complete from the repos, if necessary > 4) Install included version of your program > > There are a lot of clever scripts which do one or more of these jobs for > other programs, so it should be easy to study and rewrite those to create a > special Gambas+YourProgram script. One might use a common graphical tool to > wrap the script and handle root password etc. > > But the best of it would be, we might be able to include it as a template > into Gambas, offering the programmer to distribute the application via such > a thing. I am sure, many of the folks here would help to make it run on > every major distro. > > What do you think? > > Regards > Rolf > > > > -------------------------------------------------- > > 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: From bugtracker at gambaswiki.org Tue Dec 19 21:54:55 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 19 Dec 2017 20:54:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1219: Gambas IDE - Error message during 'Update all Forms' menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1219&from=L21haW4- Comment #1 by Beno?t MINISINI: It should be fixed in commit https://gitlab.com/gambas/gambas/commit/eff768b3c6348127fe4706a6af576173a4862e6f Beno?t MINISINI changed the state of the bug to: Fixed. From mb at code-it.com Tue Dec 19 22:01:38 2017 From: mb at code-it.com (mikeB) Date: Tue, 19 Dec 2017 14:01:38 -0700 Subject: [Gambas-user] Runtime 10 files In-Reply-To: References: <5A38C38B.40105@osnanet.de> <361dd66b-5bb4-bca9-cfa0-d5a3e3919a83@gmail.com> <60eaafa4-7caa-ce40-b855-e0be59c85154@code-it.com> Message-ID: yep - you're right on all counts. A BIG THANKS. mikeB On 12/19/2017 11:50 AM, T Lee Davidson wrote: > Mike, > > Is 'If the above command returns "TRUE" the RUNTIME files are installed' now obsolete? > > And, I could very well be wrong, not being on a deb-based system, but shouldn't "apt install" actually be "apt-get install"? > > Oh, and it may be a little nit-pick, but to avoid possible confusion on the part of your readers: it's not a "v10" runtime, it's > a v3.10.0 runtime. And, in "Gambas3 v3.10.0" the first '3' is redundant. ;-) > > From bugtracker at gambaswiki.org Wed Dec 20 04:40:05 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 20 Dec 2017 03:40:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1219: Gambas IDE - Error message during 'Update all Forms' menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1219&from=L21haW4- Comment #2 by Olivier CRUILLES: It works now. all ok. Thank you olivier From t.lee.davidson at gmail.com Wed Dec 20 19:09:03 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 20 Dec 2017 13:09:03 -0500 Subject: [Gambas-user] Problem with DataControl In-Reply-To: <160427076.6142.1513582435431@office.mailbox.org> References: <160427076.6142.1513582435431@office.mailbox.org> Message-ID: On 12/18/2017 02:33 AM, bkv at mailbox.org wrote: > *Hi > > I have a form with a DataControl. I want to write text (comments) into the control. Unfortunately the Enter key has no effect in > this control. I cannot break the line. I can onlyt get one line of text, and if long enough, it will extend out of the visible > part. Also, when I type, the text does not come on the upper part of the control, but on the middle. > > Strangely, I have an other form where the DataControl works OK. > > Help is appreciated > > Greetings, > > Bj?rn* > I don't understand what you mean by, "the text does not come on the upper part of the control, but on the middle." When I type in the control, the text is filled in left to right and top to bottom. Are you using Qt or GTK? Also, I noticed that any text after a linefeed will not be written to the field when using the Save button in the DataBrowser. It might help if you provided us with an archive of your project or of a stripped down version. Often, isolating relevant parts of the code will reveal the problem. -- Lee From mckaygerhard at gmail.com Thu Dec 21 13:57:53 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 21 Dec 2017 08:57:53 -0400 Subject: [Gambas-user] gambas qt4 depends was changes or still can compile in low depends Message-ID: i see recently many changes in the gambas wiki at the webkit related.. still gambas can be compiled with low depends by examble qt4 4.6? please dont cut dont my older hardware! older hardware could no more use recent linux kernels.. (and its non-sense install recent linux in older hardware) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Dec 21 14:01:52 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 21 Dec 2017 09:01:52 -0400 Subject: [Gambas-user] v4l deprecated since? Message-ID: i can see in wiki that v4l comp was deprecated .. err since? if i want to source a camera in my older hardware how can i made? currently SDL2 and Gstreamer cannot do that with many but very older cameras! there's no sense in that! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Dec 21 14:09:23 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 21 Dec 2017 09:09:23 -0400 Subject: [Gambas-user] gambas dinamic packagin.. for debian Message-ID: i started a script that based n daily builds can dinamically make debian packages for now i have fixed static control file and a script that retrieve the sourcesand then create the 3 necesary files for made debian packages dinamically the idea its the we run a script that search the modules of gambas in directory structure and then create the control file.. here firts lines: #!/bin/sh GAMVER=3.10.0 DEBNAM=gambas3 DEBVER=`grep '^Version' ${DEBNAM}.dsc | tr -cd '[0-9\.\-]'` DEBTAR="${DEBNAM}_${DEBVER}.debian.tar.xz" echo "Creating ${DEBTAR}:" tar -cvJf "${DEBTAR}" --exclude='*.ex' debian echo "downloading the gambas sources" wget https://gitlab.com/gambas/gambas/repository/v${GAMVER}/archive.tar.gz -O ${DEBNAM}-${GAMVER}.tar.gz echo "Updating checksums..." ORIGVER=`echo ${DEBVER} | cut -d- -f1` ORIGTAR="${DEBNAM}-${GAMVER}.tar.gz" ORIGSIZE=`stat -c %s ${ORIGTAR}` DEBSIZE=`stat -c %s ${DEBTAR}` echo " `sha256sum ${ORIGTAR} | cut -d' ' -f1` ${ORIGSIZE} ${DEBNAM}_${ORIGVER}.orig.tar.gz" > checksums.txt echo " `sha256sum ${DEBTAR} | cut -d' ' -f1` ${DEBSIZE} ${DEBTAR}" >> checksums.txt echo "Checksums-Sha1:" >> checksums.txt echo " `sha1sum ${ORIGTAR} | cut -d' ' -f1` ${ORIGSIZE} ${DEBNAM}_${ORIGVER}.orig.tar.gz" >> checksums.txt echo " `sha1sum ${DEBTAR} | cut -d' ' -f1` ${DEBSIZE} ${DEBTAR}" >> checksums.txt echo "Files:" >> checksums.txt echo " `md5sum ${ORIGTAR} | cut -d' ' -f1` ${ORIGSIZE} ${DEBNAM}_${ORIGVER}.orig.tar.gz" >> checksums.txt echo " `md5sum ${DEBTAR} | cut -d' ' -f1` ${DEBSIZE} ${DEBTAR}" >> checksums.txt lead='^Checksums-Sha256:$' sed -i "/$lead/,$ { /$lead/{p; r checksums.txt }; d }" ${DEBNAM}.dsc rm checksums.txt cp "${DEBNAM}-${ORIGVER}.tar.gz" "${DEBNAM}_${ORIGVER}.orig.tar.gz" here now we can do normally debian procedures like "dpkg -x" and then "debuild" Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Dec 21 14:27:40 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 21 Dec 2017 14:27:40 +0100 Subject: [Gambas-user] v4l deprecated since? In-Reply-To: References: Message-ID: <13f335d9-8a47-e142-2017-69d66877efcf@gmail.com> Le 21/12/2017 ? 14:01, PICCORO McKAY Lenz a ?crit?: > i can see in wiki that v4l comp was deprecated .. err since? > > > if i want to source a camera in my older hardware how can i made? > currently SDL2 and Gstreamer cannot do that with many but very older > cameras! there's no sense in that! > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > Deprecated means "not maintained anymore". Since when does not actually matter. -- Beno?t Minisini From gambas.fr at gmail.com Thu Dec 21 15:08:53 2017 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 21 Dec 2017 15:08:53 +0100 Subject: [Gambas-user] v4l deprecated since? In-Reply-To: <13f335d9-8a47-e142-2017-69d66877efcf@gmail.com> References: <13f335d9-8a47-e142-2017-69d66877efcf@gmail.com> Message-ID: Instead you can use gb.media. 2017-12-21 14:27 GMT+01:00 Beno?t Minisini : > Le 21/12/2017 ? 14:01, PICCORO McKAY Lenz a ?crit : >> >> i can see in wiki that v4l comp was deprecated .. err since? >> >> >> if i want to source a camera in my older hardware how can i made? >> currently SDL2 and Gstreamer cannot do that with many but very older >> cameras! there's no sense in that! >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> > > Deprecated means "not maintained anymore". Since when does not actually > matter. > > -- > Beno?t Minisini > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net -- Fabien Bodard From bkv at mailbox.org Thu Dec 21 16:27:16 2017 From: bkv at mailbox.org (bkv at mailbox.org) Date: Thu, 21 Dec 2017 16:27:16 +0100 (CET) Subject: [Gambas-user] Problem with DataControl In-Reply-To: References: <160427076.6142.1513582435431@office.mailbox.org> Message-ID: <1727688696.21464.1513870040054@office.mailbox.org> Thanks for your response, Lee. I have attached an archive of my project. The problem is in the form called FMLadelogg and the control is Kommentar. My dekstop is KDE, so I guess I use QT. The control fills from left to right, but not from top to bottom. I get only one line, and I cannot break it. Regards, Bj?rn > On December 20, 2017 at 7:09 PM T Lee Davidson wrote: > > > On 12/18/2017 02:33 AM, bkv at mailbox.org wrote: > > *Hi > > > > I have a form with a DataControl. I want to write text (comments) into the control. Unfortunately the Enter key has no effect in > > this control. I cannot break the line. I can onlyt get one line of text, and if long enough, it will extend out of the visible > > part. Also, when I type, the text does not come on the upper part of the control, but on the middle. > > > > Strangely, I have an other form where the DataControl works OK. > > > > Help is appreciated > > > > Greetings, > > > > Bj?rn* > > > > I don't understand what you mean by, "the text does not come on the upper part of the control, but on the middle." When I type > in the control, the text is filled in left to right and top to bottom. > > Are you using Qt or GTK? > > Also, I noticed that any text after a linefeed will not be written to the field when using the Save button in the DataBrowser. > > It might help if you provided us with an archive of your project or of a stripped down version. Often, isolating relevant parts > of the code will reveal the problem. > > > -- > Lee > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net -------------- next part -------------- A non-text attachment was scrubbed... Name: Ladelogg.tar.gz Type: application/gzip Size: 45766 bytes Desc: not available URL: From mckaygerhard at gmail.com Thu Dec 21 19:01:59 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 21 Dec 2017 14:01:59 -0400 Subject: [Gambas-user] v4l deprecated since? In-Reply-To: References: <13f335d9-8a47-e142-2017-69d66877efcf@gmail.com> Message-ID: gb.media need gstreamer too recent and this does not load/compile in debian lenny/squeeze very well what happened with v4l ? why unmantained? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-21 10:08 GMT-04:00 Fabien Bodard : > Instead you can use gb.media. > > 2017-12-21 14:27 GMT+01:00 Beno?t Minisini : > > Le 21/12/2017 ? 14:01, PICCORO McKAY Lenz a ?crit : > >> > >> i can see in wiki that v4l comp was deprecated .. err since? > >> > >> > >> if i want to source a camera in my older hardware how can i made? > >> currently SDL2 and Gstreamer cannot do that with many but very older > >> cameras! there's no sense in that! > >> > >> > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > > > > Deprecated means "not maintained anymore". Since when does not actually > > matter. > > > > -- > > Beno?t Minisini > > > > -------------------------------------------------- > > > > This is the Gambas Mailing List > > https://lists.gambas-basic.org/listinfo/user > > > > Hosted by https://www.hostsharing.net > > > > -- > Fabien Bodard > > -------------------------------------------------- > > 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: From t.lee.davidson at gmail.com Thu Dec 21 19:42:11 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 21 Dec 2017 13:42:11 -0500 Subject: [Gambas-user] Problem with DataControl In-Reply-To: <1727688696.21464.1513870040054@office.mailbox.org> References: <160427076.6142.1513582435431@office.mailbox.org> <1727688696.21464.1513870040054@office.mailbox.org> Message-ID: <8adc9494-7857-7933-8810-993520a5ce66@gmail.com> Well I've determined the cause of the different behavior, but I don't know how to correct it. The DataControls, both named Kommentar, on FMain and FMLadelogg do behave differently because their respective underlying text controls are different. Inserting "Debug Kommentar.Control" into the Form.Open Subs of each form yields: FMain.Form_Open.9: (TextArea 0xe31448) FMLadelogg.Form_Open.15: (TextBox 0x105ce08) And as we know, TextArea is a multi-line control, and TextBox is single-line. Now according to the Wiki, DataControl.Control is read-only precluding programmatic control of the underlying text editing control. Apparently, that is decided by the interpreter/compiler. And perhaps the difference is because FMLadelogg form is opened as Modal and FMain would not be. Someone else, perhaps Beno?t, will need to clarify that. -- Lee On 12/21/2017 10:27 AM, bkv at mailbox.org wrote: > Thanks for your response, Lee. > I have attached an archive of my project. The problem is in the form called FMLadelogg and the control is Kommentar. My dekstop is KDE, so I guess I use QT. > > The control fills from left to right, but not from top to bottom. I get only one line, and I cannot break it. > > Regards, > Bj?rn > > >> On December 20, 2017 at 7:09 PM T Lee Davidson wrote: >> >> >> On 12/18/2017 02:33 AM, bkv at mailbox.org wrote: >>> *Hi >>> >>> I have a form with a DataControl. I want to write text (comments) into the control. Unfortunately the Enter key has no effect in >>> this control. I cannot break the line. I can onlyt get one line of text, and if long enough, it will extend out of the visible >>> part. Also, when I type, the text does not come on the upper part of the control, but on the middle. >>> >>> Strangely, I have an other form where the DataControl works OK. >>> >>> Help is appreciated >>> >>> Greetings, >>> >>> Bj?rn* >>> >> >> I don't understand what you mean by, "the text does not come on the upper part of the control, but on the middle." When I type >> in the control, the text is filled in left to right and top to bottom. >> >> Are you using Qt or GTK? >> >> Also, I noticed that any text after a linefeed will not be written to the field when using the Save button in the DataBrowser. >> >> It might help if you provided us with an archive of your project or of a stripped down version. Often, isolating relevant parts >> of the code will reveal the problem. >> >> >> -- >> Lee >> >> -------------------------------------------------- >> >> 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 From g4mba5 at gmail.com Thu Dec 21 19:58:03 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 21 Dec 2017 19:58:03 +0100 Subject: [Gambas-user] Problem with DataControl In-Reply-To: <8adc9494-7857-7933-8810-993520a5ce66@gmail.com> References: <160427076.6142.1513582435431@office.mailbox.org> <1727688696.21464.1513870040054@office.mailbox.org> <8adc9494-7857-7933-8810-993520a5ce66@gmail.com> Message-ID: <82b540b4-1764-a988-2dea-cef5899c62c4@gmail.com> Le 21/12/2017 ? 19:42, T Lee Davidson a ?crit?: > Well I've determined the cause of the different behavior, but I don't know how to correct it. > > The DataControls, both named Kommentar, on FMain and FMLadelogg do behave differently because their respective underlying text > controls are different. > > Inserting "Debug Kommentar.Control" into the Form.Open Subs of each form yields: > FMain.Form_Open.9: (TextArea 0xe31448) > FMLadelogg.Form_Open.15: (TextBox 0x105ce08) > > And as we know, TextArea is a multi-line control, and TextBox is single-line. > > Now according to the Wiki, DataControl.Control is read-only precluding programmatic control of the underlying text editing control. > > Apparently, that is decided by the interpreter/compiler. And perhaps the difference is because FMLadelogg form is opened as > Modal and FMain would not be. > > Someone else, perhaps Beno?t, will need to clarify that. > > TextArea is used when the underlying database field has no limit. Otherwise a TextBox is used. -- Beno?t Minisini From jussi.lahtinen at gmail.com Thu Dec 21 20:00:07 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Thu, 21 Dec 2017 21:00:07 +0200 Subject: [Gambas-user] v4l deprecated since? In-Reply-To: References: <13f335d9-8a47-e142-2017-69d66877efcf@gmail.com> Message-ID: It means that original authors Daniel Campos Fern?ndez and Gareth Bult are not maintaining the component anymore. Volunteers? Jussi On Thu, Dec 21, 2017 at 8:01 PM, PICCORO McKAY Lenz wrote: > gb.media need gstreamer too recent and this does not load/compile in > debian lenny/squeeze very well > > what happened with v4l ? why unmantained? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-12-21 10:08 GMT-04:00 Fabien Bodard : > >> Instead you can use gb.media. >> >> 2017-12-21 14:27 GMT+01:00 Beno?t Minisini : >> > Le 21/12/2017 ? 14:01, PICCORO McKAY Lenz a ?crit : >> >> >> >> i can see in wiki that v4l comp was deprecated .. err since? >> >> >> >> >> >> if i want to source a camera in my older hardware how can i made? >> >> currently SDL2 and Gstreamer cannot do that with many but very older >> >> cameras! there's no sense in that! >> >> >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> > >> > Deprecated means "not maintained anymore". Since when does not actually >> > matter. >> > >> > -- >> > Beno?t Minisini >> > >> > -------------------------------------------------- >> > >> > This is the Gambas Mailing List >> > https://lists.gambas-basic.org/listinfo/user >> > >> > Hosted by https://www.hostsharing.net >> >> >> >> -- >> Fabien Bodard >> >> -------------------------------------------------- >> >> 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: From jussi.lahtinen at gmail.com Thu Dec 21 20:05:20 2017 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Thu, 21 Dec 2017 21:05:20 +0200 Subject: [Gambas-user] gambas qt4 depends was changes or still can compile in low depends In-Reply-To: References: Message-ID: Gambas wiki says gb.qt4 and the sub components needs all Qt4 libraries >= Qt 4.5. So, 4.6 should be fine. Also you can custom build Linux kernel for older hardware. It's just that distros are unlikely to offer kernel binaries for very old computers, because they are very rarely used anymore. Jussi On Thu, Dec 21, 2017 at 2:57 PM, PICCORO McKAY Lenz wrote: > i see recently many changes in the gambas wiki at the webkit related.. > > still gambas can be compiled with low depends by examble qt4 4.6? > > please dont cut dont my older hardware! older hardware could no more use > recent linux kernels.. (and its non-sense install recent linux in older > hardware) > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > -------------------------------------------------- > > 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: From t.lee.davidson at gmail.com Thu Dec 21 20:20:37 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 21 Dec 2017 14:20:37 -0500 Subject: [Gambas-user] Problem with DataControl In-Reply-To: <82b540b4-1764-a988-2dea-cef5899c62c4@gmail.com> References: <160427076.6142.1513582435431@office.mailbox.org> <1727688696.21464.1513870040054@office.mailbox.org> <8adc9494-7857-7933-8810-993520a5ce66@gmail.com> <82b540b4-1764-a988-2dea-cef5899c62c4@gmail.com> Message-ID: On 12/21/2017 01:58 PM, Beno?t Minisini wrote: > Le 21/12/2017 ? 19:42, T Lee Davidson a ?crit?: >> Well I've determined the cause of the different behavior, but I don't know how to correct it. >> >> The DataControls, both named Kommentar, on FMain and FMLadelogg do behave differently because their respective underlying text >> controls are different. >> >> Inserting "Debug Kommentar.Control" into the Form.Open Subs of each form yields: >> FMain.Form_Open.9: (TextArea 0xe31448) >> FMLadelogg.Form_Open.15: (TextBox 0x105ce08) >> >> And as we know, TextArea is a multi-line control, and TextBox is single-line. >> >> Now according to the Wiki, DataControl.Control is read-only precluding programmatic control of the underlying text editing >> control. >> >> Apparently, that is decided by the interpreter/compiler. And perhaps the difference is because FMLadelogg form is opened as >> Modal and FMain would not be. >> >> Someone else, perhaps Beno?t, will need to clarify that. >> >> > > TextArea is used when the underlying database field has no limit. Otherwise a TextBox is used. > Thank you for that very useful clarification, Beno?t. However, neither one of the relative underlying database fields has no limit. The one given a TextBox control has VARCHAR(200) and the DataControl given the TextArea has VARCHAR(500). Is 500 above a threshold that is considered 'no limit'? I'm just curious about that for future reference, because I think Bj?rn can solve his problem by simply raising the limit on the one field. -- Lee From g4mba5 at gmail.com Thu Dec 21 20:33:10 2017 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 21 Dec 2017 20:33:10 +0100 Subject: [Gambas-user] Problem with DataControl In-Reply-To: References: <160427076.6142.1513582435431@office.mailbox.org> <1727688696.21464.1513870040054@office.mailbox.org> <8adc9494-7857-7933-8810-993520a5ce66@gmail.com> <82b540b4-1764-a988-2dea-cef5899c62c4@gmail.com> Message-ID: <8566edc6-bcfd-c8a2-1974-131579e5ea6b@gmail.com> Le 21/12/2017 ? 20:20, T Lee Davidson a ?crit?: >> >> TextArea is used when the underlying database field has no limit. Otherwise a TextBox is used. >> > > Thank you for that very useful clarification, Beno?t. > > However, neither one of the relative underlying database fields has no limit. > > The one given a TextBox control has VARCHAR(200) and the DataControl given the TextArea has VARCHAR(500). Is 500 above a > threshold that is considered 'no limit'? > > I'm just curious about that for future reference, because I think Bj?rn can solve his problem by simply raising the limit on the > one field. > > It's just in the source code actually... If the limit is greater than 256 characters, or not limited, then a TextArea is used. Otherwise a TextBox. Regards, -- Beno?t Minisini From t.lee.davidson at gmail.com Thu Dec 21 21:07:32 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 21 Dec 2017 15:07:32 -0500 Subject: [Gambas-user] Problem with DataControl In-Reply-To: <8566edc6-bcfd-c8a2-1974-131579e5ea6b@gmail.com> References: <160427076.6142.1513582435431@office.mailbox.org> <1727688696.21464.1513870040054@office.mailbox.org> <8adc9494-7857-7933-8810-993520a5ce66@gmail.com> <82b540b4-1764-a988-2dea-cef5899c62c4@gmail.com> <8566edc6-bcfd-c8a2-1974-131579e5ea6b@gmail.com> Message-ID: On 12/21/2017 02:33 PM, Beno?t Minisini wrote: > Le 21/12/2017 ? 20:20, T Lee Davidson a ?crit?: >>> >>> TextArea is used when the underlying database field has no limit. Otherwise a TextBox is used. >>> >> >> Thank you for that very useful clarification, Beno?t. >> >> However, neither one of the relative underlying database fields has no limit. >> >> The one given a TextBox control has VARCHAR(200) and the DataControl given the TextArea has VARCHAR(500). Is 500 above a >> threshold that is considered 'no limit'? >> >> I'm just curious about that for future reference, because I think Bj?rn can solve his problem by simply raising the limit on the >> one field. >> >> > > It's just in the source code actually... If the limit is greater than 256 characters, or not limited, then a TextArea is used. > Otherwise a TextBox. > > Regards, > Yes, I could have looked in the source code. But I,more often than not, have difficulty navigating the code as the structure is confusing to me, and I cannot figure out where to look. So, thank you for that immediate answer, Beno?t. To confirm, raising the field defined with VARCHAR(200) to a VARCHAR(300) solved the issue. Curiously, and just FYI for anyone needing to modify a column, sqlite3 does not support a Modify Column operation for Alter Table. I had to dump the database and recreate it (with "ladelogg" the name of the db): echo '.dump' | sqlite3 ladelogg > ladelogg.dump # Manually text edit the field definition in the ladelogg.dump file mv ladelogg ladelogg.bak cat ladelogg.dump | sqlite3 ladelogg -- Lee From mckaygerhard at gmail.com Fri Dec 22 21:17:38 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 22 Dec 2017 16:17:38 -0400 Subject: [Gambas-user] gambas qt4 depends was changes or still can compile in low depends In-Reply-To: References: Message-ID: 2017-12-21 15:05 GMT-04:00 Jussi Lahtinen : > Gambas wiki says gb.qt4 and the sub components needs all Qt4 libraries >= > Qt 4.5. So, 4.6 should be fine. > well remenber that webkit between 4.6 and 4.8 are separated!!!! its not so easy i ask again! should be fine!? > Also you can custom build Linux kernel for older hardware. > recent kernels removed code for older hardware, the only way its use older kernels > because they are very rarely used anymore. > talk by yourself! only the people that pay intenet made a amount of statics in the internet as "modern hardware", but mayority of them dont use linux, and gambas only runs in linux so ... in fact in my country there's very few outsales for modern hardware (very expense) and many older laptops working.. in fact a old-mom dont pay more only due their hardware are "outdated", she can see it workiing and dont pay more for a newer she have a SONY VAIO PCG-Z1VFP recent linux kernels cut the video opengl support for it as example.. > > > Jussi > > On Thu, Dec 21, 2017 at 2:57 PM, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> wrote: > >> i see recently many changes in the gambas wiki at the webkit related.. >> >> still gambas can be compiled with low depends by examble qt4 4.6? >> >> please dont cut dont my older hardware! older hardware could no more use >> recent linux kernels.. (and its non-sense install recent linux in older >> hardware) >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> -------------------------------------------------- >> >> 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: From mckaygerhard at gmail.com Fri Dec 22 21:24:42 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 22 Dec 2017 16:24:42 -0400 Subject: [Gambas-user] v4l deprecated since? In-Reply-To: References: <13f335d9-8a47-e142-2017-69d66877efcf@gmail.com> Message-ID: i revised the code, arrggg there' some C skills need here! ;-( Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-21 15:00 GMT-04:00 Jussi Lahtinen : > It means that original authors Daniel Campos Fern?ndez and Gareth Bult are > not maintaining the component anymore. Volunteers? > > > Jussi > > On Thu, Dec 21, 2017 at 8:01 PM, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> wrote: > >> gb.media need gstreamer too recent and this does not load/compile in >> debian lenny/squeeze very well >> >> what happened with v4l ? why unmantained? >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-12-21 10:08 GMT-04:00 Fabien Bodard : >> >>> Instead you can use gb.media. >>> >>> 2017-12-21 14:27 GMT+01:00 Beno?t Minisini : >>> > Le 21/12/2017 ? 14:01, PICCORO McKAY Lenz a ?crit : >>> >> >>> >> i can see in wiki that v4l comp was deprecated .. err since? >>> >> >>> >> >>> >> if i want to source a camera in my older hardware how can i made? >>> >> currently SDL2 and Gstreamer cannot do that with many but very older >>> >> cameras! there's no sense in that! >>> >> >>> >> >>> >> Lenz McKAY Gerardo (PICCORO) >>> >> http://qgqlochekone.blogspot.com >>> >> >>> > >>> > Deprecated means "not maintained anymore". Since when does not actually >>> > matter. >>> > >>> > -- >>> > Beno?t Minisini >>> > >>> > -------------------------------------------------- >>> > >>> > This is the Gambas Mailing List >>> > https://lists.gambas-basic.org/listinfo/user >>> > >>> > Hosted by https://www.hostsharing.net >>> >>> >>> >>> -- >>> Fabien Bodard >>> >>> -------------------------------------------------- >>> >>> 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: From bkv at mailbox.org Sat Dec 23 18:20:13 2017 From: bkv at mailbox.org (bkv at mailbox.org) Date: Sat, 23 Dec 2017 18:20:13 +0100 (CET) Subject: [Gambas-user] Problem with DataControl In-Reply-To: References: <160427076.6142.1513582435431@office.mailbox.org> <1727688696.21464.1513870040054@office.mailbox.org> <8adc9494-7857-7933-8810-993520a5ce66@gmail.com> <82b540b4-1764-a988-2dea-cef5899c62c4@gmail.com> <8566edc6-bcfd-c8a2-1974-131579e5ea6b@gmail.com> Message-ID: <285179141.10245.1514049614181@office.mailbox.org> Thanks a lot, guys. That fixed it. -Bj?rn > On December 21, 2017 at 9:07 PM T Lee Davidson wrote: > > > > > On 12/21/2017 02:33 PM, Beno?t Minisini wrote: > > Le 21/12/2017 ? 20:20, T Lee Davidson a ?crit : > >>> > >>> TextArea is used when the underlying database field has no limit. Otherwise a TextBox is used. > >>> > >> > >> Thank you for that very useful clarification, Beno?t. > >> > >> However, neither one of the relative underlying database fields has no limit. > >> > >> The one given a TextBox control has VARCHAR(200) and the DataControl given the TextArea has VARCHAR(500). Is 500 above a > >> threshold that is considered 'no limit'? > >> > >> I'm just curious about that for future reference, because I think Bj?rn can solve his problem by simply raising the limit on the > >> one field. > >> > >> > > > > It's just in the source code actually... If the limit is greater than 256 characters, or not limited, then a TextArea is used. > > Otherwise a TextBox. > > > > Regards, > > > > Yes, I could have looked in the source code. But I,more often than not, have difficulty navigating the code as the structure is > confusing to me, and I cannot figure out where to look. So, thank you for that immediate answer, Beno?t. > > To confirm, raising the field defined with VARCHAR(200) to a VARCHAR(300) solved the issue. > > Curiously, and just FYI for anyone needing to modify a column, sqlite3 does not support a Modify Column operation for Alter > Table. I had to dump the database and recreate it (with "ladelogg" the name of the db): > > echo '.dump' | sqlite3 ladelogg > ladelogg.dump > # Manually text edit the field definition in the ladelogg.dump file > mv ladelogg ladelogg.bak > cat ladelogg.dump | sqlite3 ladelogg > > > -- > Lee > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net From owlbrudder at gmail.com Fri Dec 29 04:43:24 2017 From: owlbrudder at gmail.com (Doug Hutcheson) Date: Fri, 29 Dec 2017 13:43:24 +1000 Subject: [Gambas-user] What is wrong with my query syntax? Message-ID: <1514519004.3262.102.camel@gmail.com> Hi. I'm a new user and I have misunderstood something. I am trying to establish a connection to a PostgreSQL database. At http://gambaswiki.org/wiki/howto/database?ht=database-manager, point 6, I read the following example of a query: Dim $Query As String $Query = ?SELECT * FROM Friends WHERE Name = '? & TBXName.Text & ?'? However, no matter how I try, I always get a syntax error on the assignment line. Obviously I am missing something - can you help? Kind regards, Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From johny.provoost at skynet.be Fri Dec 29 11:18:59 2017 From: johny.provoost at skynet.be (Johny Provoost) Date: Fri, 29 Dec 2017 11:18:59 +0100 Subject: [Gambas-user] What is wrong with my query syntax? In-Reply-To: <1514519004.3262.102.camel@gmail.com> References: <1514519004.3262.102.camel@gmail.com> Message-ID: I always use $Query = ?SELECT * FROM Friends WHERE Name = ? & "\"" & TBXName.Text & "\"" and use formname.TBXNamer.Text but don't know if that's the problem By the way, This maillist is changed to 'gambas-user at lists.sourceforge.net'.? You should use this one. Kind Regards, Johny Op 29-12-17 om 04:43 schreef Doug Hutcheson: > Hi. I'm a new user and I have misunderstood something. > > I am trying to establish a connection to a PostgreSQL database. > > ?At http://gambaswiki.org/wiki/howto/database?ht=database-manager, > point 6, I read the following example of a query: > ????????????????Dim $Query As String > ???????????? ??$Query = ?SELECT * FROM Friends WHERE Name = '? & > TBXName.Text & ?'? > > However, no matter how I try, I always get a syntax error on the > assignment line. Obviously I am missing something - can you help? > > Kind regards, > Doug > > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net From bagonergi at gmail.com Fri Dec 29 11:42:03 2017 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 29 Dec 2017 11:42:03 +0100 Subject: [Gambas-user] What is wrong with my query syntax? In-Reply-To: References: <1514519004.3262.102.camel@gmail.com> Message-ID: The question seems to be placed in the correct place [0] Even SQL seems correct, maybe a question of apostrophe? Dim sName As String sName = TBXName.Text sName = Replace(sName,"'","''") $Query = ?SELECT * FROM Friends WHERE Name = '? & sName & ?'? [0] https://lists.gambas-basic.org/pipermail/user/2017-December/thread.html Regards Gianluigi 2017-12-29 11:18 GMT+01:00 Johny Provoost : > I always use > > $Query = ?SELECT * FROM Friends WHERE Name = ? & "\"" & TBXName.Text & "\"" > > and use formname.TBXNamer.Text but don't know if that's the problem > > By the way, This maillist is changed to 'gambas-user at lists.sourceforge.net'. > You should use this one. > > Kind Regards, > > Johny > > > Op 29-12-17 om 04:43 schreef Doug Hutcheson: > >> Hi. I'm a new user and I have misunderstood something. >> >> I am trying to establish a connection to a PostgreSQL database. >> >> At http://gambaswiki.org/wiki/howto/database?ht=database-manager, point >> 6, I read the following example of a query: >> Dim $Query As String >> $Query = ?SELECT * FROM Friends WHERE Name = '? & >> TBXName.Text & ?'? >> >> However, no matter how I try, I always get a syntax error on the >> assignment line. Obviously I am missing something - can you help? >> >> Kind regards, >> Doug >> >> >> -------------------------------------------------- >> >> 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: From d4t4full at gmail.com Fri Dec 29 12:07:29 2017 From: d4t4full at gmail.com (ML) Date: Fri, 29 Dec 2017 08:07:29 -0300 Subject: [Gambas-user] What is wrong with my query syntax? In-Reply-To: References: <1514519004.3262.102.camel@gmail.com> Message-ID: <11352897-4c74-cd85-9f77-3ddd45ea4412@gmail.com> Just a very stupid observation: The query is completed by the contents of a textbox control (called TBXName) on the form where it's supposed to be placed. If the syntax error comes from GAMBAS, this textbox may not exist (didn't try actually, but a possibility nonetheless). On the other hand, if the error comes from the DB Engine (PostgreSQL in this case), then the query may be malformed; maybe a single quote in the textbox data is screwing the query up. For example, suppose the textbox has the name "O'Malley". The query string would become the following: ? ?SELECT * FROM Friends WHERE Name = 'O'Malley'? As you can see, the WHERE clause becomes "WHERE Name = 'O'" and the "Malley'" excess string post-clause will trigger the syntax error at the DB Engine level. You MUST escape all apostrophes at the very basic level or, better, use StoredProcedures with Parameters. Google up "SQL Injection" for (lotsa) more info. Try with "' OR 1 --" in the textbox data to see some unwanted effects abused by database attackers... Regards, zxMarce *On 29/12/17 07:42, Gianluigi wrote:* > The question seems to be placed in the correct place [0] > Even SQL seems correct, maybe a question of apostrophe? > Dim sName As String > sName = TBXName.Text > sName = Replace(sName,"'","''") > $Query = ?SELECT * FROM Friends WHERE Name = '? & sName & ?'? > [0] > https://lists.gambas-basic.org/pipermail/user/2017-December/thread.html > Regards > Gianluigi > > *2017-12-29 11:18 GMT+01:00 Johny Provoost ** >**:* > > I always use > $Query = ?SELECT * FROM Friends WHERE Name = ? & "\"" & > TBXName.Text & "\"" > and use formname.TBXNamer.Text but don't know if that's the problem > By the way, This maillist is changed to > 'gambas-user at lists.sourceforge.net > '.? You should use this one. > Kind Regards, > Johny > > *Op 29-12-17 om 04:43 schreef Doug Hutcheson:* > > Hi. I'm a new user and I have misunderstood something. > I am trying to establish a connection to a PostgreSQL database. > ?At > http://gambaswiki.org/wiki/howto/database?ht=database-manager > , > point 6, I read the following example of a query: > ????????????????Dim $Query As String > ???????????? ??$Query = ?SELECT * FROM Friends WHERE Name = '? > & TBXName.Text & ?'? > However, no matter how I try, I always get a syntax error on > the assignment line. Obviously I am missing something - can > you help? > Kind regards, > Doug > -------------- next part -------------- An HTML attachment was scrubbed... URL: From johny.provoost at skynet.be Fri Dec 29 12:35:23 2017 From: johny.provoost at skynet.be (Johny Provoost) Date: Fri, 29 Dec 2017 12:35:23 +0100 Subject: [Gambas-user] What is wrong with my query syntax? In-Reply-To: <11352897-4c74-cd85-9f77-3ddd45ea4412@gmail.com> References: <1514519004.3262.102.camel@gmail.com> <11352897-4c74-cd85-9f77-3ddd45ea4412@gmail.com> Message-ID: An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Dec 29 13:03:42 2017 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 29 Dec 2017 13:03:42 +0100 Subject: [Gambas-user] What is wrong with my query syntax? In-Reply-To: References: <1514519004.3262.102.camel@gmail.com> <11352897-4c74-cd85-9f77-3ddd45ea4412@gmail.com> Message-ID: AFAIK, it works only with SQLite it does not work with MySQL and Postgres. Regards Gianluigi 2017-12-29 12:35 GMT+01:00 Johny Provoost : > Thats why I always use > > ?SELECT * FROM Friends WHERE Name =" & "\"" & TBXName.Text & "\"" > > to avoid that. In Belgium we got a lot of names with a ' in the name. > > Op 29-12-17 om 12:07 schreef ML: > > Just a very stupid observation: The query is completed by the contents of > a textbox control (called TBXName) on the form where it's supposed to be > placed. > If the syntax error comes from GAMBAS, this textbox may not exist (didn't > try actually, but a possibility nonetheless). > > On the other hand, if the error comes from the DB Engine (PostgreSQL in > this case), then the query may be malformed; maybe a single quote in the > textbox data is screwing the query up. > For example, suppose the textbox has the name "O'Malley". The query string > would become the following: > > ?SELECT * FROM Friends WHERE Name = 'O'Malley'? > > As you can see, the WHERE clause becomes "WHERE Name = 'O'" and the > "Malley'" excess string post-clause will trigger the syntax error at the DB > Engine level. > You MUST escape all apostrophes at the very basic level or, better, use > StoredProcedures with Parameters. Google up "SQL Injection" for (lotsa) > more info. > Try with "' OR 1 --" in the textbox data to see some unwanted effects > abused by database attackers... > > Regards, > zxMarce > > *On 29/12/17 07:42, Gianluigi wrote:* > > The question seems to be placed in the correct place [0] > Even SQL seems correct, maybe a question of apostrophe? > Dim sName As String > sName = TBXName.Text > sName = Replace(sName,"'","''") > $Query = ?SELECT * FROM Friends WHERE Name = '? & sName & ?'? > [0] https://lists.gambas-basic.org/pipermail/user/2017- > December/thread.html > Regards > Gianluigi > > *2017-12-29 11:18 GMT+01:00 Johny Provoost ** >**:* > >> I always use >> $Query = ?SELECT * FROM Friends WHERE Name = ? & "\"" & TBXName.Text & >> "\"" >> and use formname.TBXNamer.Text but don't know if that's the problem >> By the way, This maillist is changed to 'gambas-user at lists.sourceforge >> .net'. You should use this one. >> Kind Regards, >> Johny >> >> * Op 29-12-17 om 04:43 schreef Doug Hutcheson:* >> >>> Hi. I'm a new user and I have misunderstood something. >>> I am trying to establish a connection to a PostgreSQL database. >>> At http://gambaswiki.org/wiki/howto/database?ht=database-manager, >>> point 6, I read the following example of a query: >>> Dim $Query As String >>> $Query = ?SELECT * FROM Friends WHERE Name = '? & >>> TBXName.Text & ?'? >>> However, no matter how I try, I always get a syntax error on the >>> assignment line. Obviously I am missing something - can you help? >>> Kind regards, >>> Doug >>> >> > > > -------------------------------------------------- > > This is the Gambas Mailing Listhttps://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net > > > -- > > ------------------------------ > > *Vriendelijke Groeten* > > *Johny Provoost* > > *mailto: **johny.provoost at skynet.be* > > *mailto: **johny.provoost at gmail.com* > > *Website:* http://www.jepe.be or http://www.johnyprovoost.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: From bagonergi at gmail.com Fri Dec 29 14:16:08 2017 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 29 Dec 2017 14:16:08 +0100 Subject: [Gambas-user] What is wrong with my query syntax? In-Reply-To: References: <1514519004.3262.102.camel@gmail.com> <11352897-4c74-cd85-9f77-3ddd45ea4412@gmail.com> Message-ID: What an idiot I am, miss the ";" final. To avoid mistakes I write the queries like that: sMySql = "SELECT *" sMySql &= " FROM Friends" sMySql &= " WHERE Name='" & sName & "'" sMySql &= ";" Regards Gianluigi 2017-12-29 13:03 GMT+01:00 Gianluigi : > AFAIK, it works only with SQLite it does not work with MySQL and Postgres. > > Regards > Gianluigi > > 2017-12-29 12:35 GMT+01:00 Johny Provoost : > >> Thats why I always use >> >> ?SELECT * FROM Friends WHERE Name =" & "\"" & TBXName.Text & "\"" >> >> to avoid that. In Belgium we got a lot of names with a ' in the name. >> >> Op 29-12-17 om 12:07 schreef ML: >> >> Just a very stupid observation: The query is completed by the contents of >> a textbox control (called TBXName) on the form where it's supposed to be >> placed. >> If the syntax error comes from GAMBAS, this textbox may not exist (didn't >> try actually, but a possibility nonetheless). >> >> On the other hand, if the error comes from the DB Engine (PostgreSQL in >> this case), then the query may be malformed; maybe a single quote in the >> textbox data is screwing the query up. >> For example, suppose the textbox has the name "O'Malley". The query >> string would become the following: >> >> ?SELECT * FROM Friends WHERE Name = 'O'Malley'? >> >> As you can see, the WHERE clause becomes "WHERE Name = 'O'" and the >> "Malley'" excess string post-clause will trigger the syntax error at the DB >> Engine level. >> You MUST escape all apostrophes at the very basic level or, better, use >> StoredProcedures with Parameters. Google up "SQL Injection" for (lotsa) >> more info. >> Try with "' OR 1 --" in the textbox data to see some unwanted effects >> abused by database attackers... >> >> Regards, >> zxMarce >> >> *On 29/12/17 07:42, Gianluigi wrote:* >> >> The question seems to be placed in the correct place [0] >> Even SQL seems correct, maybe a question of apostrophe? >> Dim sName As String >> sName = TBXName.Text >> sName = Replace(sName,"'","''") >> $Query = ?SELECT * FROM Friends WHERE Name = '? & sName & ?'? >> [0] https://lists.gambas-basic.org/pipermail/user/2017-December/ >> thread.html >> Regards >> Gianluigi >> >> *2017-12-29 11:18 GMT+01:00 Johny Provoost **> >**:* >> >>> I always use >>> $Query = ?SELECT * FROM Friends WHERE Name = ? & "\"" & TBXName.Text & >>> "\"" >>> and use formname.TBXNamer.Text but don't know if that's the problem >>> By the way, This maillist is changed to 'gambas-user at lists.sourceforge >>> .net'. You should use this one. >>> Kind Regards, >>> Johny >>> >>> * Op 29-12-17 om 04:43 schreef Doug Hutcheson:* >>> >>>> Hi. I'm a new user and I have misunderstood something. >>>> I am trying to establish a connection to a PostgreSQL database. >>>> At http://gambaswiki.org/wiki/howto/database?ht=database-manager, >>>> point 6, I read the following example of a query: >>>> Dim $Query As String >>>> $Query = ?SELECT * FROM Friends WHERE Name = '? & >>>> TBXName.Text & ?'? >>>> However, no matter how I try, I always get a syntax error on the >>>> assignment line. Obviously I am missing something - can you help? >>>> Kind regards, >>>> Doug >>>> >>> >> >> >> -------------------------------------------------- >> >> This is the Gambas Mailing Listhttps://lists.gambas-basic.org/listinfo/user >> >> Hosted by https://www.hostsharing.net >> >> >> -- >> >> ------------------------------ >> >> *Vriendelijke Groeten* >> >> *Johny Provoost* >> >> *mailto: **johny.provoost at skynet.be* >> >> *mailto: **johny.provoost at gmail.com* >> >> *Website:* http://www.jepe.be or http://www.johnyprovoost.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: From bugtracker at gambaswiki.org Fri Dec 29 16:06:19 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 29 Dec 2017 15:06:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1220: error select case (format code) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1220&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- error select case (format code) Type : Bug Priority : Low Gambas version : Unknown Product : Bugtracker Description ----------- Public Sub cbxBuscar_Enter() Select Case cbxBuscar.Index '25 dic 2017 Case 0 'Todos cbxBuscar.Tooltip = "Buscar? en todos los libros de las Escrituras" Case 1 'Nuevo Testamento cbxBuscar.Tooltip = "Buscar? en los siguientes libros:
" & "Mateo, Marcos, Lucas, Juan, Hechos, Romanos, 1 de Corintios, 2 de Corintios, G?latas, Efesios, Filipenses," & "Colosenses, 1 de Tesalonicenses, 2 de Tesalonicenses, 1 de Timoteo, 2 de Timoteo, Tito," & "Filem?n, Hebreos, Santiago, 1 de Pedro, 2 de Pedro, 1 de Juan, 2 de Juan, 3 de Juan, Judas y Apocalipsis." Case 2 'Antiguo Testamento cbxBuscar.Tooltip = "Buscar? en:
" & "G?nesis, ?xodo, Lev?tico, N?meros, Deuteronomio, " & "Josu?, Jueces, Rut, 1 de Samuel, 2 de Samuel, 1 de Reyes, 2 de Reyes, 1 de Cr?nicas, 2 de Cr?nicas, " & "Esdras, Nehem?as, Ester, Job, Salmos, Proverbios, Eclesiast?s, Cantares, Isa?as, Jerem?as, Lamentaciones, " & "Ezequiel, Daniel, Oseas, Joel, Am?s, Abd?as, Jon?s, Miqueas, Nahum, " & "Habacuc, Sofonias, Hageo, Zacar?as y Malaqu?as." Case 3 'La tora cbxBuscar.Tooltip = "Buscar? en los 5 primeros libros del antiguo Testamento:
" & "G?nesis, ?xodo, Lev?tico, N?meros y Deuteronomio." Case 5 'Profetas Mayores cbxBuscar.Tooltip = "Buscar? en:
" & "Isa?as, Jerem?as, Ezequiel y Daniel.
(Antiguo Testamento)" Case 6 'Profetas Menores cbxBuscar.Tooltip = "Buscar? en:
" & "Oseas, Joel, Am?s, Abd?as, Jon?s, Miqueas, Nahum, " & "Habacuc, Sofonias, Hageo, Zacar?as y Malaqu?as.
(Antiguo Testamento)" Case 7 'Cartas de Pablo cbxBuscar.Tooltip = "Buscar? en estos libros:" & "
Romanos, 1 de Corintios, 2 de Corintios, G?latas, Efesios," & "Filipenses, Colosenses, 1 de Tesalonicenses, 2 de Tesalonicenses," & "1 de Timoteo, 2 de Timoteo, Tito y Filem?n." & "
(Nuevo Testamento)" Case 8 'Los Evangelistas "Mateo, Marcos, Lucas, Juan" cbxBuscar.Tooltip = "Buscar? en los libros:
Mateo, Marcos, Lucas y Juan.
(Nuevo Testamento)" Case 9 'Libros historicos cbxBuscar.Tooltip = "Buscar? en los siguientes libros:
" & "Josu?, Jueces, Rut, 1 de Samuel, 2 de Samuel,
1 de Reyes, 2 de Reyes, 1 de Cr?nicas,
2 de Cr?nicas, Esdras, Nehemias y Ester. " & "
(Antiguo Testamento)" Case Else cbxBuscar.Tooltip = "?" End Select End System information ------------------ Gambas=3.9.2 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86 Distribution=Linux Mint 17.3 Rosa Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1950M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 From bugtracker at gambaswiki.org Fri Dec 29 16:42:05 2017 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 29 Dec 2017 15:42:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1220: error select case (format code) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1220&from=L21haW4- Comment #1 by Gianluigi GRADASCHI: I think you must use the Change event. Regards Gianluigi From owlbrudder at gmail.com Sun Dec 31 02:26:37 2017 From: owlbrudder at gmail.com (Doug Hutcheson) Date: Sun, 31 Dec 2017 11:26:37 +1000 Subject: [Gambas-user] What is wrong with my query syntax? In-Reply-To: References: <1514519004.3262.102.camel@gmail.com> <11352897-4c74-cd85-9f77-3ddd45ea4412@gmail.com> Message-ID: <1514683597.12546.66.camel@gmail.com> Hi everyone. I solved that syntax error: it was due to some invisible character(s) being brought across when I cut and pasted from the wiki. When I typed the code by hand, the problem went away. Many thanks for all your help.Doug On Fri, 2017-12-29 at 14:16 +0100, Gianluigi wrote: > What an idiot I am, miss the ";" final. > To avoid mistakes I write the queries like that: > > sMySql = "SELECT *" > sMySql &= " FROM Friends" > sMySql &= " WHERE Name='" & sName & "'" > sMySql &= ";" > > Regards > Gianluigi > > 2017-12-29 13:03 GMT+01:00 Gianluigi : > > AFAIK, it works only with SQLite it does not work with MySQL and > > Postgres. > > > > Regards > > Gianluigi > > > > 2017-12-29 12:35 GMT+01:00 Johny Provoost > >: > > > > > > > > > > > > > > > Thats why I always use > > > > > > > > > ?SELECT * FROM Friends WHERE Name =" & "\"" & > > > TBXName.Text & "\"" > > > > > > > > > to avoid that. In Belgium we got a lot of names with a ' in > > > the > > > name. > > > > > > > > > > > > > > > Op 29-12-17 om 12:07 schreef ML: > > > > > > > > > > > > > > > > > Just a very stupid observation: The query is completed by > > > > the > > > > contents of a textbox control (called TBXName) on the > > > > form where > > > > it's supposed to be placed. > > > > > > > > If the syntax error comes from GAMBAS, this textbox may > > > > not exist > > > > (didn't try actually, but a possibility nonetheless). > > > > > > > > > > > > > > > > On the other hand, if the error comes from the DB Engine > > > > (PostgreSQL in this case), then the query may be > > > > malformed; maybe > > > > a single quote in the textbox data is screwing the query > > > > up. > > > > > > > > For example, suppose the textbox has the name "O'Malley". > > > > The > > > > query string would become the following: > > > > > > > > > > > > > > > > ?SELECT * FROM Friends WHERE Name = 'O'Malley'? > > > > > > > > > > > > > > > > As you can see, the WHERE clause becomes "WHERE Name = > > > > 'O'" and > > > > the "Malley'" excess string post-clause will trigger the > > > > syntax > > > > error at the DB Engine level. > > > > > > > > You MUST escape all apostrophes at the very basic level > > > > or, > > > > better, use StoredProcedures with Parameters. Google up > > > > "SQL > > > > Injection" for (lotsa) more info. > > > > > > > > Try with "' OR 1 --" in the textbox data to see some > > > > unwanted > > > > effects abused by database attackers... > > > > > > > > > > > > > > > > Regards, > > > > > > > > zxMarce > > > > > > > > > > > > > > > > On 29/12/17 07:42, Gianluigi > > > > wrote: > > > > > > > > > > > > > > > > > The question seems to be placed in the correct > > > > > place [0] > > > > > > > > > > Even SQL seems correct, maybe a question of > > > > > apostrophe? > > > > > > > > > > Dim sName As String > > > > > > > > > > sName = TBXName.Text > > > > > > > > > > sName = Replace(sName,"'","''") > > > > > > > > > > $Query = ?SELECT * FROM Friends WHERE Name = '? & > > > > > sName > > > > > & ?'? > > > > > > > > > > [0] https://lists.gambas-basic.org/pipermail/user/2 > > > > > 017-December/thread.html > > > > > > > > > > Regards > > > > > > > > > > Gianluigi > > > > > > > > > > > > > > > > > > > > > > > > > 2017-12-29 11:18 GMT+01:00 Johny > > > > > Provoost : > > > > > > > > > > > > > > > > I always > > > > > > use > > > > > > > > > > > > $Query = ?SELECT * FROM Friends WHERE Name = > > > > > > ? & "\"" > > > > > > & TBXName.Text & "\"" > > > > > > > > > > > > and use formname.TBXNamer.Text but don't know > > > > > > if that's > > > > > > the problem > > > > > > > > > > > > By the way, This maillist is changed to 'gamb > > > > > > as-user at lists.sourceforge.net'. > > > > > > You should use this one. > > > > > > > > > > > > Kind Regards, > > > > > > > > > > > > Johny > > > > > > > > > > > > > > > > > > > > > > > > Op 29-12-17 om 04:43 schreef Doug Hutcheson: > > > > > > > > > > > > > > > > > > > Hi. > > > > > > > I'm a new user and I have misunderstood > > > > > > > something. > > > > > > > > > > > > > > I am trying to establish a connection to > > > > > > > a PostgreSQL > > > > > > > database. > > > > > > > > > > > > > > At http://gambaswiki.org/wiki/howto/data > > > > > > > base?ht=database-manager, > > > > > > > point 6, I read the following example of > > > > > > > a query: > > > > > > > > > > > > > > Dim $Query As String > > > > > > > > > > > > > > $Query = ?SELECT * FROM > > > > > > > Friends WHERE > > > > > > > Name = '? & TBXName.Text & ?'? > > > > > > > > > > > > > > However, no matter how I try, I always > > > > > > > get a syntax > > > > > > > error on the assignment line. Obviously I > > > > > > > am missing > > > > > > > something - can you help? > > > > > > > > > > > > > > Kind regards, > > > > > > > > > > > > > > Doug > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------- > > > > > > > > This is the Gambas Mailing List > > > > https://lists.gambas-basic.org/listinfo/user > > > > > > > > Hosted by https://www.hostsharing.net > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Vriendelijke > > > Groeten > > > Johny > > > Provoost > > > mailto: > > > johny.provoost at skynet.be > > > mailto: > > > johny.provoost at gmail.com > > > Website: > > > http://www.jepe.be > > > or http://www.johnyprovoost.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: From owlbrudder at gmail.com Sun Dec 31 02:44:24 2017 From: owlbrudder at gmail.com (Doug Hutcheson) Date: Sun, 31 Dec 2017 11:44:24 +1000 Subject: [Gambas-user] Extracting fields from a Result Message-ID: <1514684664.12546.82.camel@gmail.com> Hi everyone. I have successfully connected to my PostgreSQL database and the field count in the Result from my query is correct, but all my attempts to extract data from the fields have failed. I am cobbling together code from the wiki and from other posts here, but I am still missing something. The table I am reading from has exactly one row and 35 fields. The first field is named txtMasterDatabase. My code declares a Field and a Result as follows: Dim $Field As ResultField Dim $Result As Result The query works correctly: $Query = "Select * From abpa.tblParameters" $Result = $Con.Exec($Query) The field count is correct - 35: Message("Fields count = " & $Result.Fields.Count) Now I try to loop through the fields in the result: For Each $Field In $Result.Fields Message($Field.Name) Next The problem occurs on the For Each line in that the Basic IDE displays an error at this point: Unknown field: txtMasterDatabase in FRMStart:41 As I said above, the first field in the tuple is named txtMasterDatabase, so Gambas is at least seeing it. Why is it telling me the field is unknown? Thanks for any help and Happy New Year,Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From owlbrudder at gmail.com Sun Dec 31 03:00:24 2017 From: owlbrudder at gmail.com (Doug Hutcheson) Date: Sun, 31 Dec 2017 12:00:24 +1000 Subject: [Gambas-user] Extracting fields from a Result In-Reply-To: <1514684664.12546.82.camel@gmail.com> References: <1514684664.12546.82.camel@gmail.com> Message-ID: <1514685624.12546.84.camel@gmail.com> Darn. Still getting used to the conventions. I should have said I am running Gambas 3.10.0 on Fedora 28 Linux. On Sun, 2017-12-31 at 11:44 +1000, Doug Hutcheson wrote: > Hi everyone. > I have successfully connected to my PostgreSQL database and the field > count in the Result from my query is correct, but all my attempts to > extract data from the fields have failed. I am cobbling together code > from the wiki and from other posts here, but I am still missing > something. > The table I am reading from has exactly one row and 35 fields. The > first field is named txtMasterDatabase. > My code declares a Field and a Result as follows: Dim $Field > As ResultField Dim $Result As Result > The query works correctly: $Query = "Select * From > abpa.tblParameters" $Result = $Con.Exec($Query) > The field count is correct - 35: Message("Fields count = " > & $Result.Fields.Count) > Now I try to loop through the fields in the result: For > Each $Field In > $Result.Fields Message($Field.Name) Next > The problem occurs on the For Each line in that the Basic IDE > displays an error at this point: Unknown field: > txtMasterDatabase in FRMStart:41 > As I said above, the first field in the tuple is named > txtMasterDatabase, so Gambas is at least seeing it. Why is it telling > me the field is unknown? > Thanks for any help and Happy New Year,Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From owlbrudder at gmail.com Sun Dec 31 07:26:01 2017 From: owlbrudder at gmail.com (Doug Hutcheson) Date: Sun, 31 Dec 2017 16:26:01 +1000 Subject: [Gambas-user] Extracting fields from a Result In-Reply-To: <1514685624.12546.84.camel@gmail.com> References: <1514684664.12546.82.camel@gmail.com> <1514685624.12546.84.camel@gmail.com> Message-ID: <1514701561.12546.114.camel@gmail.com> This just gets more interesting. The For Each ... Next loop fails on the first line, as previously described. After some bashing and hacking, I found a simple loop works fine: For intLoop = 0 To MyResult.Fields.Count - 1 Message(MyResult.Fields[intLoop].Name & ": " & MyResult[intLoop] & ": " & MyResult.Fields[intLoop].Length & ": " & MyResult.Fields[intLoop].Type) Next Given a field named txtMasterDatabase, should the following work? Message(MyResult!txtMasterDatabase)... because it throws 'Unknown field txtMasterDatabase ..." Many thanks for help on this. Kind regards,Doug On Sun, 2017-12-31 at 12:00 +1000, Doug Hutcheson wrote: > Darn. Still getting used to the conventions. I should have said I am > running Gambas 3.10.0 on Fedora 28 Linux. > On Sun, 2017-12-31 at 11:44 +1000, Doug Hutcheson wrote: > > Hi everyone. > > I have successfully connected to my PostgreSQL database and the > > field count in the Result from my query is correct, but all my > > attempts to extract data from the fields have failed. I am cobbling > > together code from the wiki and from other posts here, but I am > > still missing something. > > The table I am reading from has exactly one row and 35 fields. The > > first field is named txtMasterDatabase. > > My code declares a Field and a Result as follows: Dim > > $Field As ResultField Dim $Result As Result > > The query works correctly: $Query = "Select * From > > abpa.tblParameters" $Result = $Con.Exec($Query) > > The field count is correct - 35: Message("Fields count = > > " & $Result.Fields.Count) > > Now I try to loop through the fields in the result: For > > Each $Field In > > $Result.Fields Message($Field.Name) Next > > The problem occurs on the For Each line in that the Basic IDE > > displays an error at this point: Unknown field: > > txtMasterDatabase in FRMStart:41 > > As I said above, the first field in the tuple is named > > txtMasterDatabase, so Gambas is at least seeing it. Why is it > > telling me the field is unknown? > > Thanks for any help and Happy New Year,Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Sun Dec 31 14:22:31 2017 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sun, 31 Dec 2017 14:22:31 +0100 Subject: [Gambas-user] Extracting fields from a Result In-Reply-To: <1514701561.12546.114.camel@gmail.com> References: <1514684664.12546.82.camel@gmail.com> <1514685624.12546.84.camel@gmail.com> <1514701561.12546.114.camel@gmail.com> Message-ID: It seem the field txtMasterDatabase does'nt exist. I think i need the whole source hto understand the problem 2017-12-31 7:26 GMT+01:00 Doug Hutcheson : > This just gets more interesting. > > The For Each ... Next loop fails on the first line, as previously described. > > After some bashing and hacking, I found a simple loop works fine: > For intLoop = 0 To MyResult.Fields.Count - 1 > Message(MyResult.Fields[intLoop].Name & ": " & > MyResult[intLoop] & ": " & MyResult.Fields[intLoop].Length & ": " & > MyResult.Fields[intLoop].Type) > Next > > Given a field named txtMasterDatabase, should the following work? > Message(MyResult!txtMasterDatabase) > ... because it throws 'Unknown field txtMasterDatabase ..." > > Many thanks for help on this. > > Kind regards, > Doug > > On Sun, 2017-12-31 at 12:00 +1000, Doug Hutcheson wrote: > > Darn. Still getting used to the conventions. I should have said I am running > Gambas 3.10.0 on Fedora 28 Linux. > > On Sun, 2017-12-31 at 11:44 +1000, Doug Hutcheson wrote: > > Hi everyone. > > I have successfully connected to my PostgreSQL database and the field count > in the Result from my query is correct, but all my attempts to extract data > from the fields have failed. I am cobbling together code from the wiki and > from other posts here, but I am still missing something. > > The table I am reading from has exactly one row and 35 fields. The first > field is named txtMasterDatabase. > > My code declares a Field and a Result as follows: > Dim $Field As ResultField > Dim $Result As Result > > The query works correctly: > $Query = "Select * From abpa.tblParameters" > $Result = $Con.Exec($Query) > > The field count is correct - 35: > Message("Fields count = " & $Result.Fields.Count) > > Now I try to loop through the fields in the result: > For Each $Field In $Result.Fields > Message($Field.Name) > Next > > The problem occurs on the For Each line in that the Basic IDE displays an > error at this point: > Unknown field: txtMasterDatabase in FRMStart:41 > > As I said above, the first field in the tuple is named txtMasterDatabase, so > Gambas is at least seeing it. Why is it telling me the field is unknown? > > Thanks for any help and Happy New Year, > Doug > > > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net > -- Fabien Bodard From t.lee.davidson at gmail.com Sun Dec 31 18:49:43 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sun, 31 Dec 2017 12:49:43 -0500 Subject: [Gambas-user] Extracting fields from a Result In-Reply-To: <1514701561.12546.114.camel@gmail.com> References: <1514684664.12546.82.camel@gmail.com> <1514685624.12546.84.camel@gmail.com> <1514701561.12546.114.camel@gmail.com> Message-ID: <8c776eb0-44f9-bf27-ddbf-a671ea9774d2@gmail.com> Yes, MyResult!txtMasterDatabase should work. (Did you copy/paste that name, or type it in directly?) The For Each loop should work as well. I tried a simple command-line application on a MySQL data table with just one row. All the application does is, first connect to the database, and then 'MyResult = hConn.Exec("select * from users")' A For Each loop prints the field names just fine. And, 'Print MyResult!id' displays the correct value. Perhaps there is a bug in the Gambas PostgreSQL driver. Can you test on a MySQL table to see if that works for you? -- Lee On 12/31/2017 01:26 AM, Doug Hutcheson wrote: > This just gets more interesting. > > The For Each ... Next loop fails on the first line, as previously described. > > After some bashing and hacking, I found a simple loop works fine: > ??????????????For intLoop = 0 To MyResult.Fields.Count - 1 > ????????????????Message(MyResult.Fields[intLoop].Name & ": " & MyResult[intLoop] & ": " & MyResult.Fields[intLoop].Length & ": " > & MyResult.Fields[intLoop].Type) > ??????????????Next > > Given a field named txtMasterDatabase, should the following work? > Message(MyResult!txtMasterDatabase) > ... because it throws 'Unknown field txtMasterDatabase ..." > > Many thanks for help on this. > > Kind regards, > Doug > > On Sun, 2017-12-31 at 12:00 +1000, Doug Hutcheson wrote: >> Darn. Still getting used to the conventions. I should have said I am running Gambas 3.10.0 on Fedora 28 Linux. >> >> On Sun, 2017-12-31 at 11:44 +1000, Doug Hutcheson wrote: >>> Hi everyone. >>> >>> I have successfully connected to my PostgreSQL database and the field count in the Result from my query is correct, but all >>> my attempts to extract data from the fields have failed. I am cobbling together code from the wiki and from other posts here, >>> but I am still missing something. >>> >>> The table I am reading from has exactly one row and 35 fields. The first field is named txtMasterDatabase. >>> >>> My code declares a Field and a Result as follows: >>> ??????????Dim $Field As ResultField >>> ??????????Dim $Result As Result >>> >>> The query works correctly: >>> ???????????$Query = "Select * From abpa.tblParameters" >>> ???????????$Result = $Con.Exec($Query) >>> >>> The field count is correct - 35: >>> ???????????Message("Fields count = " & $Result.Fields.Count) >>> >>> Now I try to loop through the fields in the result: >>> ???????????For Each $Field In $Result.Fields >>> ????????????Message($Field.Name) >>> ???????????Next >>> >>> The problem occurs on the For Each line in that the Basic IDE displays an error at this point: >>> Unknown field: txtMasterDatabase in FRMStart:41 >>> >>> As I said above, the first field in the tuple is named txtMasterDatabase, so Gambas is at least seeing it. Why is it telling >>> me the field is unknown? >>> >>> Thanks for any help and Happy New Year, >>> Doug > > > > -------------------------------------------------- > > This is the Gambas Mailing List > https://lists.gambas-basic.org/listinfo/user > > Hosted by https://www.hostsharing.net > From mckaygerhard at gmail.com Sun Dec 31 20:03:46 2017 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Sun, 31 Dec 2017 15:03:46 -0400 Subject: [Gambas-user] Extracting fields from a Result In-Reply-To: <8c776eb0-44f9-bf27-ddbf-a671ea9774d2@gmail.com> References: <1514684664.12546.82.camel@gmail.com> <1514685624.12546.84.camel@gmail.com> <1514701561.12546.114.camel@gmail.com> <8c776eb0-44f9-bf27-ddbf-a671ea9774d2@gmail.com> Message-ID: its a bug in the rest of drivers, i confirmed some time ago... due "too much mysql-like" development, its like ms-like only tests and assume all are done.. the odbc module also has this if a sybase table with utf8 like proxy tables made are in use Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-12-31 13:49 GMT-04:00 T Lee Davidson : > Yes, MyResult!txtMasterDatabase should work. (Did you copy/paste that > name, or type it in directly?) The For Each loop should > work as well. > > I tried a simple command-line application on a MySQL data table with just > one row. All the application does is, first connect to > the database, and then 'MyResult = hConn.Exec("select * from users")' > > A For Each loop prints the field names just fine. And, 'Print MyResult!id' > displays the correct value. > > Perhaps there is a bug in the Gambas PostgreSQL driver. Can you test on a > MySQL table to see if that works for you? > > > -- > Lee > > > On 12/31/2017 01:26 AM, Doug Hutcheson wrote: > > This just gets more interesting. > > > > The For Each ... Next loop fails on the first line, as previously > described. > > > > After some bashing and hacking, I found a simple loop works fine: > > For intLoop = 0 To MyResult.Fields.Count - 1 > > Message(MyResult.Fields[intLoop].Name & ": " & > MyResult[intLoop] & ": " & MyResult.Fields[intLoop].Length & ": " > > & MyResult.Fields[intLoop].Type) > > Next > > > > Given a field named txtMasterDatabase, should the following work? > > Message(MyResult!txtMasterDatabase) > > ... because it throws 'Unknown field txtMasterDatabase ..." > > > > Many thanks for help on this. > > > > Kind regards, > > Doug > > > > On Sun, 2017-12-31 at 12:00 +1000, Doug Hutcheson wrote: > >> Darn. Still getting used to the conventions. I should have said I am > running Gambas 3.10.0 on Fedora 28 Linux. > >> > >> On Sun, 2017-12-31 at 11:44 +1000, Doug Hutcheson wrote: > >>> Hi everyone. > >>> > >>> I have successfully connected to my PostgreSQL database and the field > count in the Result from my query is correct, but all > >>> my attempts to extract data from the fields have failed. I am cobbling > together code from the wiki and from other posts here, > >>> but I am still missing something. > >>> > >>> The table I am reading from has exactly one row and 35 fields. The > first field is named txtMasterDatabase. > >>> > >>> My code declares a Field and a Result as follows: > >>> Dim $Field As ResultField > >>> Dim $Result As Result > >>> > >>> The query works correctly: > >>> $Query = "Select * From abpa.tblParameters" > >>> $Result = $Con.Exec($Query) > >>> > >>> The field count is correct - 35: > >>> Message("Fields count = " & $Result.Fields.Count) > >>> > >>> Now I try to loop through the fields in the result: > >>> For Each $Field In $Result.Fields > >>> Message($Field.Name) > >>> Next > >>> > >>> The problem occurs on the For Each line in that the Basic IDE displays > an error at this point: > >>> Unknown field: txtMasterDatabase in FRMStart:41 > >>> > >>> As I said above, the first field in the tuple is named > txtMasterDatabase, so Gambas is at least seeing it. Why is it telling > >>> me the field is unknown? > >>> > >>> Thanks for any help and Happy New Year, > >>> Doug > > > > > > > > -------------------------------------------------- > > > > 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: From taboege at gmail.com Sun Dec 31 20:55:50 2017 From: taboege at gmail.com (Tobias Boege) Date: Sun, 31 Dec 2017 20:55:50 +0100 Subject: [Gambas-user] What is wrong with my query syntax? In-Reply-To: <11352897-4c74-cd85-9f77-3ddd45ea4412@gmail.com> References: <1514519004.3262.102.camel@gmail.com> <11352897-4c74-cd85-9f77-3ddd45ea4412@gmail.com> Message-ID: <20171231195550.GA21012@highrise.localdomain> On Fri, 29 Dec 2017, ML wrote: > Just a very stupid observation: The query is completed by the contents > of a textbox control (called TBXName) on the form where it's supposed to > be placed. > If the syntax error comes from GAMBAS, this textbox may not exist > (didn't try actually, but a possibility nonetheless). > > On the other hand, if the error comes from the DB Engine (PostgreSQL in > this case), then the query may be malformed; maybe a single quote in the > textbox data is screwing the query up. > For example, suppose the textbox has the name "O'Malley". The query > string would become the following: > > ? ?SELECT * FROM Friends WHERE Name = 'O'Malley'? > > As you can see, the WHERE clause becomes "WHERE Name = 'O'" and the > "Malley'" excess string post-clause will trigger the syntax error at the > DB Engine level. > You MUST escape all apostrophes at the very basic level or, better, use > StoredProcedures with Parameters. Google up "SQL Injection" for (lotsa) > more info. > Try with "' OR 1 --" in the textbox data to see some unwanted effects > abused by database attackers... > Doug, you should listen to this advice about SQL injection. Code which puts unchecked user input into an SQL query string is easily exploited and gives the perfect security hole. A user can make the program crash, bypass filters in the rest of your query hence leak data, delete all the tables or add unwanted data -- everything that SQL can do, provided the executing user has the required privileges. Gambas can quote SQL queries for you: hConn.Exec("SELECT * FROM Friends WHERE Name = &1", "O'Malley") Better yet, use hConn.Find() if you want to do SELECT queries, like so: hConn.Find("Friends", "Name = &1", "O'Malley") If you need complex queries and have Gambas >= 3.8, you should use the SQLRequest class: Dim hSql As New SqlRequest(hConn) Dim sQuery As String sQuery = hSql.Select().From("Friends").Where("Name = &1", "O'Malley").And().Where("Age >= &1", 32).OrderBy("Age DESC").Get() hConn.Exec(sQuery) SQLRequest knows how to build a proper SQL sentence for the underlying database driver. Note how your Gambas code, if it uses Find() or SQLRequest, is free of SQL strings of a specific dialect. You can use the same Gambas code with MySQL, PostgreSQL, SQLite3, etc. (provided that the drivers work correctly). This is of course desirable: if you want to run unit tests, SQLite3 might be a good choice, but you might want to use Postgres for production and someone else might prefer MySQL. Regards, Tobi PS: when did this become a top-posting mailing list? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at gmail.com Sun Dec 31 21:16:44 2017 From: taboege at gmail.com (Tobias Boege) Date: Sun, 31 Dec 2017 21:16:44 +0100 Subject: [Gambas-user] Extracting fields from a Result In-Reply-To: References: <1514684664.12546.82.camel@gmail.com> <1514685624.12546.84.camel@gmail.com> <1514701561.12546.114.camel@gmail.com> <8c776eb0-44f9-bf27-ddbf-a671ea9774d2@gmail.com> Message-ID: <20171231201643.GB21012@highrise.localdomain> On Sun, 31 Dec 2017, PICCORO McKAY Lenz wrote: > its a bug in the rest of drivers, i confirmed some time ago... due "too > much mysql-like" development, its like ms-like only tests and assume all > are done.. > Are you nuts? A nonsensical error from the postgres driver is not a bug in all the other drivers, just because you suspect us to conspire with MySQL and Microsoft. And I, for one, think it would be a great step forward already if Gambas got a comprehensive test suite for everything that is in the source tree. On Sun, 31 Dec 2017, T Lee Davidson wrote: > Yes, MyResult!txtMasterDatabase should work. (Did you copy/paste that name, or type it in directly?) The For Each loop should > work as well. > > I tried a simple command-line application on a MySQL data table with just one row. All the application does is, first connect to > the database, and then 'MyResult = hConn.Exec("select * from users")' > > A For Each loop prints the field names just fine. And, 'Print MyResult!id' displays the correct value. > > Perhaps there is a bug in the Gambas PostgreSQL driver. Can you test on a MySQL table to see if that works for you? > I agree that the original code should have worked. See the attached script which uses an in-memory SQLite3 database to demonstrate that it works with another driver. A (minimal!) project and database dump, just enough to reproduce the behaviour, would be helpful. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- #!/usr/bin/env gbs3 Use "gb.db.sqlite3" Public Sub Main() Dim hConn As New Connection ' Connect to a temporary in-memory database hConn.Type = "sqlite3" hConn.Name = Null hConn.Open() ' Create test table With hConn.Tables.Add("test") .Fields.Add("txtMasterDatabase", db.String) .Fields.Add("numRandom", db.Integer) .Update() End With ' Add some data With hConn.Create("test") !txtMasterDatabase = "abc" !numRandom = Rand(0, 100) .Update End With With hConn.Create("test") !txtMasterDatabase = "xyz" !numRandom = Rand(100, 200) .Update End With DoQuery(hConn) End Private Sub DoQuery(hConn As Connection) Dim hRes As Result Dim hField As ResultField ' XXX: Better use Connection.Find(), or the SQLRequest class for ' more complex queries. They keep your Gambas code independent of ' a choice of DBMS. hRes = hConn.Exec("SELECT * FROM test") ' Result.Fields contains objects representing the fields present ' in the result, from a table schema point of view. Print "Fields:" For Each hField In hRes.Fields Print Space$(2); hField.Name Next Print ' The actual result data is held by the Result object itself. Print "Values:" For Each hRes Print Space$(2); hRes!txtMasterDatabase, hRes!numRandom Next End From t.lee.davidson at gmail.com Sun Dec 31 22:23:56 2017 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sun, 31 Dec 2017 16:23:56 -0500 Subject: [Gambas-user] Extracting fields from a Result In-Reply-To: <20171231201643.GB21012@highrise.localdomain> References: <1514684664.12546.82.camel@gmail.com> <1514685624.12546.84.camel@gmail.com> <1514701561.12546.114.camel@gmail.com> <8c776eb0-44f9-bf27-ddbf-a671ea9774d2@gmail.com> <20171231201643.GB21012@highrise.localdomain> Message-ID: <2263ed80-159d-a85b-ac73-fd5b5cae90af@gmail.com> On 12/31/2017 03:16 PM, Tobias Boege wrote: > On Sun, 31 Dec 2017, T Lee Davidson wrote: >> Yes, MyResult!txtMasterDatabase should work. (Did you copy/paste that name, or type it in directly?) The For Each loop should >> work as well. >> >> I tried a simple command-line application on a MySQL data table with just one row. All the application does is, first connect to >> the database, and then 'MyResult = hConn.Exec("select * from users")' >> >> A For Each loop prints the field names just fine. And, 'Print MyResult!id' displays the correct value. >> >> Perhaps there is a bug in the Gambas PostgreSQL driver. Can you test on a MySQL table to see if that works for you? >> > I agree that the original code should have worked. See the attached > script which uses an in-memory SQLite3 database to demonstrate that > it works with another driver. > > A (minimal!) project and database dump, just enough to reproduce the > behaviour, would be helpful. > > Regards, > Tobi I installed a PostgreSQL server. PostgreSQL does not appear at first glance to be as easy to work with as MySQL. After finally figuring out how to configure and use it, I was able to run a simple command-line application to successfully print the field names. (Interestingly enough, even without the gb.db.postgresql database driver component enabled! Beno?t?) It does work as you expect it should, Doug. You will find my code and the output below. -- Lee P.S. On 12/31/2017 02:55 PM, Tobias Boege wrote: > PS: when did this become a top-posting mailing list? I've never known it to be either a top-posting or a bottom-posting list. People seem to post as they prefer. I prefer top-posting because I dislike having to scroll through quote after quote after quote. It would be okay, I guess, if people would trim quotes that do not add to the context. But, that doesn't always happen. Beno?t prefers bottom-posting, and apparently so do you. When those who prefer bottom-posting do so, I follow along in like manner. P.P.S. [code] ' Gambas module file Public Sub Main() Dim hConn As New Connection Dim rField As ResultField Dim MyResult As Result hConn.Type = "postgresql" ' Type of connection hConn.Host = "localhost" ' Name of the server hConn.Login = "postgres" ' User's name for the connection hConn.Port = "5432" ' Port to use in the connection, usually 3306 hConn.Name = "postgres" ' Name of the database we want to use hConn.Password = "mypgpass" ' User's password hConn.Open() ' Open the connection If Error Then Print "OUCH!!" Else Print "Connected." Endif MyResult = hConn.Exec("select * from users") Debug MyResult.Fields.Count Debug MyResult!id For Each rField In MyResult.Fields Print rField.Name Next End [/code] [output] Connected. Main.Main.24: 3 Main.Main.25: 1 id password email [/output] From owlbrudder at gmail.com Sun Dec 31 23:56:36 2017 From: owlbrudder at gmail.com (Doug Hutcheson) Date: Mon, 01 Jan 2018 08:56:36 +1000 Subject: [Gambas-user] Extracting fields from a Result In-Reply-To: <8c776eb0-44f9-bf27-ddbf-a671ea9774d2@gmail.com> References: <1514684664.12546.82.camel@gmail.com> <1514685624.12546.84.camel@gmail.com> <1514701561.12546.114.camel@gmail.com> <8c776eb0-44f9-bf27-ddbf-a671ea9774d2@gmail.com> Message-ID: <1514760996.12546.131.camel@gmail.com> Good idea Lee - I will fire up MySql on my machine and try a similar approach. Using PostgreSQL, the For loop using a loop index works perfectly, showing the field names and the data, but the For Each loop fails on the 'For Each ... ' line. I will get back to the list about MySql. Doug On Sun, 2017-12-31 at 12:49 -0500, T Lee Davidson wrote: > Yes, MyResult!txtMasterDatabase should work. (Did you copy/paste that name, or type it in directly?) The For Each loop should > work as well. > > I tried a simple command-line application on a MySQL data table with just one row. All the application does is, first connect to > the database, and then 'MyResult = hConn.Exec("select * from users")' > > A For Each loop prints the field names just fine. And, 'Print MyResult!id' displays the correct value. > > Perhaps there is a bug in the Gambas PostgreSQL driver. Can you test on a MySQL table to see if that works for you? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: