Recent

Author Topic: install fail Lazarus 2.2.2, ubuntu 24.x, 20.x  (Read 3172 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9791
  • Debugger - SynEdit - and more
    • wiki
Re: install fail Lazarus 2.2.2, ubuntu 24.x, 20.x
« Reply #15 on: December 14, 2022, 08:25:48 pm »
... made a new install of Ubuntu 22.04.1 LTS on erased hard drive.

Your images show that you are building for 32bit Linux (i386-linux in the path).

But according to google Ubuntu dropped 32bit at version 18.04.


Handoko

  • Hero Member
  • *****
  • Posts: 5130
  • My goal: build my own game engine using Lazarus
Re: install fail Lazarus 2.2.2, ubuntu 24.x, 20.x
« Reply #16 on: December 14, 2022, 08:30:15 pm »
Make sure your system has the required packages installed, as mentioned in here:
https://wiki.lazarus.freepascal.org/Installing_Lazarus_on_Linux#Required_Linux_packages

And it should have libc6-dev installed.

Also, you may need to enable/install i386 architecture:
https://askubuntu.com/questions/879261/how-to-install-all-i386-libs-to-match-installed-64-libs-for-12-04

RonQ

  • New Member
  • *
  • Posts: 20
Re: install fail Lazarus 2.2.2, ubuntu 24.x, 20.x
« Reply #17 on: December 14, 2022, 09:21:48 pm »
Pls forgive me as newbie-linux user. It appears necessary to remove the two FPC packages and the Lazarus environment; with Terminal commands: sudo ?
... which are?
seems there are no snap script(s) applicaable...

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: install fail Lazarus 2.2.2, ubuntu 24.x, 20.x
« Reply #18 on: December 14, 2022, 10:08:40 pm »
Pls forgive me as newbie-linux user. It appears necessary to remove the two FPC packages and the Lazarus environment; with Terminal commands: sudo ?
... which are?
seems there are no snap script(s) applicaable...

Probably apt purge something.

However supporting an individual distro is outside the scope of this forum.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: install fail Lazarus 2.2.2, ubuntu 24.x, 20.x
« Reply #19 on: December 14, 2022, 11:24:42 pm »
Ron, you really have us guessing. And when people guess, they often make mistakes.

Please tell us -

  • What operating System you are using (Ubuntu 220.4, Debian Bullseye, Scientific Linux...) ?
  • What bitness, 32bit, 64 bit ?
  • Are you installing from the Distro Package Repository, from the Official FPC/Lazarus on SourceForge, from source or from packages provided by some forth party ?
  • Are you trying to build a cross compiler, that is to make 32bit apps on a 64bit machine/OS ?
  • Have you made manual edits to your OS package manager settings ie /etc/apt/sources.lst ?
  • Are you using a machine that has been updated (and update, and updated) ?
  • Have you looked at the wiki, https://wiki.freepascal.org/Installing_Lazarus_on_Linux ?


Some of these questions are prompted by the apparently strange hints you have accidentally given us about what you are doing. Honestly, unless you give us the facts any answer will possibly do more harm than good.

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

RonQ

  • New Member
  • *
  • Posts: 20
Re: install fail Lazarus 2.2.2, ubuntu 24.x, 20.x
« Reply #20 on: December 15, 2022, 02:37:35 am »
Tnx all.
.. did a manual delete of all FPC-*.*  and lazarus*.* files and directories with
sudo rm  to empty associated folders of files; so that I could then use:
sudo rmdir

... then manually installed fpc-src, fpc-laz, and Lazarus-2.2.0
.. was left with complaint about "i386", which was set by unknown default in <Project> <Project Options> <Config and Targets>.
.. built and ran a minimal test project successfully

 

TinyPortal © 2005-2018