Recent

Author Topic: Problems with Lazaruz 3.8 64bit on Mint 22.1  (Read 541 times)

incendio

  • Sr. Member
  • ****
  • Posts: 300
Problems with Lazaruz 3.8 64bit on Mint 22.1
« on: March 25, 2025, 03:21:56 am »
Hi guys,

I want to migrate from Windows to Linux Mint.

Installed Mint 22.1 & Lazarus on Oracle Virtual Box to try on, but encountered many problems.

Here are a list of problems so far
  • libgtk 2.0 dev not installed by default, so Lazarus failed to rebuid new IDE when new package installed
  • Sometimes very lag operation in Lazarus, for eg executed
    File->New could take time more than 30 seconds to finished
  • Downloaded Online Package Manager very slow, sometime about 4-15kB/s
  • Have a button in form, when clicked, show a message, first clicked, took a few second for messagebox to appeared
  • Last error, when executed File->New, error message box appeared : Access Violation. Press OK to ignore and risk data corruption. Press Abort to kill the program

I am confused, from which these errors came, Virtual Machine, Linux Mint or Lazarus?

Has anyone here experienced same problems?



dbannon

  • Hero Member
  • *****
  • Posts: 3303
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Problems with Lazaruz 3.8 64bit on Mint 22.1
« Reply #1 on: March 25, 2025, 08:36:18 am »
I want to migrate from Windows to Linux Mint.
Good.
Quote
  • libgtk 2.0 dev not installed by default, so Lazarus failed to rebuild new IDE when new package installed
So, install necessary dependencies.
Quote
  • Sometimes very lag operation in Lazarus, for eg executed
    File->New could take time more than 30 seconds to finished
Sounds like a known issue with older version of Lazarus, are you using the LinuxMint repo one ? (Actually The Ubuntu one, actually the Debian one). See https://forum.lazarus.freepascal.org/index.php/topic,61295.msg460766.html#msg460766 . Similar, related issues mentioned lots of places in Forum.
Quote
  • Downloaded Online Package Manager very slow, sometime about 4-15kB/s
A know issue at present, see current Forum issues.
Generally, I suggest you use a current version of Lazarus, not the one in Mint repos, possibly the rc1-branch version of FPC. Reporting bugs in old versions is generally not very productive, they won't get fixed unless they still exist and then they will only be fixed in trunk and, later, in a new release.
Quote
I am confused, from which these errors came, Virtual Machine, Linux Mint or Lazarus?
Well, the dependency problems relate to missing dependencies.
I generally run FPC/Lazarus in Virtual Box VMs with no more problems that on natural hardware. But current versions make far more differences than being in a VM.
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

salvadordf

  • Jr. Member
  • **
  • Posts: 55
    • BriskBard
Re: Problems with Lazaruz 3.8 64bit on Mint 22.1
« Reply #2 on: March 25, 2025, 11:22:35 am »
Hi Incendio,

I use Lazarus 4.0 RC2 in Linux Mint 22.1 and Lazarus is very fast.  :D

I installed all the dependencies shown in the fpcupdeluxe repository in addition to git and libgtk-3-dev. https://github.com/LongDirtyAnimAlf/fpcupdeluxe
Code: Pascal  [Select][+][-]
  1. sudo apt install make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev git libgtk-3-dev

The Online Package Manager seems to have some connectivity issues lately but I'm sure it will be fixed very soon.
Maintainer of the CEF4Delphi, WebView4Delphi, WebUI4Delphi and WebUI4CSharp projects

 

TinyPortal © 2005-2018