Rasberry 4, Can't install Lazarus 3.0 lazarus / 32-Linux ---------------------------------------------------------------------- arneolav · 2023-12-25 17:47 Rasberry 4, 4Gb, 128Gb. Downloaded Lazarus3.0 from http://sourceforge.net,  Lazarus Linux amd64 DEB, then Lazarus 3.0 on next page (page marked Home / Lazarus Linux amd64 DEB). On installing .deb files with "sudo apt" on the  (brand new) Rasberry I got message unsupported file. Tried then dpgk, got message "amd64 does not match system(arm64)". I'm new to Rasberry; Found how to install here: https://wiki.freepascal.org/Installing_Lazarus_on_Linux Used this comando: sudo apt install fpc-laz_3.2.2-210709_amd64.deb Ideas? ---------------------------------------------------------------------- paweld · 2023-12-25 18:45 Try this: https://forum.lazarus.freepascal.org/index.php/topic,65399.m sg498372.html#msg498372 ---------------------------------------------------------------------- TRon · 2023-12-25 19:11 Quote from: arneolav on December 25, 2023, 06:47:20 pmRasberry 4, 4Mb, 128Gb. I assume the Mb is a typo (e.g. should read GB). QuoteLazarus Linux amd64 DEB, .. Tried then dpgk, got message "amd64 does not match system(arm64)". The raspberry pi family of computers do not use a AMD/intel processor, rather it makes use of an ARM processor, hence the error. It seems that there is no Lazarus distribution package for ARM located on sourceforge so indeed paweld's suggestion to use fpcupdeluxe would be the easiest route. ---------------------------------------------------------------------- arneolav · 2023-12-25 20:24 Yes, Rasberry 4, 4Gb, 128Gb. Thanks to you, I can't see how i could figure out this my self! I think such description should be included in the the readme file. Or even better, a complete installation procedure like Lazarus for windows. ... fpcupdeluxe did run some minutes until Error, while linking [Makefile 2837, build-stamp.aarch64-linux] Error 2 Available diskspace more than 107Gb Then I can't do very much.. Email was sent to fpcupdeluxe. ---------------------------------------------------------------------- af0815 · 2023-12-25 20:31 Quote from: arneolav on December 25, 2023, 09:24:30 pmfpcupdeluxe did run some minutes until Error, while linking [Makefile 2837, build- stamp.aarch64-linux] Error 2Setup+ in fpcupdeluxe have the checkbox "be very verbose" so you see more detailed information about the linking error. Error in linking can have a not fullfilled requerement as source. ---------------------------------------------------------------------- arneolav · 2023-12-25 21:29 Hi! May be this is because i'v tried some installs of Laz 3.0 Fpcupdeluxe is from stable, may be there are some conflicts. I'll do a new clean install of the Rasberry SD card. .... The extra verbose list don't tell me very much, but here it is, it could'n be attached. pcupdeluxe: info: FPC Native Installer (CleanModule: FPC): Running make distclean twice. fpcupdeluxe: info: FPC Native Installer (CleanModule: FPC): Removal of stale build files and directories for aarch64-linux. May take a while. fpcupdeluxe: info: FPC Native Installer (CheckModule: FPC): Checking FPC sources with Git Client. fpcupdeluxe: info: FPC Native Installer (GetModule: FPC): Start checkout/update of FPC sources. fpcupdeluxe: info: FPC Native Installer (GitClient: FPC): Running GIT checkout or update of tag release_3_2_2. fpcupdeluxe: Start of compile error summary. fatal: No annotated tags can describe '0d122c49534b480be9284c21bd60b53d99904346'. fpcupdeluxe: Executing: /usr/bin/git describe HEAD (working dir: /home/aom/fpcsrc) fpcupdeluxe: info: FPC Native Installer (GitClient: FPC): Current commit name: release_3_2_2. fpcupdeluxe: info: FPC Native Installer (GitClient: FPC): Current commit message: requiredversion to 3.2.0 and 3.2.2git-svn-id: tags/release_3_2_2@49371 -. fpcupdeluxe: info: FPC Native Installer (GetModule: FPC): FPC is at revision/hash: 0d122c49. fpcupdeluxe: info: FPC Native Installer (GetModule: FPC): No updates for FPC found. fpcupdeluxe: Start of compile error summary. fatal: No annotated tags can describe '0d122c49534b480be9284c21bd60b53d99904346'. fpcupdeluxe: Executing: /usr/bin/git describe HEAD (working dir: /home/aom/fpcsrc) fpcupdeluxe: info: FPC Native Installer (GetModule: FPC): No FPC patches defined. fpcupdeluxe: info: FPC Native Installer (BuildModule: FPC): Going to build FPC. fpcupdeluxe: info: FPC Native Installer (BuildModule: FPC): Detected source version FPC (source): 3.2.2. fpcupdeluxe: info: FPC Native Installer (BuildModule: FPC): To compile this FPC, we need (required) a compiler with version 3.2.0 or 3.2.2. fpcupdeluxe: info: FPC Native Installer (BuildModule: FPC): To compile this FPC, we will use the (already available) compiler with version : 3.2.2. fpcupdeluxe: info: FPC Native Installer (BuildModuleCustom: FPC): Using FPC bootstrap compiler with version: 3.2.2. fpcupdeluxe: info: FPC Native Installer (BuildModuleCustom: FPC): Now building FPC. fpcupdeluxe: Might be GLIBC>=2.34 hardening error. fpcupdeluxe: See: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295 fpcupdeluxe: Might be GLIBC>=2.34 hardening error. fpcupdeluxe: See: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295 fpcupdeluxe: Might be GLIBC>=2.34 hardening error. fpcupdeluxe: See: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295 fpcupdeluxe: Might be GLIBC>=2.34 hardening error. fpcupdeluxe: See: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295 fpcupdeluxe: Start of compile error summary. fpmake.pp(60) Error: Error while linking fpcupdeluxe: Start of compile error summary. fpmake.pp(60) Fatal: There were 1 errors compiling module, stopping fpmake.pp(60) Error: Error while linking fpcupdeluxe: Start of compile error summary. Fatal: Compilation aborted fpmake.pp(60) Fatal: There were 1 errors compiling module, stopping fpcupdeluxe: Start of compile error summary. fpcupdeluxe: ERROR: FPC Native Installer (BuildModuleCustom: FPC): Error running /usr/bin/make for FPC failed with exit code 512 . Details: . fpcupdeluxe: Done !! ---------------------------------------------------------------------- TRon · 2023-12-26 00:20 @arneolav: I believe that would be a question for Don Alfredo (the maintainer of fpcupdeluxe, thread here on forum) as the bug that you ran into is marked as solved in the bugtracker. Perhaps Don addressed it in trunk version of fpcupdeluxe or a beta. E.g. it is not something that you can solve yourself. You did nothing wrong and can't do anything about it as it is a bug in the compiler/linking stage (to my knowledge). ---------------------------------------------------------------------- DonAlfredo · 2023-12-26 07:43 Might be related ?! https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/637 https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/654 ---------------------------------------------------------------------- Thaddy · 2023-12-26 10:00 Ï think it is merely a typo since amd64 is not arm64 which is actually called aarch64...... i have no problems on any rpi4... ---------------------------------------------------------------------- arneolav · 2023-12-26 10:52 Thanks to all of you. Then I'm a little wiser. I have learned that Rasberry comes with older Lazarus v2.2 or something, then I can probably continue with my project and upgrade to Lazarus 3.0 later. I will use Rasberry for logging of sensor values and save data on an external USB disk. ---------------------------------------------------------------------- TRon · 2023-12-26 13:10 Quote from: DonAlfredo on December 26, 2023, 08:43:49 amMight be related ?! https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/637 https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/654 Indeed the issue that TS mentions seem to share the same origin as reported in those issues. I had the impression that you already addressed this with a beta (or trunk) of FPCUpdeluxe but apparently that was a wrong assumption on my part. My apologies.