Lazarus

Programming => Operating Systems => Linux => Topic started by: ArminLinder on February 07, 2017, 04:09:33 pm

Title: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 04:09:33 pm
 >:D
Hi guys,

I admit, I am primarily a Windows guy, pretty tired of Microsoft's ways, but that's a different story. But Windows (tried 7 and 10) both did give me an absolutely hassle free jump-start with Lazarus. Download, install, works, period.

Over the weekend I gave MacOS a try. This was a bit more of work, but finally I got all together: XCODE from Apple, GDB from don't remember where, build it, sign it, and Lazarus on top. Seems to work, at least I could compile, run and debug the "Hello" demo, which is kind of a promising start.

Then I turned my attention to Linux, yesterday morning. Isn't that the guys who do always complain about poor Microsoft software quality, and say they do better? Well, it doesn't seem so. First attempt was to use a Linux Mint "Petra" (Ubuntu 13.10) I had lying around. Installation went well, "Hello" Test went well, but Lazarus choked on re-compiling itself, the Leakview component won't compile, message not helpful. I wasted considerable time re-downloading the package from source, browsing forums, asking others, but no progress, only the error messages changed from "don't know whats going on" to "absurd". All I got from the forums was shady remarks that Petra was outdated, though the problem with leakview doesn't look like a typical "outdated OS" problem to me.

Considering that Mint "Petra" is indeed quite outdated, I went for Mint "Serena" (Ubuntu 16.4) this morning. Expecting some hickups I installed it into a VMware and took a snapshot after the OS was tested OK, so I dodn't need to re-install the whole thing over and over to get a clean machine to start from.

Then Lazarus. I was really shocked about the carelessness the project seems to hamper starters like me. First of all, try to find proper installation instructions for Linux. There are dozens: outdated, incomplete, dead links, contradictory, even the official wiki page at
http://wiki.freepascal.org/Lazarus_release_version_for_Ubuntu
starts with a "this page is outdated" warning (dating back almost 2 years), and the installation attempts all didn't work, no matter which of the described methods I tried. Each try wasted considerable time and resources downloading a lot of stuff and installing it, some even without complaints, but after starting Lazarus I wasn't even able to open a single demo project without ignoring several seriously looking errors first, none (zero, nada, 0) projects would compile, not even the basic "application" with nothing but an empty form.

Then - though some "gurus" explicitly told me to do not - I gave the built-in Software Manager a try. Searching for "Lazarus" reveals 26 (!) different packages. Two can be ruled out easily, 24 remain. We got "Lazarus" (SDK depencendy package <-- ???), Lazarus-IDE, Lazarus-1.6 (Suite) and 21 more. Looking into the details they all look the same, so I choose the top one with the most reviews.

Download and install runs well, Lazarus first start, first error, what a warm welcome: though the package description proudly presents itself as the metapacket of packets, pulling in all that's required, Lazarus on first start complains about FPC sources missing. Back to Software manager: FPC Sources: no hit, Free Pascal Sources: no hit, FPC-Source: gotcha. 4 hits, again the packages seem to be identical. Though they have different names. Looking into the details ... ouch ... says it is Version 3.0.0+dfsg-2, while Lazarus sais it is Version +dfsg-1. And most of all it says: "installed". And "0B of disk space required". Must be a very efficient compression.

So who is right: Lazarus saying not installed, or Software Manager saying installed (0Bytes) or what? Next search: where is fpc installed (if it is installed at all): some sources say etc/alternatives, others say usr/local, others say usr/[my username], i finally find promising files in /usr/share/fpcsrc, and Lazarus indeed accepts that path.

Nevertheless, no project will compile, if I try, I get a series of error messages (the project ist only a blank form with no code in it and no controls on it - the thing you get if you just open Lazarus and tell it to create a project of type "Application"):

"Compile Project, Target: /home/linder/tmp/project1: Access violation
  $0887A1B0
  $0887A861
  $0887A7E9
  $084148B1
  $08418653
  $08105EA8
, Errors: 7
Panic: internal error: Access violation
Panic: internal error:   $0887A1B0
Panic: internal error:   $0887A861
Panic: internal error:   $0887A7E9
Panic: internal error:   $084148B1
Panic: internal error:   $08418653
Panic: internal error:   $08105EA8
"

This is much like my three year old, repeating the same complaint over and over, but not giving any useful infos about why and what to do now.

All I can do is tell you that the mentioned directory does exist, it is actually even created on compile if I delete it, and that the compile process seems to crash somewhere in the middle, since a ton of files is created in that directory. No executable though.

Recently I was said, in a forum post, that Lazarus was used by 10 thousands of people without complaints, I really wonder how they get their installations right, and which OSses they are on, but maybe it's just me, expecting too much, having a bad Karma, whatever?

So now the final question (thanks to whoever read that far): if I really don't give a damn what Linux distro I am using (reasonable stability in a VMWare environment is probebly the only must-have for me right now), what do I have to install, and how do I do it, so that I get a working Lazarus/FPC installation? I am willing to do a handstand after every packet, bow towards Helsinki or Lake Oswego every half an hour, whatever is necessary, as long as I get a Lazarus installation in Linux which lets me

- write a simple program on Linux
- run an simple program on Linux
- debug a simple program on Linux
- recompile Lazarus on Linux

Any hints welcome.

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: DonAlfredo on February 07, 2017, 04:19:16 pm
Try fpcupdeluxe ?
https://github.com/newpascal/fpcupdeluxe/releases/latest
Remember, you have to start the Lazarus/FPC install with the desktop-link that is created during install.
I wish you well.
http://forum.lazarus.freepascal.org/index.php/topic,34645.300.html
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 07, 2017, 04:24:41 pm
I'm sorry to hear that your Lazarus adventure didn't run well.

And welcome the Linux world.
 :-X ssst, I tell you Linux isn't as good as most Linux fanatic said.

I use Linux, it's not bugs free, it has many issues. But to me all of them are tolerable. At least I can forget about harddisk defrag and computer viruses. I ever and still heavily use Linux Ubuntu and Ubuntu Mate + Lazarus, no serious problem so far.

Here are some tips for Ubuntu + Lazarus:

- Don't install Lazarus from the Ubuntu repository.

- But visit this download page:
https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/

- Download and install all the three deb packages

- If Ubuntu ask you to upgrade your Lazarus or FPC, don't ever do it.

- To upgrade, download them from Lazarus site, uninstall the old and install the newly downloaded.

- If you want to compile OpenGL related projects, you may need to install libgl1-mesa-dev

Give it a try, if you ever run into problems. We are here to help.

Have fun.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: SymbolicFrank on February 07, 2017, 04:24:59 pm
On Debian, with Lazarus 1.4 and 1.6, it was just "apt-get install lazarus" and "startlazarus", IIRC. But this is about a year ago.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Thaddy on February 07, 2017, 04:49:16 pm
Well. Bit strange. Seems the package maintainers of your Linux versions do not do their job.
I build FPC trunk daily ( from source, 3.0.0 as starting compiler) and Lazarus weekly (from source, staring compiler is trunk) on a lowly RPi3 Raspbian, on WIN64/10, on Debian Jessie/x86_64, sometimes on other platforms too, and do not have any problems *at all*.
Really need to give more information.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 04:56:21 pm
Three replies, three different approaches. Thanks though, at least it's good thing to know one isn't alone :-)

Since it takes the least efforts, after resetting the VM, I go with Handokos "download from sourceforge" approach first.

If that fails, next is fpcupdeluxe. Question: why does one write his own installer, and further contribute to what I consider one of Linux'es most dominant problems (things not fitting together since multiple groups with mutiple interests drag into different directions), when it was possible to spend the time and efforts for making the existing installers better? Not a rant .. I really wonder.

And if fpcupdeluxe fails too, it's probably "Mint" to blame ... since installation is quite painless (except, of course, the time wasted), I'll give Debian 1.6 a try, as I said, I don't care which distro I use for my first attempts to get my Windows code cross-platform. My experience on the Mac was quite promising: all I had to do is remove two or three dependencies with Windows specifics, and my program ran without any problems.

thanks, guys, I'll walk the dogs now, cool down a bit, and then continue trying.

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 05:07:32 pm
Well. Bit strange. Seems the package maintainers of your Linux versions do not do their job.
I build FPC trunk daily ( from source, 3.0.0 as starting compiler) and Lazarus weekly (from source, staring compiler is trunk) on a lowly RPi3 Raspbian, on WIN64/10, on Debian Jessie/x86_64, sometimes on other platforms too, and do not have any problems *at all*.
Really need to give more information.

Hi Thaddy,

I didn't mention that I have also installed Lazarus on the Raspi last year, and that I cannot remember having had any serious problems with it (except, of course, that when the projects grow larger a Raspi isnt quite the platform of choice to do the main work).

If you want, you can have access to my recent Mint VM using Teamviewer right away, and see yourself. I can copy the VM over to a 24/7 machine any time and send you access details per pm. Or I'll happily provide any infos, logs, whatever you need, so the issues can be tracked and eventuelly fixed. Just let me know what you need.

And you're #2 which mentions Debian, if everything alese fails, I'll get me a copy and give it a try.

Thnks,

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: marcov on February 07, 2017, 05:26:14 pm
Well. Bit strange. Seems the package maintainers of your Linux versions do not do their job.

For complicated packages off the downtrodden path that is more the rule than the exception IMHO.

But the core problem is that Linux in 25+ years hasn't managed to tackle the problem that all software need to compiled for a certain distribution-version combination. To aggravate that even more the distro use incompatible package systems and rules.

At the very least a distro should run package and packages of the versions of the previous 5 years (if they are not drivers of some sort). That would give the package maintainers a fighting chance of catching up.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: SymbolicFrank on February 07, 2017, 05:30:16 pm
I even had a setup with Debian in a VM as well as on a server somewhere in a data-center, Lazarus 1.4 and 1.6 installed on both (that took some experimenting, with the two different compilers) and sometimes used those all at the same time, the ones on the server through an xming X-server. With occasional rebuilds when installing packages.

There was initially with 1.6 one component in the BGRABitmap package that broke the build and required installation of a fresh BGRABitmap. And that was it. But that might have been a leftover from the 1.4 version.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 07, 2017, 05:40:04 pm
My first attempt of installing BGRABitmap on Ubuntu (version 14, if I remember correctly) was failed. Some months ago I did my second attempt on Ubuntu Mate 16.10, it succeed. But some weeks ago, I installed it on same Ubuntu Mate 16.10 but different machine, although it succeed too but the installation didn't run smoothly.

Hope the BGRABitmap developer can make the installation easier on Linux.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 06:05:35 pm
Ok ... back from walk, dogs happy, calmed down.

Trying an install from the sourceforge sources (3 packages, installed fpc - fpc-sources - lazarus) changed things, unfortunately not for the better.

This time lazarus found the sources right away.
A "startlaz[arus]" thing cannot be found on the machine, so I used the usual Start-Menu - Programming - Lazarus GUI path. In case there is a startlaz[arus] application which does some housekeeping ... it hasn't installed on my machine.

Nevertheless the Lazarus GUI started, but it didn't bring me far.

When trying to compile the empty application, I get:

Compile Project, Target: /home/linder/tmp/project1: Exit code 256, Errors: 1
project1.lpr(9,3) Fatal: Cannot find Interfaces used by Project1. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=/usr/share/lazarus/1.6.2/lcl/units/i386-linux/gtk2/interfaces.ppu. Clean up package "LCL"..

I'll try this and that now: rebuild everything, try different configs, at least Lazarus isn't crashing like before.

Seen from the perspective of jump-start and building up confidence in a product I must say: attempt already failed. The basics must work right out of the box, or many starters and almost all the beginners will turn their back on the solution right away.

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: marcov on February 07, 2017, 06:15:37 pm
Seen from the perspective of jump-start and building up confidence in a product I must say: attempt already failed. The basics must work right out of the box, or many starters and almost all the beginners will turn their back on the solution right away.

1. Note that the packaging is not done by the product, but by the *nix distribution. It is their core business (integrating the various packages)
2. Seen from the perspective of a developer, if you want a smooth ride, you chose the wrong OS.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 07, 2017, 06:20:45 pm
@Nimral

You failed to install Lazarus on fresh Ubuntu installation?!
Wow, that's really strange.

I've been installed/reinstalled both Lazarus and Ubuntu(Mate) a lot since 2010, everything just run smoothly.

I wish I could teleport the your place to see and inspect what went wrong.

--- edited:

Have you ever think there could be something wrong with the hardware? Maybe you should perform it again but on other machine perhaps direct install without VM.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 06:32:38 pm
@Nimral

You failed to installed Lazarus on fresh Ubuntu installation?!
Wow, that's really strange.

I've been installed/reinstalled both Lazarus and Ubuntu(Mate) a lot since 2010, everything just run smoothly.

I wish I could teleport the your place to see and inspect what went wrong.

You can! You got Teamviewer? You got time and nerve? Just say "yes" and I'll copy the latest failed attempt (the one with the Sources from Sourceforge) over to a 24/7 Platform and give you access via Teamviewer.

Meanwhile I tried to re-compile the IDE, the current error message is:

"Cannot find interfaces used by Lazarus, incompatible ppu={path}, package LCL

At least it doesn't get boring, the error messages change with every attempt.

Armin.

P.S: it isn't "pure" Ubuntu, though based on the Ubuntu core, it's the "Mint" variant.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 07, 2017, 06:39:00 pm
I never use Mint. But I'm sure Lazarus works on both Ubuntu and UbuntuMate. I prefer UbuntuMate simply because it's more lightweight.

Can TeamViewer run on UbuntuMate? I'm okay to help you to fix it. But it is late midnight 12.37 AM here, I'm going to sleep now.

Some suggestion:
- Try UbuntuMate
- Install the debs with the correct order:  fpc, fpc-src and (the last one) lazarus.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: SymbolicFrank on February 07, 2017, 06:42:38 pm
Mint, based on Ubuntu, with packages build for Debian.  8-)
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 07, 2017, 06:44:52 pm
I am new to Lazarus but I am an experienced Linux user and a developer.

And I am used to install/configure/build software of all sorts.

But Lazarus and FreePascal are not easy!

If you are installing a new Lazarus over an old Lazarus, there will be some FPC/Lazarus settings that - as a general rule - always will confuse the new Lazarus. These settings - I guess they are in ~/.lazarus - must be removed so that Lazarus can recover/regenerate.

I have not used Ubuntu, or any derivative, for years because it is a oddball, buggy distribution IMO. And not making sure that their contributions to Debian gets upstream.
So, I am using Netrunner rolling release based on Debian testing. Their contributions gets back to the Debian project, and it provides both stability and a fresh, new set of packages. Highly recommended!

I don't like to use the Sourceforge hosted packages for Lazarus/FreePascal because they are not configured properly. Otherwise, if they were, Debian wouldn't think they need to be upgraded to older versions.

I've installed Lazarus 1.6.2 from Debian repositories and it works fine.
But not great. :)
Because you either have to do some magic as a root user or simply compile third-party packages in your project so that the ppu's can be found - or, I guess, figure out a way to specify the default unit output directory..

The next time I am going to install Lazarus, however, will be from source, so that Lazarus and FreePascal gets installed into my home directory. Which will enable me to compile/recompile the IDE and packages and also install new packages without running into permission issues.

One thing that I've already learned about Lazarus and FreePascal is that it is extremely sensitive. So if you are going to upgrade Lazarus, you better hunt down and completely remove each and every package!

Lastly, I think that Lazarus and FreePascal are really missing out on a big opportunity when it's not using a package manager of its own.
Python has that, Node.js has that, Rust has that, why not FPC/LCL ?
That would simplify installation/upgrade/modification to great extent.
The packages can be installed either locally or globally and that would mean that the only packages that needs to be maintained are one for Lazarus and one for FreePascal. All the rest are FreePascal packages. 
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 07, 2017, 06:48:40 pm
Meanwhile I tried to re-compile the IDE, the current error message is:

"Cannot find interfaces used by Lazarus, incompatible ppu={path}, package LCL

Could you delete the
Code: Pascal  [Select][+][-]
  1. ~/.lazarus
directory and try again?
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 07, 2017, 06:53:52 pm
Sad to hear that Lazarus has so much issues.

I always take notes for useful things. Here I share some of them.

Full Lazarus Reinstallation ( UbuntuMate )

01. Uninstall lazarus, fpc, fpc-src
02. Delete ~/.lazarus, except: editoroptions, environmentoption
04. Delete /etc/fp.*
03. Delete /usr/share/fpcsrc
05. Delete /usr/lib/fpc
06. Delete /usr/bin/ppc*
07. Install fpc_3.0.0-151205_amd64.deb
08. Install fpc-src_3.0.0-151205_amd64.deb
09. Install lazarus_1.6-0_amd64.deb
Note:
- I configure my Lazarus to suit my needs, so I keep editoroptions and environmentoption.
- The file names maybe different depend on the version of them.


Cross Compile Win32 ( Ubuntu Mate )

01. cd /usr/share/fpcsrc/3.0.0
02. sudo make clean all OS_TARGET=win32 CPU_TARGET=i386
03. sudo make crossinstall OS_TARGET=win32 CPU_TARGET=i386 INSTALL_PREFIX=/usr
04. sudo ln -sf /usr/lib/fpc/3.0.0/ppcross386 /usr/bin/ppcross386

Note:
I don't use default Ubuntu Repository to instal Lazarus because as far as I know, their Lazarus (and FPC) often not up to date.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 07, 2017, 07:00:48 pm
The 9 steps to reinstallation assumes that one have used the downloaded from Sourceforge packages; it would be a dangerous path to take if you have used the Debian package manager. There you just have to search and destroy all 'free pascal' and 'lazarus' related packages.
However, after having done a 'completely remove' round in the package manager, we can use it to check if there are remains on the system. Which is handy.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 07, 2017, 07:04:10 pm
I agree with what you said.

--- edited:
I forgot to mention I use Synaptic Package Manager to do the uninstallation (in the 9 steps). It is not wise to delete those files directly.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: DonAlfredo on February 07, 2017, 07:19:50 pm
I still think fpcupdeluxe is worth a try ...  disclaimer: I am the (non-patient) maintainer ...  :D :D

edit: non-patient
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 07, 2017, 07:28:41 pm
Be patient.

He is now trying Ubuntu - my suggestion  ::)
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 07:57:37 pm
 ;D
Guys, we have progress.

The fpcupdeluxe tool indeed did the trick.

And there is now a starter on my desktop (not startlaz, the name is Lazarus_fpcupdeluxe)

Started Lazarus, compiled empty app, compiled "Hello" and compiled Lazarus - no problem whatsoever. Debugger tested OK too.

There's one thing left now to be done: how can we take care so the next one trying to get Lazarus started on Linux does not have to spend 2 full days following clues and doing endless trial and error to get Lazarus up and running?

Armin.

Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 08:00:35 pm
Mint, based on Ubuntu, with packages build for Debian.  8-)

Where do you read "Debian only" anywhere on the Lazarus pages? Please send a link ...

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 08:06:32 pm
Last contribution: we habe the nth variant of installation directory:

fpcupdeluxe put everything into

"/home/[my username]/fpcupdeluxe/lazarus"

Greetz,

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 07, 2017, 08:31:35 pm
Glad to know you now have made it works.

Still a big question to me, why you failed on Ubuntu Mint. I'm sure to try Lazarus on Mint someday.

Thanks jacmoe for recommending Netrunner. I've just checked the info about it. Although I prefer the lightweight Mate, but Netrunner seems worth to try.

I heard a lot about fpcupdeluxe. But because Lazarus installation never be a problem for me, I never try it. It should mention on the wiki page, if for some unknown reasons Lazarus fails to install correctly, one may try  fpcupdeluxe.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: DonAlfredo on February 07, 2017, 08:36:36 pm
Yep.

Fpcupdeluxe does an isolated install. By default in your home-directory, only for you.
No paths are changed. That is why you need that link to start.
You can install many versions.
E.g. I have latest trunk, stable, NewPascal, 3.0 and 2.6.4, all in their own directory with their own link on my desktop.
For easy testing (fast GB's comes cheap these days).

Fpcupdeluxe also makes life easy when installing cross-compilers.

Its just a way to ease the install.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 08:43:28 pm
I heard a lot about fpcupdeluxe. But because Lazarus installation never be a problem for me, I never try it. It should mention on the wiki page, if for some unknown reasons Lazarus fails to install correctly, one may try  fpcupdeluxe.

I totally agree, and I also think that the Installation page should be stripped of outdated info. Some of them are really long and time consuming and IMHO rather lead to more confusion than to a working system.

If we consider that everyone starts his Lazarus endeavours by reading that page, it should be as short and helpful as can be, and therefore carefully maintained.

Do you happen to be the maintainer of that page?

Armin.

P.S. And yes, though I finally got a running Mint/Ubuntu system ... as you read this I am busy installing the latest Debian 8.1.7 distro into a new VM...
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 07, 2017, 08:54:33 pm
I am currently performing an fpcupdeluxe installation myself - even when I have a working Lazarus/FreePascal global install.
Because having an isolated installation in my home directory allows me to easily rebuild Lazarus and manage packages freely (without any root shenanigans).

So, I agree: fpcupdeluxe should impatiently be the recommended installation option IMO  ;D
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 07, 2017, 09:32:52 pm
For the records ...

I just installed on Debian 8.7 "Jessie" without any problems, just like you said. Basic tests all went fine, including IDE compile and debugging.

So as long as one needs just a plain vanilla installation an apt-get install lazarus does fine, and he won't need fpcupdeluxe.

I think I go on with Debian then, three independent people saying that Debian is best suited for Lazarus development can't be that wrong.

Thanks 2 all for your help, and happy coding,

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Akira1364 on February 07, 2017, 11:07:50 pm
Lastly, I think that Lazarus and FreePascal are really missing out on a big opportunity when it's not using a package manager of its own.
Python has that, Node.js has that, Rust has that, why not FPC/LCL ?
That would simplify installation/upgrade/modification to great extent.

Such a thing certainly does exist, and it is everything you would want it to be/works flawlessly, but it's part of a certain controversial fork, not "Lazarus Proper".
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 07, 2017, 11:13:39 pm
Sorry to hear about that fork..

But, after trying fpcupdeluxe, that is really, really close to being 'such a thing'.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Akira1364 on February 07, 2017, 11:22:39 pm
It has a ways to go I would say, but yeah, it's definitely a significant step in the right direction.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 07, 2017, 11:27:33 pm
Thanks jacmoe for recommending Netrunner. I've just checked the info about it. Although I prefer the lightweight Mate, but Netrunner seems worth to try.
I am using Netrunner with the rolling release repository switched on.
And I am using LXQt instead of KDE/Plasma because LXQt is really lightweight.
I like Netrunner because I like KDE/Qt, Debian and the fact that the Netrunner team are actively contributing back to the Debian project.
That said, it is essentially just plain Debian testing, with a tiny layer of fixing on top.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: SymbolicFrank on February 07, 2017, 11:32:54 pm
For the records ...

I just installed on Debian 8.7 "Jessie" without any problems, just like you said. Basic tests all went fine, including IDE compile and debugging.

So as long as one needs just a plain vanilla installation an apt-get install lazarus does fine, and he won't need fpcupdeluxe.

I think I go on with Debian then, three independent people saying that Debian is best suited for Lazarus development can't be that wrong.

Thanks 2 all for your help, and happy coding,

Armin.

Good to hear it works.

But it's not just for Lazarus development: use Debian Stable if you want it to work out of the box. Simple as that.

Ubuntu is mostly Debian Testing, with some Unstable packages added. Mint is like Ubuntu Testing, or Debian Unstable, for a large part. But it's new and shiny  :D

The same goes for Red Hat, which is mostly different so they can sell enterprise service contracts. Fedora is like Red Hat Testing, and CentOS like Fedora Testing, or Red Hat Unstable, if such versions existed.

Everything else is simply exotic. It sometimes works.

If you want shiny, new and/or exotic, expect to spend a lot of time fixing your broken system.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 07, 2017, 11:41:39 pm
If you want shiny, new and/or exotic, expect to spend a lot of time fixing your broken system.
That is not always the case, though.
I found that Ubuntu and Linux Mint broke my system more than I was comfortable with.
Debian Stable is not an option, except when you are willing to put up with ancient software.

So, that leaves only a few options, like Netrunner, that is Debian testing / unstable "done right" - which is to say that it works without having to get our hands dirty most of the time.
I am too old/impatient to muck about with my operating system, so Arch / Gentoo are definitely not options!

My wife is currently running Netrunner simply because I am tired of constantly having to rescue her messed up Windows installation.
She is definitely not a power user.
Linux makes sure that she can't accidentally mess up.

Sorry for being too off-topic, btw.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 08, 2017, 12:28:12 am
AArgh.

You know why the Chinese are said to always wail? Because they believe, if they don't, the Gods of Luck get jealous and send them bad luck. There may be some truth in this.

I was so happy that I completely overlooked that the Lazarus version I got on Debian Linux is long outdated (1.2.4). Unforunately my latest project made use of TDateTimePicker, which needs (it seems) at least 1.4 or 1.6 to be available.

I thought well, we have fpcupdeluxe, the magic bullet.

After installation I selected my CPU and OS, and let it fire away ... but it didn't get very far unfortunately. Here are the last few lines and the errors:

"fpcupdeluxe: info: 8-2-17 00:18:14: fpcup015 (20161220) started.
Executing : as "--version" (working dir: )
GNU assembler (GNU Binutils for Debian) 2.25
Copyright (C) 2014 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `i586-linux-gnu'.
Executing : unzip "-v" (working dir: )
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
"

Stuck again. I'll go for the .deb packages from sourceforge next.

Armin
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 08, 2017, 12:30:10 am
I had that error too.

What I did was first install FPC only, then perform a full install.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 08, 2017, 01:12:28 am
Aaand finally, the circle is complete.

I downloaded the fpc, fpc sources and lazarus packages (.deb) from Sourceforge, I installed them in the usual order (fpc, src, lazarus), started Lazarus, it complained about gdb missing, installed that too (apt-get install gdb), and Lazarus 1.6.2 started with no further complaints.

Unfortunately, I wasn't able to compile the empty application, nor the IDE. The error message looks familiar:

lazarus.pp(53,3) Fatal: Cannot find interfaces used by Lazarus, incompatible ppu=/usr/share/..../gtk2/interfaces.ppu, package LCL.

This thing is, on Linux, as broken as a broken thing can be.

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 08, 2017, 01:33:33 am
@jacmoe

tried what you suggested, with fpcupdatedeluxe run as su and without, always end up with the same error.

And now I kick my dog and go to bed.

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 08, 2017, 03:18:26 am
Since I like my dog, I continued. After endless trials and errors I found the magic bullet to fix the magic bullet:

sudo aptitude install make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev

OK, I admit, I didn't take the time to check out which package exactly fixed the issue, I just installed them all, and afterwards I could successfully build Lazarus using fpcupdeluxe.

Info is reliable insofar that I have, just to be sure, reset my VM to blank Debian install, and tried again, and got the same behavior: without the packages, fpcupdeluxe fails, after installing them it runs through and gives me a nicely working Lazaus 1.6.2. So the problem and the fix are reproducible any time.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 08, 2017, 06:02:19 am
What a interesting finding.

I've just checked my system and I found all of them are already installed on my computer:
- libx11-dev
- libgtk2.0-dev
- libgdk-pixbuf2.0-dev
- libcairo2-dev
- libpango1.0.dev

If my memory serve me well, I never install any of them directly. Maybe they were installed automatically when I install Lazarus/FPC, or perhaps the default of fresh UbuntuMate installation.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: DonAlfredo on February 08, 2017, 06:06:06 am
Normally, fpcupdeluxe checks the availability of these libs.
And reports/complains if missing.
But I have never tested with Netrunner (Debian).

Now installing Netrunner in VM. So fpcupdeluxe will do the right things also on this system.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 08, 2017, 11:51:31 am
Since I like my dog, I continued. After endless trials and errors I found the magic bullet to fix the magic bullet
Thank God for dogs :D

Nice troubleshooting!
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on February 08, 2017, 02:53:52 pm
Hello I'm back with my test result.

- UbuntuMate 16.10 64-bit fresh install + Lazarus 1.6.2 deb packages downloaded from Lazarus website (via SourceForge) works effortlessly on first attempt. It runs correctly with my simple test, both compiling and running.

- Right after UbuntuMate has been installed, the necessary packages weren't installed. But it will be automatically installed after Lazarus installed. I notice that while installing Lazarus, it tried to download something from the Internet.

- The neccesary packages are libx11-dev, libgtk2.0-dev, libgdk-pixbuf2.0-dev, libcairo2-dev, libpango1.0-dev

I don't have other Debian flavors, so I can only test on UbuntuMate. Someone please do more testings on other Linuxes.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: jacmoe on February 08, 2017, 03:03:16 pm
On Debian stretch/testing it works "out of the box" using both 1.6.2 debs from Sourceforge, and the 1.6.2 debs from Debian testing.

One thing to look out for on Linux - especially non standard distributions - is that OS and CPU are not always auto-detected by Lazarus, and has to be set in in 'Configure "Build Lazarus"'
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 08, 2017, 03:12:19 pm
Normally, fpcupdeluxe checks the availability of these libs.
And reports/complains if missing.
But I have never tested with Netrunner (Debian).

Now installing Netrunner in VM. So fpcupdeluxe will do the right things also on this system.

If I can be of any help, please let me know, as I said, I can reproduce the issue at will. My Debian install used the latest stable release fom the Debian server, installed into a new VM using all the defaults, plus VMWare Tools except ThinPrinting.

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: DonAlfredo on February 08, 2017, 03:24:45 pm
I now have a nice and new install of Netrunner running.
And fpcupdeluxe reported the missing libs as I expected.

But this was reported in the big scrolling green-screen, without halting the install.

I have updated fpcupdeluxe (not yet public) to show this as an error in the green-screen, and in the summary-screen below.
So this will catch better attention !

However, fpcupdeluxe will not error out on these missing libs, because FPC alone installs well without these libs.
Need more changes in fpcupdeluxe (and time) to implement better intelligence to handle this.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: ArminLinder on February 09, 2017, 12:57:10 pm
However, fpcupdeluxe will not error out on these missing libs, because FPC alone installs well without these libs.
Need more changes in fpcupdeluxe (and time) to implement better intelligence to handle this.

Hi DonAlfredo,

great work, thanks very much. And I totally agree that writing error messages in red (+boldface +underlined +blinking +24pt font - whatever the terminal supports) helps:-)

What I wonder ... without the libs, Lazarus/FPC would install, that's technically correct, but I wasn't able to compile, run or debug a single line of code. Still assuming that my troubles were indeed caused by the missing libraries, why do you consider those libraries missing a minor issue, worth a warning, but not a fatal error message?

Armin.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: DonAlfredo on February 09, 2017, 01:11:22 pm
@Nimral

If you would have choosen a command line FPC program without Lazarus, you would have succeeded in compiling without these libs. I use this setup to compile (Linux) services (servers).

Other than that: remnants of the past. I will improve the behavior of fpcupdeluxe on this subject !!
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mai on October 17, 2017, 10:49:06 am

Then Lazarus. I was really shocked about the carelessness the project seems to hamper starters like me. First of all, try to find proper installation instructions for Linux. There are dozens: outdated, incomplete, dead links, contradictory, even the official wiki page at
http://wiki.freepascal.org/Lazarus_release_version_for_Ubuntu (http://wiki.freepascal.org/Lazarus_release_version_for_Ubuntu)
starts with a "this page is outdated" warning (dating back almost 2 years), and the installation attempts all didn't work, no matter which of the described methods I tried. Each try wasted considerable time and resources downloading a lot of stuff and installing it, some even without complaints, but after starting Lazarus I wasn't even able to open a single demo project without ignoring several seriously looking errors first, none (zero, nada, 0) projects would compile, not even the basic "application" with nothing but an empty form.



I am shocked too! I try to keep telling the dudes in here but all I get is stupid answers.

You are 100% correct !  There is gross carelessness with Lazarus ! Shocking !
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: munair on October 17, 2017, 11:05:57 am

Then Lazarus. I was really shocked about the carelessness the project seems to hamper starters like me. First of all, try to find proper installation instructions for Linux. There are dozens: outdated, incomplete, dead links, contradictory, even the official wiki page at
http://wiki.freepascal.org/Lazarus_release_version_for_Ubuntu (http://wiki.freepascal.org/Lazarus_release_version_for_Ubuntu)
starts with a "this page is outdated" warning (dating back almost 2 years), and the installation attempts all didn't work, no matter which of the described methods I tried. Each try wasted considerable time and resources downloading a lot of stuff and installing it, some even without complaints, but after starting Lazarus I wasn't even able to open a single demo project without ignoring several seriously looking errors first, none (zero, nada, 0) projects would compile, not even the basic "application" with nothing but an empty form.



I am shocked too! I try to keep telling the dudes in here but all I get is stupid answers.

You are 100% correct !  There is gross carelessness with Lazarus ! Shocking !

Then Lazarus. I was really shocked about the carelessness the project seems to hamper starters like me. First of all, try to find proper installation instructions for Linux. There are dozens: outdated, incomplete, dead links, contradictory, even the official wiki page at
http://wiki.freepascal.org/Lazarus_release_version_for_Ubuntu (http://wiki.freepascal.org/Lazarus_release_version_for_Ubuntu)
starts with a "this page is outdated" warning (dating back almost 2 years), and the installation attempts all didn't work, no matter which of the described methods I tried. Each try wasted considerable time and resources downloading a lot of stuff and installing it, some even without complaints, but after starting Lazarus I wasn't even able to open a single demo project without ignoring several seriously looking errors first, none (zero, nada, 0) projects would compile, not even the basic "application" with nothing but an empty form.



I am shocked too! I try to keep telling the dudes in here but all I get is stupid answers.

You are 100% correct !  There is gross carelessness with Lazarus ! Shocking !
Interesting, you keep repeating your complaints, but I never see you actually taking the advices given by those who do not have any problems or managed to solve them. How come there are so many here using Lazarus on Linux successfully? Listen to them.

My advice again (you haven't responded to it so far): Use Debian stable and get Lazarus from the official repo. Works out of the box. If you insist on having the latest of Linux and/or Lazarus, you may run into problems because it may not have been thoroughly tested. From testing and solving problems comes stability. That's Debian (not Ubuntu, Mint or other derivates promising full-fledged out of the box experience), so pick your choice and stop whining.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on October 17, 2017, 11:30:57 am
Started Lazarus, compiled empty app, compiled "Hello" and compiled Lazarus - no problem whatsoever. Debugger tested OK too.

Nimral had problem installing Lazarus but because he tried what we suggested to him, now he can use Lazarus. That post above was his saying. It seems that mai isn't interested to solve the problem, s/he tried to find all the problems related with Lazarus s/he can found and showed them to us.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: munair on October 17, 2017, 11:33:00 am
Started Lazarus, compiled empty app, compiled "Hello" and compiled Lazarus - no problem whatsoever. Debugger tested OK too.

Nimral had problem installing Lazarus but because he tried what we suggested to him, now he can use Lazarus. That post above was his saying. It seems that mai isn't interested to solve the problem, s/he tried to find all the problems related with Lazarus s/he can found and showed them to us.
It seems that way.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mai on October 17, 2017, 11:41:39 am
using debian stable will not give a better "make help" output. it will be as useless as on a "neon nightly".
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: munair on October 17, 2017, 11:50:59 am
using debian stable will not give a better "make help" output. it will be as useless as on a "neon nightly".
My advice: don't use Linux. You're not up to it.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mai on October 17, 2017, 11:52:22 am
no, you're not up to delivering proper software.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: marcov on October 17, 2017, 11:54:49 am
no, you're not up to delivering proper software.

We don't deliver software on Ubuntu. Ubuntu does. They are a OS+software distribution, integrating packages is their raison d'etre.

Anyway, I seriously wonder what you are trying to achieve with these rants.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mai on October 17, 2017, 11:57:06 am
no, you're not up to delivering proper software.
Anyway, I seriously wonder what you are trying to achieve with these rants.

Well I wrote a legit critique of Laz, and I stand by it.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: munair on October 17, 2017, 12:04:48 pm
no, you're not up to delivering proper software.
:D You had me on the floor with that one. Those who have visited my website and software description know how "proper" and complex applications can be written using Lazarus that can run on multiple platforms. I had no issues developing except for the coding errors I created myself. Look before you talk. you will accomplish nothing with these meaningless comments.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Thaddy on October 17, 2017, 12:10:53 pm
I concur.  O:-) Whatever assumptions about scientific merit you wrote a very nice piece of software.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: marcov on October 17, 2017, 12:18:38 pm
Well I wrote a legit critique of Laz, and I stand by it.

There is only a bunch of emotional statement with at best some minor grievances. The grievances are not categorized, and it is not clear if they are incidental or fundamental.

There is no wellfunded critique with relevant details, suggested improvements and totally bypassing the fact that Ubuntu/debian specific packaging is outside the Lazarus/FPC projects.

So while it might allow you to let of some steam, for anything else it is an useless rant and forum polution.
Title: Lazarus on Linux: messed up. Completely.
Post by: mai on October 17, 2017, 12:21:24 pm
no, you're not up to delivering proper software.
Those who have visited my website and software description know how "proper" and complex applications can be written using Lazarus that can run on multiple platforms. I had no issues developing


So I take it that your Makefile is actually working and the app supports 5 mouse buttons or more ...
Title: Re: Lazarus on Linux: messed up. Completely.
Post by: munair on October 17, 2017, 12:28:09 pm
no, you're not up to delivering proper software.
Those who have visited my website and software description know how "proper" and complex applications can be written using Lazarus that can run on multiple platforms. I had no issues developing


So I take it that your Makefile is actually working and the app supports 5 mouse buttons or more ...

1. The software doesn't require 5 mouse buttons. Even CAD software don't need that many. But it does support three buttons (including the wheel), even in combination with shift keys. Everything works as expected.  %)

2. I dont need a makefile as it is not compiled from the terminal. Coding in Lazarus and hitting "build" is all it takes. 8)
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on October 17, 2017, 12:44:18 pm
I ever bought a Microsoft 5 Buttons Mouse. I bought it because it looks cool not because I need it. I was happy with the mouse, but actually I almost never used those extra buttons.

if that is so, what do you need a help-forum for?

You use this forum incorrectly.

If you want to review software, then go to review forums. If you found bugs then go to the bug tracker forum. This forums already helped hundreds or maybe thousands of users who really want to solve programming issues. This forum definitely is not for ranting.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mizar on October 17, 2017, 12:50:15 pm
Lots of broken troll-o-meters these days here  ::) ;D ;)
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Leledumbo on October 17, 2017, 03:33:39 pm
Let's leave him be, we all know what attention seekers want: attention. So ignore him and he will be gone eventually.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: marcov on October 17, 2017, 04:48:03 pm
fyi To get back on topic, it seems that the advertised 5 button patches are already in SVN, but maybe rearrangements have been done that prohibit working. IOW it is more a debug case than a merge this patch case.

see https://bugs.freepascal.org/view.php?id=32562
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mai on October 18, 2017, 08:57:02 am
extra buttons did not work here using that latest revision.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mai on October 18, 2017, 08:59:27 am
Let's leave him be, we all know what attention seekers want: attention. So ignore him and he will be gone eventually.

It is safe to assume that Lazarus will hardly improve, because too many people ridicule anybody who points to glaring shortcomings of Laz. They'd rather stick with their pet "ORM MVC" or whatever and let everything fall into ruins.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: JanRoza on October 18, 2017, 09:30:48 am
Yeah, the whole (pascal) world is wrong and you are right.
Can you please stop whining about problems only you seem to have?
If it is so bad then why not contribute to this project yourself instead of only making negative whining.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Thaddy on October 18, 2017, 09:42:09 am
He sounds like coming from windows and expects a similar experience on other platforms. Then blames the symptoms, which are lack of knowledge. Troll.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mai on October 19, 2017, 05:52:46 am
Yeah, the whole (pascal) world is wrong and you are right.
Can you please stop whining about problems only you seem to have?
If it is so bad then why not contribute to this project yourself instead of only making negative whining.

Dude I'm a truther and you can't cope with reality. You must suppress all utterings about the true state of affairs so you can stick to your belief system that you are Bill Gates II.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on October 19, 2017, 05:58:16 am
I'm sorry to hear that you have problem with Lazarus. Have you consider to use Delphi? It is commercial supported, it should be better. Lazarus/FPC is volunteer supported project, yes we know it is buggy. You can visit the bug reports, lots of bugs still unsolved.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: mai on October 19, 2017, 06:12:29 am
I did use Delphi back in 1990's

seems like a pinnacle of software even 20 years later. That's all I'm saying.

compare that to Apple LISA - Pascal of the 1980's which is absolutely abysmal ...
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: Handoko on October 19, 2017, 06:16:35 am
Why do you stop using Delphi but use Lazarus?

I mean Lazarus is buggy. Yes, I agree with you, Lazarus is buggy. Because I really found many bugs. Luckily I can make it works.
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: munair on October 19, 2017, 07:44:30 am
Yeah, the whole (pascal) world is wrong and you are right.
Can you please stop whining about problems only you seem to have?
If it is so bad then why not contribute to this project yourself instead of only making negative whining.

Dude I'm a truther and you can't cope with reality. You must suppress all utterings about the true state of affairs so you can stick to your belief system that you are Bill Gates II.

Well, let me tell you about truth and reality then.  :-*

Do you realize that Lazarus and FPC are gigantic projects done by volunteers using their spare time? Have you ever tried to write a compiler yourself? If so, you know the expertise it requires. Have you ever tried to develop RAD software? Do you know how many years it would take for a single individual to write the many lines that the Lazarus project contains? Not to mention the free pascal compiler?

Have you paid for any service to get support? Lazarus and FPC are free software. You can download and use them without paying a dime. Did the volunteers promise you a perfectly working suite? No!

Considering all this, how dare you complain! Lazarus/FPC is a great effort. Consider what FPC allows you to do. Delphi doesn't even come close. So take it or leave it. Complaining accomplishes nothing. If you want a perfectly running suite (which doesn't exist) then stick to proprietery alternatives and pay for the services/bug fixes you want.

Considering where Lazarus was 10 years ago and where it is now, the coders have done a remarkable job. If you are frustrated then don't blame Lazarus/FPC. If you want to develop for the Linux platform so badly, then use the development tools that work for you (there are many) and accept the fact that Linux for the most part is open-source free software. Companies will never write full fledged RAD tools like Delphi or Visual Studio for Linux because there's no profit in there. Maybe that's what your frustration should target.

This is my final comment on the matter.  8-)
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: balazsszekely on October 19, 2017, 08:11:21 am
I'm perplexed by the fact that @mai is still here. When @Munair, @Thaddy and myself talked about interesting scientific facts it was labeled off topic. OK I'm fine with that, actually it was off topic, but what @mai has done in the last few days is unacceptable. He infested every opened thread with rant about Lazarus/FPC, basically he calls us stupid liars, more over he even modified the Wikipedia, spreading FUD and lies. How long we have to tolerate the super off topic troll? @marcov any thoughts on this?
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: avra on October 19, 2017, 08:42:26 am
Yeah, the whole (pascal) world is wrong and you are right.
Can you please stop whining about problems only you seem to have?
If it is so bad then why not contribute to this project yourself instead of only making negative whining.

Dude I'm a truther and you can't cope with reality. You must suppress all utterings about the true state of affairs so you can stick to your belief system that you are Bill Gates II.

You have bad experience. That is the fact. You shared your bad experience. That is also fine. People tried to help you in various ways. We saw that your bad experience with at least fpcupdeluxe was because you didn't read documentation and that you misused the tool. I am glad that at the end at least fpcupdeluxe worked for you. But what is not nice from your side is that when people are saying that nobody can reproduce your exact situation, and when people here are sharing mostly positive experience, you call us liers (if I remember well you used the words of people belonging to some cult). That is not nice at all, and I really think that I will not try to help you any more. Do you know how many hours in total was spent by various people on this forum while they were just trying to help? Trying to reproduce your problem takes clean Debian (which takes time) and Lazarus installation (repo, deb, src, fpcupdeluxe also take time). You got it all for free, and you do not respect that, just ranting and infecting so many topics. What do you expect? Tolerance has limits, at lest mine has. You just can't stand that majority does not share your opinion and your bad experience. Well, find another community. Pretty please!
Title: Re: Rant: Lazarus on Linux: messed up. Completely.
Post by: del on December 29, 2017, 04:16:16 am
I kinda thrashed around with various attempts with tarballs and sudo apt-gets and the Mint Software Manager, etc. But the only thing that really got any traction was fpcupdeluxe.

It wasn't perfect but it got things up and running and most of my windows code was good to go. Had to deal with some package stuff and TBitmap scanline stuff (now use TBGRABitmap), but all in all it's been a good time.  8)
TinyPortal © 2005-2018