Recent

Author Topic: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start  (Read 943 times)

corradoventu

  • Newbie
  • Posts: 4
I installed lazarus 2.0.6 on Ubuntu 20.04 from Ubuntu Software. installation was done without errors.
Trying to start I receive a message: Can't find the lazarus executable /usr/lib/lazarus/2.0.6/lazarus
See launchpad bug https://bugs.launchpad.net/ubuntu/+source/lazarus/+bug/1859316
corrado@corrado-x5-ff-0104:~$ ls /usr/lib/lazarus/2.0.6
components  docs  examples  languages  startlazarus
corrado@corrado-x5-ff-0104:~$
thanks for attention
With or without religion, good people can behave well and bad people can do evil; but for good people to do evil — that takes religion.

Zvoni

  • Sr. Member
  • ****
  • Posts: 308
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #1 on: January 14, 2020, 12:20:40 pm »
Don't install from Distro-Repo.
Use the deb's available here.
One System to rule them all, One IDE to find them,
One Code to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
People call me crazy, because i'm jumping out of perfectly fine aircrafts

corradoventu

  • Newbie
  • Posts: 4
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #2 on: January 15, 2020, 02:26:02 pm »
On Ubuntu 18.04 I have Lazarus installed from Your site and works fine. On Ubuntu 20.04 Lazarus can be installed from Distro-repo and if supplied MUST WORK. If does not work You should help Canonical to correct the problem. Thanks.
With or without religion, good people can behave well and bad people can do evil; but for good people to do evil — that takes religion.

Zvoni

  • Sr. Member
  • ****
  • Posts: 308
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #3 on: January 15, 2020, 05:16:53 pm »
On Ubuntu 18.04 I have Lazarus installed from Your site and works fine. On Ubuntu 20.04 Lazarus can be installed from Distro-repo and if supplied MUST WORK. If does not work You should help Canonical to correct the problem. Thanks.
Wrong!
Even on 18.04 Lazarus was available in the repo's but a lot of people had trouble with those installs.
Ignore Lazarus/FPC in the repos, download the deb's from here, install them, lock them in Synaptic, Done!
One System to rule them all, One IDE to find them,
One Code to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
People call me crazy, because i'm jumping out of perfectly fine aircrafts

MarkMLl

  • Hero Member
  • *****
  • Posts: 604
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #4 on: January 15, 2020, 05:40:25 pm »
On Ubuntu 18.04 I have Lazarus installed from Your site and works fine. On Ubuntu 20.04 Lazarus can be installed from Distro-repo and if supplied MUST WORK. If does not work You should help Canonical to correct the problem. Thanks.

Why should it "MUST WORK"? If it doesn't work then you- as an Ubuntu customer- should raise it via their bug tracking system. If they then decide that it's an upstream problem it's their responsibility to raise it with the authors, some- but by no means all- of whom are present in this forum.

I'd suggest that it's extremely impolite to come and shout at other users and at people who are giving their time without expectation of recompense when the problem appears to be down to Canonical- which is a company making money from support contracts etc.

MarkMLl
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.

devEric69

  • Full Member
  • ***
  • Posts: 225
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #5 on: January 15, 2020, 05:50:30 pm »
@Zvoni and @MarkMLl are right: by caricaturing, Canonical is just trying to make small deb's, then linked together by dependencies. That's their logic. Btw, Canonical have provided a way to note an "Logithec"\"Softsthec" installation, and complain that their Snap is not installed at all.
The deb's created, here, have different cuttings, i.e. the dependencies follow a different logic.
==> Mixing the 2 types of deb's is catastrophic.

The simplest way, is that you download Fcpupdeluxe (latest Linux release; it's a real installer, with a "User friendly" interface), add the 'x' flag to run it if it doesn't launch, and use it to install FCP, Lazarus, and OPM. Then, you can too install a cross-compiler for another target than Ubuntu (e.g. Win 64 bits, if you want to compile for Wine).
« Last Edit: January 15, 2020, 06:26:07 pm by devEric69 »
use: Linux 64 bits (Ubuntu 18.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 935
    • Burdjia
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #6 on: January 16, 2020, 11:18:22 am »
Why are you using a WIP version of Ubuntu?  Version 20.04 will not be released until April this year.  You should use either 18.04 or 19.10 except you are an Ubuntu tester or developer.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Hartmut

  • Sr. Member
  • ****
  • Posts: 329
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #7 on: January 16, 2020, 12:38:32 pm »
I too had tremendous problems to install FPC/Lazarus on Ubuntu before I got to know fpcupdeluxe. I strongly recommend to use it. One of it's many benefits is, that the complete installation is put in only one selectable destination folder. That means, that your installation is not scattered over uncountable system folders. This has big advantages, especially if you will have someday more than 1 FPC/Lazarus versions parallel working.

http://wiki.freepascal.org/fpcupdeluxe
https://forum.lazarus.freepascal.org/index.php/topic,34645.0.html
« Last Edit: January 16, 2020, 12:42:52 pm by Hartmut »

john horst

  • Jr. Member
  • **
  • Posts: 57
    • JHorst
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #8 on: January 16, 2020, 09:44:32 pm »
While everyone is right and using the ubuntu repo is garbage... looking at the "bug" report maybe sudo apt install lazarus-ide-gtk2

MarkMLl

  • Hero Member
  • *****
  • Posts: 604
Re: On Ubuntu 20.04 lazarus installed from Ubuntu Software does not start
« Reply #9 on: January 16, 2020, 09:52:13 pm »
While everyone is right and using the ubuntu repo is garbage... looking at the "bug" report maybe sudo apt install lazarus-ide-gtk2

It should be reported through Ubuntu's bug management. If the package maintainer decides to upstream it, it should go into Mantis. In any event, not here.

MarkMLl


Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.