Hi Paweld
I have tried again this morning.
Using a fresh install of 64 bit PI Os bookworm on a PI 5, I did the following
1. sudo raspi-config nonint do_wayland W1
2. sudo apt install libx11-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev git
3. for the 64 bit systems for 64 bit system:
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/v2.4.0a/fpcupdeluxe-aarch64-linux4. for the downloaded file, give the rights to run: right click on the file > Properties > Permissions > set Execute to Anyone.
5. run fpcupdeluxe
6. I choose the version of FPC and Lazarus to install, to start I recommend FPC: stable, Lazarus: stable.
The same error as before 512 while building.
***************************************************************************************
I next formatted the SD card and this time I installed the latest PI OS bookworm for the PI 5 but 32 bit.
I repeated the steps above and the lazarus installed completing with no errors.
Thanks everyone for all your help, I know it is not easy to find an error without sufficient information of what errors occurred and when.
Later today I will try the above with a PI 4 8Gb and repeat the steps, I will install a legacy PI Os 64 bit Bullseye.
Regards Andrew
Regards Andrew