How to install LiveCode for Ubuntu 14.04 64 bit

Deploying to Linux? Get penguinated here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
jtlespoosta
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6
Joined: Sat Jun 02, 2012 2:26 pm

How to install LiveCode for Ubuntu 14.04 64 bit

Post by jtlespoosta » Sat Apr 19, 2014 2:19 pm

... or at least the 14.04 32 bit?

Ubuntu 14.04 was officially released a couple of days ago, and as could be expected I need advice on
- whether it is possible at all to install Live Code Community edition for the 64 bit version (since the ia32 libs have been removed from the distro)
- and is it possible to install the said edition for the 32 bit version of Ubuntu 14.04

If it is possible, how should I proceed?

If not possible, any chances in the future?

Thanks very much for the good work with LC.

jtlespoosta
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6
Joined: Sat Jun 02, 2012 2:26 pm

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by jtlespoosta » Sun Apr 20, 2014 2:01 pm

After posting my question I located LiveCode-7_0_0_dp_2 and installed it successfully both on my 32 bit laptop and 64 bit desktop. Installation was smooth. In the 64 bit system installation ended abruptly, but after rebooting HUD found LiveCode as should be expected.

So far, it has been happy sailing for me. Thank you! :D

Boombox
Posts: 3
Joined: Mon May 26, 2014 11:31 pm

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by Boombox » Mon May 26, 2014 11:56 pm

Hello,

I have been having major trouble installing LiveCode Community Version 7 on Ubuntu 14.04.
I download the file and make it run-all goes fine except that the dialogue box for the installation has no text on it or I cannot see it,I tried to nevertheless go forth with the installation but even after the installation the problem persists
I am unable to see any text,just icons.
I tried installing the packages(optional,as well as the required ones) via the terminal but I gt an error saying that the said package was not found.
I am assuming that the no text thing is due to the packages not being there.

Anyway,any help would be great as I have been unable to find anything on this matter. Also,i have tried installing the older versions,but am facing the same issue.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6643
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by FourthWorld » Tue May 27, 2014 12:15 am

If you got as far as LC launching that's good news, as it suggests you've successfully installed ia32-libs.

However, I must admit that though I use LC daily on Ubuntu 14.04 and even on a second machine running Lubuntu 14.04, I've not seen the blank dialog you describe. So unfortunately, I'm not able to offer any specific assistance on this, other than perhaps to make sure your Ubuntu system also includes the libraries noted in the Release Notes as required - see the top of page 4 here:
http://downloads.livecode.com/livecode/ ... 0_dp_5.pdf

On my own systems I've found that ia32-libs was all that was needed; in all other respects, the stock Ubuntu 14.04 installer provided me everything LC requires.

Please keep us posted with what you find.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Boombox
Posts: 3
Joined: Mon May 26, 2014 11:31 pm

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by Boombox » Tue May 27, 2014 1:24 pm

Hello,
I have installed all the prerequisites-even the optional ones-on my machine but the blank dialogue box or invisible text still persists.
I cannot see any text.
Any other suggestions?

Boombox
Posts: 3
Joined: Mon May 26, 2014 11:31 pm

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by Boombox » Tue May 27, 2014 1:43 pm

I tried downloading the 6.0.2 version and now I can see the text but it looks very sketchy.

:cry:

append[x]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 17
Joined: Fri Mar 15, 2013 3:12 pm
Location: South Germany
Contact:

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by append[x] » Tue May 27, 2014 2:26 pm

i can confirm the problem with the missing text.

In my case the behaviour is like this:
  • The Livecode-installers work fine for me until version 6.1.3.

    The version 6.5.0 installer will not do anything (not even launch).

    Beginning from version 6.5.1 the installers launch, but show no text anymore, neither in buttons nor text fields. The buttons are responsive, though, so it is possible to finish the installation if you know where to click. The installed version will also not show any text, unfortunately.

    All DPs of version 7.x show some window that does not look at all like the old installer, all buttons and fields are empty and the buttons do not respond (they highlight, but trigger no action).

    Furthermore, stacks I built in the past and that used to work, do also not show text any more on Ubuntu 13.10 or newer.
I tested all versions on Ubuntu 64bit 13.10 and 14.04, each on Unity and Cinnamon respectively, with the same results.

The installation notes of LC require a 32bit-compatibility layer for 64bit systems, ia32-libs that is. This libs were removed from the repositories in 13.04, I believe, but survived when they had been installed before. They have ultimately been removed in 13.10, to my knowledge, and cannot be installed anymore for incompatibility reasons. A similar problem exists for GoogleEarth on Linux, but here it is possible to remove unused 32bit-stuff from GE and make it work.

The missing text seems also to point to pango-problems, but the libs seem to be installed properly on my machine. It would be a big help, if the release notes could mention the exact names of the required libraries, rather than the vague topic "pango" (there are roughly 60 pango-related packages in the repos). I have running Firefox and Chrome (as suggested by the installation notes).

It is a such a pity that LC won't do properly on Linux. And it is a big issue for me that even apps, that were compiled on the Mac for Linux do not perform correctly anymore.
Image

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by LCNeil » Tue May 27, 2014 2:50 pm

Hi All,

I just created a fresh 14.04 Ubuntu VM, and did have some initial issues with installation. As append[x] has mentioned, the ia32-libs are no longer available so an alternative needs to be used. More specifically, for the installer to run on my fresh VM, I had to run the following terminal command-

Code: Select all

sudo apt-get install libgtk2.0-0:i386
After I done this, and set the applicable execution bit of the installer (6.1.1 Community), installation completed as expected.

After installation, LiveCode opened without needing to install anything else.

It would be great if you could submit any issues you are experiencing to our Quality Control Team as if they are able to replicate the issue, we will hopefully be able to either implement a fix or advise further on how to resolve the issue.

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——

append[x]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 17
Joined: Fri Mar 15, 2013 3:12 pm
Location: South Germany
Contact:

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by append[x] » Wed May 28, 2014 8:44 am

After I done this, and set the applicable execution bit of the installer (6.1.1 Community), installation completed as expected.
As I mentioned, all versions up to 6.1.3 worked fine for me, without any fixes (except setting the execution bit of course). libgtk and the other required libraries already existed on my machine. I cannot remember if they came with the installation of other packages, like Firefox, or if they were installed manually by me in the past. I will try to spend more time on this and do some more systematic testing - I can see now, why tests should be done in the clean environment of a Virtual Machine.

Things broke with the first version AFTER 6.1.3, which was 6.5.0.
It would be great if you could submit any issues you are experiencing to our Quality Control Team as if they are able to replicate the issue, we will hopefully be able to either implement a fix or advise further on how to resolve the issue.
I will do so. Didn't want to rant and I thought I read some post before, that the Linux version needs some major overhaul and this would take some time, so I saw no need to report bugs on the newer versions until they were officially declared good-for-Linux again. And with the hidden text, I was not sure if that problem was connected to my individual Ubuntu-setup, as others do not seem to experience it, so just wanted to offer my observations for comparison.
Image

MaxV
Posts: 1574
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by MaxV » Fri Jun 20, 2014 8:49 am

I could create a .deb package, I already did it for other binaries (like Rebol programming language) to permit correct installation; for example: http://www.maxvessi.net/rebsite/Linux/index.php

It's easy, the package first check the existence of all necessary packages and install the missing ones, then it launches the original livecode installer.

If you want to build livecode package yourself, see this page with all what was necessary to build rebol package: https://github.com/angerangel/Rebol-linux-packages
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6643
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by FourthWorld » Fri Jun 20, 2014 3:18 pm

What would be needed to turn that info a handler the RunRev team could use as part of their automated build process?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

MaxV
Posts: 1574
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by MaxV » Fri Jun 20, 2014 4:51 pm

HOW TO CREATE A DEB PACKAGE

Prepare a file named control and put inside all information about your package like this:

Code: Select all

Package: rebol
Version: 2.7.8.4.3
Architecture: i386
Installed-Size: 1175
Section: devel
Priority: optional
Homepage: http://www.rebol.com
Depends: libc6, libstdc++6, libx11-6, libxcb1, libxaw7, libfreetype6, libxext6, libxt6, libxmu6, libgcc1, libsm6, libice6, libxpm4, zlib1g, libxau6, libxdmcp6, libuuid1, xfonts-100dpi, xfonts-75dpi
postinst: mandb; update-app-install
Maintainer: Massimiliano Vessi <maxint@tiscali.it>
Description: Programming is fun again:
 REBOL stands for relative expression based object language.
 Software systems have become too complex,
 layers upon layers of complexity, each more brittle and
 vulnerable to failure. In the end software becomes the
 problem, not the solution. We rebel against such complexity,
 fighting back with the most powerful tool available:
 language itself.
 .
 This package contains the REBOL/View 2.7.8.4.3 binary
Every voice is separated from its content with a colon (:) , for example:

Code: Select all

Package: livecode
The most important voice is Depends, here you put all dependencies.

The voice Description: end with a line with a lone period (.).

The last line is the short description.

Put this file in a folder named DEBIAN.

Put the folder DEBIAN in your temporary folder, for example livecode

Now put inside the livecode folder all the folders and the files that you want to copy in Linux system, like (opt/runrev/... ). See this example: https://github.com/angerangel/Rebol-lin ... ster/rebol

Now go to the parent folder of livecode folder and launch:

Code: Select all

dpkg-deb -b livecode
FINISHED :mrgreen:

HOW TO CREATE RPM and TGZ package

After creating livecode.deb package, launch:

Code: Select all

sudo alien --to-rpm --to-tgz livecode.deb 
FINISHED :mrgreen:
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

MaxV
Posts: 1574
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: How to install LiveCode for Ubuntu 14.04 64 bit

Post by MaxV » Sat Jun 28, 2014 10:36 pm

runrevneil wrote:Hi All,

I just created a fresh 14.04 Ubuntu VM, and did have some initial issues with installation. As append[x] has mentioned, the ia32-libs are no longer available so an alternative needs to be used. More specifically, for the installer to run on my fresh VM, I had to run the following terminal command-

Code: Select all

sudo apt-get install libgtk2.0-0:i386
After I done this, and set the applicable execution bit of the installer (6.1.1 Community), installation completed as expected.
I confirm tha on Linux Mint 17 (64bit) that libgtk2.0-0:i386 is required to install Livecode correctly.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Linux”