Recent

Author Topic: Not able to add any component after an application has run  (Read 2197 times)

dbannon

  • Hero Member
  • *****
  • Posts: 2750
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Not able to add any component after an application has run
« Reply #15 on: December 02, 2023, 07:41:27 am »
I use the 64bit Raspi OS which I believe uses Wayland and I have no trouble using it with Lazarus and Lazarus made apps.

My policy is pretty much to use the repository to install FPC3.2.2 and build Lazarus from source. Always, always build Lazarus from source. As mentioned above, its a simple and reliable process. Installing from a package means your Lazarus is installed in read only diskspace, but Lazarus needs to rebuild it self from time to time.  The package installs can do that but just think what a complicated process it must be ?

https://wiki.freepascal.org/Installing_Lazarus_on_Linux#Build_Lazarus_from_Source

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

andrew Bubble

  • Jr. Member
  • **
  • Posts: 57
Re: Not able to add any component after an application has run
« Reply #16 on: December 02, 2023, 10:22:44 am »
Hi Paweld

This looks a great install application.

I did as you asked however, I got an error details from the log file fpcup.log

Error running /usr/bin/make for fpc failed with exit code 512.

Regards Andrew

andrew Bubble

  • Jr. Member
  • **
  • Posts: 57
Re: Not able to add any component after an application has run
« Reply #17 on: December 02, 2023, 12:03:58 pm »
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-linux

4.  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




andrew Bubble

  • Jr. Member
  • **
  • Posts: 57
Re: Not able to add any component after an application has run
« Reply #18 on: December 02, 2023, 12:06:44 pm »
Hi Paweld

Sorry forgot  to add

when I installed the 32 bit PI Os I used the following

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/v2.4.0a/fpcupdeluxe-arm-linux

paweld

  • Hero Member
  • *****
  • Posts: 941
Re: Not able to add any component after an application has run
« Reply #19 on: December 02, 2023, 01:11:43 pm »
Hi Andrew,I checked with myself and there is indeed a problem installing FPC stable and Lazarus stable on a 64 bit system.
As I wrote, I always install FPC fixes and Lazarus trunk and never had a problem. A while ago I did a fresh installation and it completed successfully.
Best regards / Pozdrawiam
paweld

andrew Bubble

  • Jr. Member
  • **
  • Posts: 57
Re: Not able to add any component after an application has run
« Reply #20 on: December 02, 2023, 02:46:49 pm »
Hi Paweld

Just to confirm I have just put a legacy PI Os 64 bit (bullseye) on an SD card and after reboot

Repeated my other steps, I have installed the stable version of Lazarus and the install completed with no errors.

I have also had no issues as previously stated with adding buttons, stopping the application etc.

However I will do as you suggested and use the trunk version of Lazarus on a PI running 64 bit (bookworm).

Regards Andrew

 

TinyPortal © 2005-2018