Recent

Author Topic: Rasberry 4, Can't install Lazarus 3.0  (Read 2127 times)

arneolav

  • Full Member
  • ***
  • Posts: 196
    • ElTranslador
Rasberry 4, Can't install Lazarus 3.0
« on: December 25, 2023, 06:47:20 pm »
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?

« Last Edit: December 25, 2023, 09:27:40 pm by arneolav »
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

paweld

  • Hero Member
  • *****
  • Posts: 1278
Best regards / Pozdrawiam
paweld

TRon

  • Hero Member
  • *****
  • Posts: 3791
Re: Rasberry 4, Can't install Lazarus 3.0
« Reply #2 on: December 25, 2023, 08:11:20 pm »
Rasberry 4, 4Mb, 128Gb.
I assume the Mb is a typo (e.g. should read GB).

Quote
Lazarus 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.
I do not have to remember anything anymore thanks to total-recall.

arneolav

  • Full Member
  • ***
  • Posts: 196
    • ElTranslador
Re: Rasberry 4, Can't install Lazarus 3.0
« Reply #3 on: December 25, 2023, 09:24:30 pm »
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.


Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

af0815

  • Hero Member
  • *****
  • Posts: 1381
Re: Rasberry 4, Can't install Lazarus 3.0
« Reply #4 on: December 25, 2023, 09:31:01 pm »
fpcupdeluxe did run some minutes until Error, while linking [Makefile 2837, build-stamp.aarch64-linux] Error 2
Setup+ 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.
regards
Andreas

arneolav

  • Full Member
  • ***
  • Posts: 196
    • ElTranslador
Re: Rasberry 4, Can't install Lazarus 3.0
« Reply #5 on: December 25, 2023, 10:29:33 pm »
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 !!
« Last Edit: December 25, 2023, 10:46:47 pm by arneolav »
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

TRon

  • Hero Member
  • *****
  • Posts: 3791
Re: Rasberry 4, Can't install Lazarus 3.0
« Reply #6 on: December 26, 2023, 01:20:23 am »
@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).
I do not have to remember anything anymore thanks to total-recall.


Thaddy

  • Hero Member
  • *****
  • Posts: 16399
  • Censorship about opinions does not belong here.
Re: Rasberry 4, Can't install Lazarus 3.0
« Reply #8 on: December 26, 2023, 11:00:42 am »
Ï think it is merely a typo since amd64 is not arm64 which is actually called aarch64......
i have no problems on any rpi4...
« Last Edit: December 26, 2023, 11:02:43 am by Thaddy »
There is nothing wrong with being blunt. At a minimum it is also honest.

arneolav

  • Full Member
  • ***
  • Posts: 196
    • ElTranslador
Re: Rasberry 4, Can't install Lazarus 3.0
« Reply #9 on: December 26, 2023, 11:52:13 am »
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.
Win XP, Win7, Win 10, Win 11, win64 , Lazarus 3.0RC1
Delphi/DevExpress

TRon

  • Hero Member
  • *****
  • Posts: 3791
Re: Rasberry 4, Can't install Lazarus 3.0
« Reply #10 on: December 26, 2023, 02:10:28 pm »
Might 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.
I do not have to remember anything anymore thanks to total-recall.

 

TinyPortal © 2005-2018