Startup error - no stackfile to run

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, LCMark

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1076
Joined: Thu Apr 11, 2013 11:27 am

Re: Startup error - no stackfile to run

Post by LCMark » Tue Mar 10, 2020 8:58 am

<rant1>
Where is the list of supported linux distros? I can't find it on the web site any more nor on github.
</rant1>
@FourthWorld is correct - it is in the release notes. These are built from markdown files in the github repository. Specifically:
LiveCode supports the following Linux distributions, on 32-bit or 64-bit Intel/AMD or compatible processors:

Ubuntu 14.04 and 16.04
Fedora 23 & 24
Debian 7 (Wheezy) and 8 (Jessie) [server] CentOS 7 [server]

LiveCode may also run on Linux installations which meet the following requirements: Required dependencies for core functionality: glibc 2.13 or later glib 2.0 or later

Optional requirements for GUI functionality:

GTK/GDK 2.24 or later
Pango with Xft support
esd (optional, needed for audio output)
mplayer (optional, needed for media player functionality) lcms (optional, required for color profile support in images) gksu (optional, required for privilege elevation support)

Note: If the optional requirements are not present then LiveCode will still run but the specified features will be disabled.

Note: The requirements for GUI functionality are also required by Firefox and Chrome, so if your Linux distribution runs one of those, it will run LiveCode.

Note: It may be possible to compile and run LiveCode Community for Linux on other architectures but this is not officially supported.
So in June are we going to switch to a more recent version of the base distro with an updated gcc and incorporate either my pull request or Ian's version that accomplishes something similar so I can stop having to patch the build system locally? Note that the current stable and recommended version of Debian is 10 ("buster").
No we won't be moving to 'Buster' in June - indeed, it is unlikely we will change anything in June.

Our build system is containerized so that we can continue to use older OSes (without any security issues) to build LiveCode to ensure that it continues to run as widely as possible.

If we move up one version of Debian, chances are the built executables will no longer run on other distributions of a similar age to Debian 8 which are still supported (and will continue to be for several years to come).

The problem is that the Linux community as a whole 'does not do binary compatibility' - but we have to, which means we have to build on what some might call 'legacy distributions'... I say some, because things like CentOS/RHEL have a support window spanning 10 years - precisely because upgrading Linux is a great deal of work when it isn't just your personal machine!

In regards to the issue with dbsqlite which this thread started with - unfortunately your current patch isn't correct (so wouldn't be merged in any event). The issue isn't to do with a setting in revdb - its because (by default) the engine builds using prebuilt libraries from our build server whose build settings aren't compatible with your setup (we do this as things like Skia take a very long time to compile). I'll see if I can find out how to disable this, so they all build locally (which is more appropriate as binary incompatibility could creep in anywhere - revdb suffers because libsqlite uses std::string and C++ exceptions which is where the API changes are toggled by the flag).

bogs
Posts: 4348
Joined: Sat Feb 25, 2017 10:45 pm

Re: Startup error - no stackfile to run

Post by bogs » Tue Mar 10, 2020 9:39 am

For anyone that would like to know, here it is as of the latest dp this date:
Linux
LiveCode supports the following Linux distributions, on 32-bit or 64-bit Intel/AMD or compatible
processors:
Ubuntu 14.04 and 16.04
Fedora 23 & 24
Debian 7 (Wheezy) and 8 (Jessie) [server]
CentOS 7 [server]
Image

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1076
Joined: Thu Apr 11, 2013 11:27 am

Re: Startup error - no stackfile to run

Post by LCMark » Tue Mar 10, 2020 9:46 am

@slowmaker: Apologies, your thread got hijacked somewhat... As mentioned above the build issue is an incompatibility between the compiler in your distribution and the libraries downloaded from our build server.

Quickest way to make things work is to delete dbsqlite and then run the IDE (if the driver isn't there, the IDE won't try and load it!); you can also tweak the gyp file in revdb (https://github.com/livecode/livecode/pu ... f2d2ae1bc4).

Longer term solution is that we need to make it so that said libraries can be easily built locally rather than downloaded.

slowmaker
Posts: 32
Joined: Fri Feb 08, 2019 1:53 pm

Re: Startup error - no stackfile to run

Post by slowmaker » Tue Mar 10, 2020 12:43 pm

LCMark wrote:
Tue Mar 10, 2020 9:46 am
@slowmaker: Apologies, your thread got hijacked somewhat...
No worries, I found the digressions to be quite educational in their own right, and thanks for all the info!

Hopefully I can carve some time out to return to the project today or tomorrow. Then I can see what Murphy has next up in the pipeline...
The important thing is not to stop questioning. Curiosity has its own reason for existence. - Albert Einstein (LIFE Magazine (1955 may 2), p64)

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2955
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Startup error - no stackfile to run

Post by mwieder » Tue Mar 10, 2020 5:47 pm

@LCMark- thanks (and thanks to Richard as well for the pointer)... been a while since I've visited that section of the release notes.

I do understand what the C++ compiler problems are under the hood... I'm looking forward to a better fix for this. As soon as there's an approved fix in place I'll happily close my pull request. Until then I'm leaving it open as a marker for when anyone else can't compile locally, since it does solve the problem in the short run.

Post Reply

Return to “Engine Contributors”