Re: Debian 10 install failure

2020-12-17 Thread Mark Wieder via use-livecode

On 12/17/20 9:57 AM, Sean Cole (Pi) via use-livecode wrote:

Solved. Debian 10 buster has GTK 3.0 installed but LC needs GTK 2.0. I just
ran the following:

sudo apt-get install --reinstall libgtk2.0-0

This got me back down to gtk v2 and the installer for LC ran properly.


Cool. Maybe has to do with the way debian was installed? I didn't run 
into this problem. And I see


$ apt list libgtk2.0-0
Listing... done
libgtk2.0-0/stable.now 2.24.32-3 amd64 [installed.automatic]

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Debian 10 install failure

2020-12-17 Thread Sean Cole (Pi) via use-livecode
Solved. Debian 10 buster has GTK 3.0 installed but LC needs GTK 2.0. I just
ran the following:

sudo apt-get install --reinstall libgtk2.0-0

This got me back down to gtk v2 and the installer for LC ran properly.

Sean Cole
*Pi Digital *


On Thu, 17 Dec 2020 at 17:43, Sean Cole (Pi)  wrote:

> Hmm, so why would it say "Failed to load library 'gdk' (tried
> libgdk-x11-2.0.so.0)"?
>
> Sean
>
> On Thu, 17 Dec 2020 at 17:11, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> On 12/17/20 8:29 AM, Sean Cole (Pi) via use-livecode wrote:
>> > Hi all,
>> >
>> > Continuing my study on Linux alternatives, I've just tried installing
>> > LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in
>> > Parallels from its add VM page). However, it comes up with an error when
>> > installing LC right after double-clicking the installer: "Failed to load
>> > library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x
>> > installed. Is this the problem? Do I need to go back a build to Debian
>> 9?
>> > Or can I still install on 10 somehow with a tweak?
>>
>> Sean-
>>
>> Don't know about Parallels. I just loaded the latest debian build onto a
>> 15GB virtualbox VM, downloaded the latest stable LC, and installed. Had
>> to restart the system in order for LiveCode to show up in the menu, but
>> other than that no problems. I could launch from a commandline or after
>> the restart from the menu. I installed debian using the semi-automated
>> installer, which by default is using cinnamon as its desktop manager. I
>> did have to fiddle with the display resolution to get the whole menubar
>> on screen, but that's a virtualbox/debian thing and not LC.
>>
>> Note that debian 10 is the only debian version that hasn't reached an
>> end of life (and therefore no updates), so I wouldn't waste time trying
>> earlier versions if you're putting something into production.
>>
>> ...and to correct my earlier statement, I revisited the docs and I see
>>
>> "The x86-64 and x86 Linux build environments used for compiling LiveCode
>> are based on Debian Wheezy."
>>
>> --
>>   Mark Wieder
>>   ahsoftw...@gmail.com
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Debian 10 install failure

2020-12-17 Thread Sean Cole (Pi) via use-livecode
Hmm, so why would it say "Failed to load library 'gdk' (tried
libgdk-x11-2.0.so.0)"?

Sean

On Thu, 17 Dec 2020 at 17:11, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 12/17/20 8:29 AM, Sean Cole (Pi) via use-livecode wrote:
> > Hi all,
> >
> > Continuing my study on Linux alternatives, I've just tried installing
> > LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in
> > Parallels from its add VM page). However, it comes up with an error when
> > installing LC right after double-clicking the installer: "Failed to load
> > library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x
> > installed. Is this the problem? Do I need to go back a build to Debian 9?
> > Or can I still install on 10 somehow with a tweak?
>
> Sean-
>
> Don't know about Parallels. I just loaded the latest debian build onto a
> 15GB virtualbox VM, downloaded the latest stable LC, and installed. Had
> to restart the system in order for LiveCode to show up in the menu, but
> other than that no problems. I could launch from a commandline or after
> the restart from the menu. I installed debian using the semi-automated
> installer, which by default is using cinnamon as its desktop manager. I
> did have to fiddle with the display resolution to get the whole menubar
> on screen, but that's a virtualbox/debian thing and not LC.
>
> Note that debian 10 is the only debian version that hasn't reached an
> end of life (and therefore no updates), so I wouldn't waste time trying
> earlier versions if you're putting something into production.
>
> ...and to correct my earlier statement, I revisited the docs and I see
>
> "The x86-64 and x86 Linux build environments used for compiling LiveCode
> are based on Debian Wheezy."
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Debian 10 install failure

2020-12-17 Thread Mark Wieder via use-livecode

On 12/17/20 8:29 AM, Sean Cole (Pi) via use-livecode wrote:

Hi all,

Continuing my study on Linux alternatives, I've just tried installing
LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in
Parallels from its add VM page). However, it comes up with an error when
installing LC right after double-clicking the installer: "Failed to load
library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x
installed. Is this the problem? Do I need to go back a build to Debian 9?
Or can I still install on 10 somehow with a tweak?


Sean-

Don't know about Parallels. I just loaded the latest debian build onto a 
15GB virtualbox VM, downloaded the latest stable LC, and installed. Had 
to restart the system in order for LiveCode to show up in the menu, but 
other than that no problems. I could launch from a commandline or after 
the restart from the menu. I installed debian using the semi-automated 
installer, which by default is using cinnamon as its desktop manager. I 
did have to fiddle with the display resolution to get the whole menubar 
on screen, but that's a virtualbox/debian thing and not LC.


Note that debian 10 is the only debian version that hasn't reached an 
end of life (and therefore no updates), so I wouldn't waste time trying 
earlier versions if you're putting something into production.


...and to correct my earlier statement, I revisited the docs and I see

"The x86-64 and x86 Linux build environments used for compiling LiveCode 
are based on Debian Wheezy."


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Debian 10 install failure

2020-12-17 Thread Sean Cole (Pi) via use-livecode
Hi all,

Continuing my study on Linux alternatives, I've just tried installing
LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in
Parallels from its add VM page). However, it comes up with an error when
installing LC right after double-clicking the installer: "Failed to load
library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x
installed. Is this the problem? Do I need to go back a build to Debian 9?
Or can I still install on 10 somehow with a tweak?

Sean Cole
*Pi Digital *
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: CentOS Death in 2021

2020-12-17 Thread Sean Cole (Pi) via use-livecode
Good shout. Although, having the gui available helps when things go wrong
like the PDF font rendering issues and being able to see the templates
build as it goes for each page/card. But thanks for the heads up.

Sean

On Thu, 17 Dec 2020 at 05:40, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> LC Server had graphics capabilities added a few versions back.  You can
> lay out objects on cards and export images with it now.
>
> I'm not sure if those extend to the PDF external, but if you happen to
> try it please let me know.
>
> If nothing else, being able to run faceless should save quite a bit of
> RAM and CPU time as well.
>
> --
>   Richard Gaskin
>   Fourth World Systems
>
>
>
> Sean Cole wrote:
> > Hi Richard,
> >
> > My case scenario is maybe a little unique, I don't know. The server app
> > needs to build from MySQL data and other resources (csv's and images)
> > downloaded from emails received from a vendor a PDF report that it
> 'prints'
> > out and uploads to a web hosted site for downloading by the clients
> desktop
> > app (on windows). We receive about 100-200 emails at the moment that get
> > processed by the server every morning as soon as they are received (all
> at
> > about 5am). Regardless of if it was running in the IDE or as a standalone
> > in the server (which is private and never accessed directly or indirectly
> > by any client) it runs at the same speed with the same functionality
> > (except I don't have to wait for a huge stack to build each time I make a
> > little change). This is why a GUI is required, so the PDF can be built.
> >
> >  > Back to my OP.
> >>  > - What system build of Linux should I best install in Parallels
> >>  > virtual and Server Remote Host for deployment should I run with?
> >>  > Given the choices of potentially having LC IDE running as the ‘live’
> >>  > software stack on the server itself (which is not the best way to run
> >>  > it, but potentially a method that is usable for our purposes
> perhaps).
> >>
> >> What is the benefit of running the LC IDE on a server, as opposed to a
> >> standalone?  Do you need a GUI there at all?
> >>
> >> Either way, I believe Heriberto made a solid case yesterday for Ubuntu.
> >> As the most popular distro, it has more docs, tutorials, and community
> >> support, and more de facto testing.  It's also the leading choice for
> >> computer manufacturers shipping with Linux preinstalled, like Dell's XP
> >> line and similar from HP, Acer, and others.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Checking a received header for LC Server or revIgniter>

2020-12-17 Thread David Bovill via use-livecode
Fantastic - thanks!

NB I don’t get a result when searching for rigGetHTTPheader in the revIgniter 
docs. I guess it’s not documented?
On 17 Dec 2020, 10:13 +, How to use LiveCode 
, wrote:
>
> rigGetHTTPheader
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Checking a received header for LC Server or revIgniter>

2020-12-17 Thread Ralf Bitter via use-livecode


Hi David,

if you go the revIgniter route use rigGetHTTPheader("myCustomHeader"),
otherwise you can use $_SERVER["HTTP_myCustomHeader"].


Ralf


On 17.12.20 00:35, David Bovill via use-livecode wrote:

I’m looking to check for received custom headers on a Livecode + revIgniter 
based server. I know how to set headers, and on the desktop Id use 
libURLLastRHHeaders - but what is the best way to do this on the server?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode