Forum > Linux

Is Lazarus still serious ?

(1/8) > >>

dryzone:
Been developing with Lazarus and free pascal for very long and been using linux for 27 years.
Wrote papers based on results obtained, several general purpose applications  with it and it was always rock solid and very happy with it.

Recently I had to look at older applications I developed with Lazarus and found the installation of Lazarus to have become a royal abomination just to get installed.

It seems that whoever cared about packaging and testing  a usable distribution for release  left.
Absolutely horrible.

1) The apt version is just downrightly an abomination. Fair, that is not only you fault, but also partly the distro packager. Its missing obvious units and what not. Installing every available apt lazarus* wildcart does not solve the problem so nothing in the apt repository constitutes a complete working Lazarus installation
Totally unusable abomination to what was the case a few years ago.
That apt abomination put aside.

2) Then installing directly from the Lazarus Website, you need to install three debs
azarus-project_4.0.0-0_amd64.deb    2025-05-04    156.8 MB    
320
fpc-src_3.2.2-210709_amd64.deb    2025-05-04    30.6 MB    
269
fpc-laz_3.2.2-210709_amd64.deb    2025-05-04    39.3 MB    
288
README.md

Did so and read the README.
Whatever I do after reading the "goREADME",  installation of lazarus project clashed with the source.
e.g. "lazarus-project conflicts with lazarus-src
  lazarus-src-2.2 provides lazarus-src and is present and installed."
Same the other way round.
You have one of two options removing a source installation component or removing a lazarus-project component. Trying both and trying to compile after installation gives the following trouble.

Then trying to compile a KNOWN WORKING program, I get
Fatal: (10022) Can't find unit interfaces
While interfaces are clearly  present
/usr/lib/lazarus/2.2.6/lcl/interfaces/cocoa/interfaces.pas
/usr/lib/lazarus/2.2.6/lcl/interfaces/customdrawn/interfaces.pas
/usr/lib/lazarus/2.2.6/lcl/interfaces/gtk2/interfaces.pas

I mean really ???

In adition it cannot find the graph unit.. Go figure how to develop an interface without these.

The only solution is to tediously do  the -Fu [sic] switch solution.

So I have to physically add every unti I want to use to the compiler e.g.
fpc -S2 -Sh -Fu/usr/lib/lazarus/2.2.6/lcl -Fu/usr/lib/lazarus/2.2.6/lcl/interfaces -Fu/usr/lib/lazarus/2.2.6/lcl/interfaces/gtk2 -Fu/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux -Fu/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux/gtk2 -Fi/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux   ......  and so on.
Forcryingoutloud!

I have given up adding units and the compile "Fu" is running of the page.

So why do you release crap like this ?

ALLIGATOR:
Here is the solution: https://make-everything-ok.com

marcov:
As you already said, integrating packages is a distro's job. We do the best I can, but the infrastructure on *nix is geared to a lot of per distro duplicate work for integrating packages.

If you have a problem with it, ditch Linux and use e.g. Windows.

cdbc:
Hi
Here on PCLinuxOS, installed from our repo - fpc 3.2.2 & laz 4.0 + libqt5pas
Works like a dream out of the box!
Regards Benny

dryzone:

--- Quote from: ALLIGATOR on July 13, 2025, 09:33:31 pm ---Here is the solution: https://make-everything-ok.com

--- End quote ---

Here is the response

-Fu

Navigation

[0] Message Index

[#] Next page

Go to full version