Laz2.0 under Buster (arm) - issue lazarus / 21-General ---------------------------------------------------------------------- krolikbest · 2025-05-26 08:13 Hi, I wanted to install default version of Lazarus under Buster on RPi 3B+. With install process it went ok, but while trying to install some external components (let's say LazSerial) I got error telling me that Quotelazarus.pp(1.1) fatal: cannot find fpdebug by Lazarus. Check if package fpdebug creates fpdebug.ppu... How to avoid this issue? I do not want to install some newer version of Laz.? Regards, Martin ---------------------------------------------------------------------- Thaddy · 2025-05-26 08:39 I suppose that if you would use both fpc and lazarus from the buster repositories it should work. I have quite some 3B+ running and encountered no problems in such a case. That said, my 3B+'s are pretty much left alone because they run production code like Pihole and such or devices. Also note I always add backports. May be not what you want. ---------------------------------------------------------------------- krolikbest · 2025-05-26 08:41 Despite it is fresh installation of Buster, unfortunateli I did ---------------------------------------------------------------------- Thaddy · 2025-05-26 08:44 Can you show me exactly how you did install? Then I can compare to mine' s. ---------------------------------------------------------------------- krolikbest · 2025-05-26 08:51 I did simply Quotesudo apt update sudo apt upgrade reboot sudo apt install fpc sudo apt install lazarus That's all. ---------------------------------------------------------------------- rvk · 2025-05-26 08:57 What version does apt actually install? (you can check under Help > About) Lazarus 2.0 is really 'old'. Did that one already come with fpdebug? But... you say "external" component LazSerial... did you mean via OPM (Online Package Manager)? OPM downloads latest sources and they are not guaranteed to work under older versions of Lazarus/FPC. Only stick to the packages under Tools > Install/Uninstall packages or if you really need to download something... make sure it's a version from the same year (for Lazarus 2.0 somewhere around 2019-2021). It would be better to just install Lazarus 4.0. ---------------------------------------------------------------------- krolikbest · 2025-05-26 09:17 fpc 3.0.4 laz 2.0.0+dfsg-2 I know it is old. But it is default in Buster. Yes, I checked in OPM (this ver of Laz comes with OPM) for LazSerial. It started downloading but when started to rebuild Laz that error occured. Now even if I try to rebuild Laz I get this error. Ups, I didn't know that only valid packages for old version like mine, they are in Install/Uninstall. But what now? ---------------------------------------------------------------------- rvk · 2025-05-26 09:37 There should be an old lazarus.old in your directory (not sure how it's named under Linux). Rename it back to lazarus and you can start the old correct version. Now uninstall the package you installed latest and try to recompile. But... then you are still stuck with a version without your desired package. Then you need to hunt down older source... But it might be better to just go for Lazarus 4.0 (where you can install the latest packages). You can try installing the standard .deb files from the main page or try fpcupdeluxe. I'm not sure if the new standard .deb files are compatible with the old Buster distro. https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64 %20DEB/Lazarus%204.0/ ---------------------------------------------------------------------- krolikbest · 2025-05-26 10:21 Sorry, I gave up. Even choosing Tools->Configure "bild lazarus"->Buil on clean installation I get the same error. I try install on win machine something newer and add crosscompiler. Anyway thank you for help.