Recent

Author Topic: Fpcupdeluxe  (Read 966089 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1851
Re: Fpcupdeluxe
« Reply #2640 on: November 13, 2025, 07:11:57 pm »
Quote
I just removed the numerical .0 extension in each case, so each ended with .so instead
Do you know which libs ? I will add this into the scanner.

Cascade

  • Jr. Member
  • **
  • Posts: 65
Re: Fpcupdeluxe
« Reply #2641 on: November 13, 2025, 10:46:00 pm »
Yes it's these filenames that the linker wants:

Code: [Select]
Error: .../cross/bin/aarch64-linux/aarch64-linux-ld: cannot find -lgtk-3: No such file or directory
Error: .../cross/bin/aarch64-linux/aarch64-linux-ld: cannot find -lgdk-3: No such file or directory
Error: .../cross/bin/aarch64-linux/aarch64-linux-ld: cannot find -lcairo-gobject: No such file or directory
Error: .../cross/bin/aarch64-linux/aarch64-linux-ld: cannot find -lgio-2.0: No such file or directory
Error: .../cross/bin/aarch64-linux/aarch64-linux-ld: cannot find -lharfbuzz: No such file or directory
Error: .../cross/bin/aarch64-linux/aarch64-linux-ld: cannot find -lharfbuzz-gobject: No such file or directory

...so I renamed 5 files collected by the scanner, and also added in the missing libharfbuzz-gobject.so file.  I've attached a screenshot of the original filenames as collected by the scanner below.

Note for LCL Qt6 widget set:  Just to complicate things, libQt6Gui.so.6 references libharfbuzz.so.0 (with the zero), whereas the linker wants the filename without the zero.  So two copies of this file are required for some reason, one ending .so the other copy ending .so.0 - I don’t really understand this!  (Related: I think I had to install qt6pas package in Fedora)
« Last Edit: November 13, 2025, 10:54:33 pm by Cascade »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1851
Re: Fpcupdeluxe
« Reply #2642 on: November 16, 2025, 10:39:15 am »
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/v2.4.0h
The latest version of fpcupdeluxe now:
* supports Lazarus 4.4, the latest release
* allow you to update the version lists to latest releases, if any
The above means (if all works as expected), that you do not have to wait for an fpcupdeluxe release to get the latest stable versions of FPC and Lazarus.
Please note:
Do NOT upgrade an existing install (except running releases like main or fixes).
Always upgrade/update into a new directory.

geraldholdsworth

  • Sr. Member
  • ****
  • Posts: 273
Re: Fpcupdeluxe
« Reply #2643 on: November 23, 2025, 11:29:54 am »
Thought I'd install FPCUpDeluxe on my RPi, as it is always on (configured as my development web server). So, I downloaded fpcupdeluxe-aarch64-linux and tried to run it. No luck.
Double click in the GUI and it just does nothing. Run it from Terminal and I get 'No such file or directory' (see piccy).

OK, this isn't an FPCUpDeluxe issue - more me not knowing Linux that well.

The RPi is running 64 bit version of the OS. Should I try the 32 bit FPCUpDeluxe instead?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1851
Re: Fpcupdeluxe
« Reply #2644 on: November 23, 2025, 12:05:43 pm »
Commandline version is your friend.
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases
Fpcupdeluxe is a GUI shell around fpcup.
Please note: you might need to add some commandline options.
./fpclazup --installdir="~/fpclaztrunk" --fpcURL=trunk --lazURL=trunk --fpcsplit
« Last Edit: November 23, 2025, 12:14:38 pm by DonAlfredo »

geraldholdsworth

  • Sr. Member
  • ****
  • Posts: 273
Re: Fpcupdeluxe
« Reply #2645 on: November 23, 2025, 01:25:58 pm »
Cheers Don. Still no joy - still get 'No such file or directory'. Even if I rename it to 'fpclazup'.

EDIT: Downloaded the 32 bit version and that runs OK. So, even though I have the 64bit version of Raspbian running, it won't run the 64 bit version of FPCUpDeluxe.
« Last Edit: November 23, 2025, 01:37:09 pm by geraldholdsworth »

ccrause

  • Hero Member
  • *****
  • Posts: 1083
Re: Fpcupdeluxe
« Reply #2646 on: November 27, 2025, 06:34:17 am »
When I try to install latest FPC trunk after installing FPC 3.2.2, it seems as if fpcupdeluxe does not update the fpc source to latest trunk, resulting in a 3.2.2 compiler.

As per attached screenshot, I selected FPC trunk on basic tab, then clicked on the [Only FPC] button.  The resulting output is attached as fpc-trunk-install.txt.

After completion of fpcupdeluxe install process:
Code: [Select]
christo@christo-Aspire-R3-131T:~/fpcupdeluxe/fpcupdeluxe$ ./fpc/bin/x86_64-linux/ppcx64 -i
Free Pascal Compiler version 3.2.2

Compiler date      : 2025/11/27
Compiler CPU target: x86_64
and
Code: [Select]
christo@christo-Aspire-R3-131T:~/fpcupdeluxe/fpcupdeluxe/fpcsrc$ git log
commit 0d122c49534b480be9284c21bd60b53d99904346 (grafted, HEAD, tag: release_3_2_2)
Author: marco <marco@freepascal.org>
Date:   Sat May 15 15:38:31 2021 +0000

     * requiredversion to 3.2.0 and 3.2.2
   
    git-svn-id: tags/release_3_2_2@49371 -

Any ideas why the latest FPC trunk is not checked out from Gitlab?

BosseB

  • Sr. Member
  • ****
  • Posts: 484
Re: Fpcupdeluxe
« Reply #2647 on: November 27, 2025, 11:10:42 am »
I am mostly using FPC/Lazarus on Linux, but I also have a Windows11 installation made by fpcupdeluxe. On Linux I usually stray with the apt provided fpc. It seems like that does not change so frequently.

Question:
If I want a newer Lazarus/Fpc do I have to make another full installation using those version numbers or can FpcUpDeluxe be used to upgrade the existing installation and keep all of the extra packages I have installed using OnlinePackageManager?
And IDE customizations...

Or is the process limited to downloading the latest FpcUpDeluxe + setting up a clean folder system + running FpcUpDeloxe towards that top folder and then wade through all of the customization hurdles already done on the existing installation?
--
Bo Berglund
Sweden

Thaddy

  • Hero Member
  • *****
  • Posts: 18521
  • Here stood a man who saw the Elbe and jumped it.
Re: Fpcupdeluxe
« Reply #2648 on: November 27, 2025, 11:48:24 am »
Upgrading will work with fpcupdeluxe, since it checks out the sources, but it will perform a full rebuild.
Which is gooooood.... And takes max 8 minutes or so. even on prehistoric hardware. Are you afraid of that? It is the 21st century.
(On my laptop it takes less than 4 minutes to build fpc+lazarus, and that is a cheap laptop. On RPi5 it tales around 8 minutes)
« Last Edit: November 27, 2025, 11:52:20 am by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1851
Re: Fpcupdeluxe
« Reply #2649 on: November 27, 2025, 02:10:39 pm »
@ccrause
From the logfile:
Quote
fpcupdeluxe: info: FPC Native Installer (BuildModule: FPC): Detected source version FPC (source): 3.2.2.
This means that fpcupdeluxe has detected that there are already sources available located in the fpcsrc directory with version 3.2.2 . These sources will not be upgraded to a new version. As per recommendations by the FPC-devs themselves. New version -> new install location.
However, fpcupdeluxe should have detected this and might error out. As that did not happen, I will investigate why.

@BooseB
Quote
If I want a newer Lazarus/Fpc do I have to make another full installation
Yes. Upgarding can lead to undefined behavior and hard to detect errors.
That is why it is strongly recommended to perform a full install into a new location.


ccrause

  • Hero Member
  • *****
  • Posts: 1083
Re: Fpcupdeluxe
« Reply #2650 on: November 27, 2025, 02:45:35 pm »
@ccrause
From the logfile:
Quote
fpcupdeluxe: info: FPC Native Installer (BuildModule: FPC): Detected source version FPC (source): 3.2.2.
This means that fpcupdeluxe has detected that there are already sources available located in the fpcsrc directory with version 3.2.2 . These sources will not be upgraded to a new version. As per recommendations by the FPC-devs themselves. New version -> new install location.
However, fpcupdeluxe should have detected this and might error out. As that did not happen, I will investigate why.

You are correct, thank you!  I deleted fpcsrc folder, then a trunk install worked.  An error message would help to avoid confusion  :D

nomorelogic

  • Full Member
  • ***
  • Posts: 196
Re: Fpcupdeluxe
« Reply #2651 on: November 28, 2025, 06:39:59 pm »

I wanted to report to the fpcupdeluxe maintenance that I had a problem with the pas2js version (installed from fpcupdeluxe).

After downloading the latest version, the problem was resolved.


https://forum.lazarus.freepascal.org/index.php/topic,72872.msg571117/topicseen.html#new

 

TinyPortal © 2005-2018