Forum > General
Using old LCL
dodi:
--- Quote from: Martin_fr on February 06, 2023, 08:37:23 pm ---Any (such) old LCL will not be able to read forms (lfm files) by any newer IDE.
Also, it will not compile with current FPC.
--- End quote ---
We'll see.
Unfortunately I don't remember and cannot find how to install the entire Lazarus/fpc version. Can somebody help with *.rpm files based distribution?
Otherwise for a first attack can I simply replace the newer LCL source folder by the old one? Or where can I change the Lazarus source folder?
dbannon:
Hi Dodi, did you read the comments above ? Mixing old with new will lead certainly fail ! Using just the old ones, that is at least the old FPC, the old Lazarus and possibly the old Linux might get you going but why on earth would you want to ?
https://wiki.freepascal.org/Installing_Lazarus_on_Linux shows you how to install properly in several different ways. Your distro provided one is probably easiest but will get you a slightly older version probably.
My (always) recommended model is to check you distro's package manager and if it provides FPC 3.2.2 (and its likely) then install that and the lazarus dependencies and then build Lazarus from source.
Its all documented in the above wiki page, if you run into problems after reading that wiki page, come back.
Davo
TRon:
--- Quote from: dodi on February 06, 2023, 11:56:56 pm ---
--- Quote from: Martin_fr on February 06, 2023, 08:37:23 pm ---Any (such) old LCL will not be able to read forms (lfm files) by any newer IDE.
Also, it will not compile with current FPC.
--- End quote ---
We'll see.
--- End quote ---
Just a heads up: You'll fail :)
--- Quote ---Unfortunately I don't remember and cannot find how to install the entire Lazarus/fpc version. Can somebody help with *.rpm files based distribution?
--- End quote ---
Use the source Luke !
--- Quote ---Otherwise for a first attack can I simply replace the newer LCL source folder by the old one? Or where can I change the Lazarus source folder?
--- End quote ---
Oh boy. Don't take my word for it and for sure do not take it personally but if you ask such type of questions then you are in over your head and have no idea about what others just tried to tell you and the implications that your idea has/will have.
Just use the old source-code for compiler and Lazarus and build your own (custom) setup. Mixing the new with old /will/ fail.
dodi:
--- Quote from: dbannon on February 07, 2023, 12:11:12 am ---if you run into problems after reading that wiki page, come back.
--- End quote ---
Now I tried to install Lazarus on MintFX from gitlab repository. Make fails with
<pre>Free Pascal Compiler version 3.0.4+dfsg-18ubuntu2 [2018/08/29] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling fcllaz.pas
/home/dodi/lazarus/packager/registration/fcllaz.pas(11,3) Fatal: (10022) Can't find unit db used by fcllaz
</pre>
What's wrong?
marcov:
--- Quote from: dodi on February 09, 2023, 06:18:53 am ---
(3104) Compiling fcllaz.pas
/home/dodi/lazarus/packager/registration/fcllaz.pas(11,3) Fatal: (10022) Can't find unit db used by fcllaz
</pre>
What's wrong?
--- End quote ---
Db is a standard FPC unit. Wrong or partial install of FPC. Make sure you install all the fpc-* packages.
Navigation
[0] Message Index
[#] Next page
[*] Previous page