Page 1 of 2

Livecode 8 linux installer package (DEB, RPM)

Posted: Fri May 19, 2017 11:27 am
by MaxV
Hi guys,
here is the new 64 bit livecode 8 DEB and RPM installer packages: http://www.maxvessi.net/livecode/linux/

This solve any bug with dictionary and browser widget!

Please try it and let me know!

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Sun Jun 04, 2017 9:11 pm
by mwieder
OK - it sort of works.

It does install livecodecommunity-8-1-3.x86_64 into /opt/livecode.
However, it doesn't allow the option the user to install just for that user (in the /home directory)
I wanted it in /opt, so that part is fine for my system.

A more serious problem is that it doesn't add the new installation to the Programming menu, so it has to be launched from a command line.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Mon Jun 05, 2017 6:19 pm
by MaxV
It creates the menu, try to log off and log on.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Mon Jun 05, 2017 7:30 pm
by mwieder
Nope. Still not there.
And the LC installer creates the menu without needing to log out and in again.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Tue Jun 06, 2017 10:21 am
by MaxV
Hi,
to creae menus in linux I use this:

Code: Select all

.
/usr
└── share
    ├── applications
    │   └── runrev-livecodecommunity_8_1_3-x86_64.desktop
    └── icons
        └── hicolor
            └── 48x48
                └── apps
                    └── runrev-livecodecommunity_8_1_3-x86_64.png

6 directories, 2 files
And my runrev-livecodecommunity_8_1_3-x86_64.desktop file is:

Code: Select all

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=LiveCode Community 8.1.3
Comment=IDE for creating and editing LiveCode applications.
Icon=runrev-livecodecommunity_8_1_3-x86_64
Exec="LC_ALL= LC_NUMERIC=C && LIBGL_DRI3_DISABLE=1 && /opt/livecode/livecodecommunity-8.1.3.x86_64/livecodecommunity.x86_64" %U
Categories=Development;IDE;
StartupWMClass=livecodecommunity_8_1_3
This should add the program, however try to launch update-menus.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Thu Jun 08, 2017 12:09 am
by mwieder
Well, investigating a bit further... all the files are there in the proper places, and I can launch the application from the command line.

Uninstalling the version installed with the .deb file doesn't remove all the traces - trying to install after that it thinks that it's already installed. Uninstalling via the .deb file doesn't make a difference. Reinstalling anyway has the same symptoms as before - nothing in the menu, able to launch from the command line.

Also, it's installed on my system into /opt as mwieder:mwieder instead of root:root - that will limit multiuser access, no? And that's the reason for installing into /opt in the first place. But chowning it all to root:root didn't help.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Mon Jun 12, 2017 11:28 am
by MaxV
The owner is not a problem, the important is the permissions.
Did you try to launch update-menus from command line?
To solve liveocode 8 bugs, it mus be launched from panel, so it's important that appears on menu.
What distribution do you use?

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Mon Jun 12, 2017 4:03 pm
by mwieder
This is linux mint 17.2. The update-menus utility isn't installed by default, so I apt-get installed the menu package and ran it, but the situation is the same. Even restarted the system to see if that made a difference. :shock:

No, neither the owner nor permissions seem to be a problem here. And the files are in the right places and have the right contents.

I'm using LC9-dp6 as my development system, so the LC8 problems aren't a concern (although actually I run 8.14 fine without the extra environment variables you need.. another mystery). Just trying to help troubleshoot the .deb installation, because I'd like this to work universally.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Mon Jun 12, 2017 11:11 pm
by MaxV
I'm using linux mint 17 too! :lol:

I tested and works perfectly:

Image

No need to log out. Livecode 8.1.3 is under Developmet menu immediately.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Tue Jun 13, 2017 12:24 am
by mwieder
No worries. Not doubting that it looks right on your system, just that it never appears on the menu on mine.
There's probably something weird on my setup, and it will take more than just our two data points to sort this out.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Wed Jun 14, 2017 8:56 am
by MaxV
Do you use Cinnamon or Mate?

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Wed Jun 14, 2017 3:42 pm
by mwieder
cinnamon desktop. like I said, all the files seem to be in the correct places.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Wed Jun 14, 2017 11:44 pm
by bogs
mwieder wrote:... it will take more than just our two data points to sort this out.
<Another data point enters to muddy up the water !! >
Heya Max !

I wanted to play with your toys ;) so I loaded up a bunch of fresh vms with different versions of linux to give your files a clean setup approach, but before I dive into that, I wanted to point this out.

On your webpage you list at the top some dependencies. I believe there were some typos, you may want to correct those for others that look.

I believe they should be -
libc6:i386
libgtk2.0-0:i386
libgdk-pixbuf2.0.0:i386
libglib2.0-0:i386

If your on an older linuxen box, they can be found under the ia32-libs package, if newer then multiarch should bring them in (I think).

On to the TRIALS ! These are all fresh installs, no special additions, just for information. We start with my favorite form of debian based linuxen...

64 bit Debian 7 (Wheezy)LXDE - not as far as I know a recommended Lc install candidate :shock: )

Code: Select all

dpkg -i livecodecommunity-8.1.3-1.amd64.deb ...
( I am not sure if the following are dependencies of Lc, or the way your deb file is set up )

Code: Select all

dpkg: dependency problems prevent configuration of livecodecommunity:
 livecodecommunity depends on libssl0.9.8; however:
  Package libssl0.9.8 is not installed. 
// libssl1.x is installed, however it was not taken into account, and there are problems installing 0.9.8 since its no longer in the repositories.

Code: Select all

 livecodecommunity depends on mplayer; however:
  Package mplayer is not installed. 
// installed mplayer

Code: Select all

 livecodecommunity depends on pulseaudio-esound-compat; however:
  Package pulseaudio-esound-compat is not installed. 
// installed pulseaudio-esound-compat

Since I wasn't able to install libssl0.9.8 from a legit repository (you can still find it other places, just not the deb. repositories for squeeze) I downloaded the Lc installer for 8.1.3 to see if I could get it installed, which it did with no issues seen. Not sure why?

Will continue testing and see if I can figure it out (or help you to). I'm with mwieder, I want this to work universally, although I've not had an issue installing Lc myself.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Thu Jun 15, 2017 12:26 am
by mwieder
libssl0.9.8 has been superseded by libssl1.0.0. That's what's in the apt-get repo and what should be used. It references the latest build of libssl (1.0.1f-1ubuntu2.22). The last build of libssl0.9.8 was from 2011.

Re: Livecode 8 linux installer package (DEB, RPM)

Posted: Thu Jun 15, 2017 10:39 am
by MaxV
I don't remember why I put both versions.

This is the list of packages:

Code: Select all

Depends: libc6, libc6-dev, libssl0.9.8, libssl1.0.0 ,xorg, libgtk2.0-0,  libgdk-pixbuf2.0-0,  libglib2.0-0, libpango1.0-0, libxft2, liblcms1, gksu, mplayer, pulseaudio-esound-compat
Recommends: libc6-i386
What changes do you propose?