• Re: How to configure a FPC-Ide?

    From Theo@3:770/3 to F. W. on Thu Mar 17 10:07:32 2022
    F. W. <me@home.com> wrote:
    Excuse me, I am wrong here. But in other groups and with Google, I do
    not find any answer since weeks.

    I use FreePascal, namely Lazarus. This offers a Textmode IDE. But that
    do not work on Raspi OS. I can start it, but I can not compile ("Unit
    System not found"). A unit is a module like those #included in C.

    I tried on a fresh Raspi OS installation:

    sudo apt-get install fpc

    On my Ubuntu it works without an configuration. On my Pis not. I can not explain the differences.

    What should I look for? Thanx!

    There are various fp-units-* packages. Try installing them (all)? fp-units-base and fp-units-rtl look like prime suspects.

    (I'm looking from Ubuntu, but expect RaspiOS packages share the same names)

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Vincent Coen@2:250/1 to F. W. on Thu Mar 17 15:06:36 2022
    Hello F!

    Thursday March 17 2022 07:24, you wrote to All:

    Excuse me, I am wrong here. But in other groups and with Google, I do
    not find any answer since weeks.

    I use FreePascal, namely Lazarus. This offers a Textmode IDE. But that
    do not work on Raspi OS. I can start it, but I can not compile ("Unit
    System not found"). A unit is a module like those #included in C.

    I tried on a fresh Raspi OS installation:

    sudo apt-get install fpc

    On my Ubuntu it works without an configuration. On my Pis not. I can
    not explain the differences.

    What should I look for? Thanx!

    You need to install all components from FPC such as src, doc and build along with the Pi version fpc-3.2.2.arm-linux-raspberry-2.tar.

    For Lazarus it look best to grab from the GIT code repo having installed GIT onto your system first.

    Lazarus is the frontend IDE Rapid applications development tool and libraries for FPC available from :
    https://sourceforge.net/p/lazarus/laz.git/ci/main/tree

    You may well need to install other required components such as dev libraries so
    read the docs for both for installing.

    Personally I would not recommend installing all this on a SD - it will be painfully slow - heck its bad enough using a SSD or HDD.

    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.7.24/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)