Recent

Author Topic: The problem with installing lazarus 2.2.6 in Ubuntu 22.04  (Read 6830 times)

Basenji

  • New member
  • *
  • Posts: 7
Re: The problem with installing lazarus 2.2.6 in Ubuntu 22.04
« Reply #15 on: July 06, 2023, 09:02:47 pm »
So, the suggestion to install build-essential did not install binutils for you (gcc should drag that in) ?
If I understood you correctly, then I'm afraid that either this information was a little outdated, or for some reason it was silent about it.

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: The problem with installing lazarus 2.2.6 in Ubuntu 22.04
« Reply #16 on: July 06, 2023, 09:11:19 pm »
@Basenji
I made the remark as usually people here expect (in trying to help) that you have done (exactly) as instructed on the wiki. So I don't think anyone who reacted so far has considered that you didn't.

For us (or at least me) it is simple, I follow the instructions so I also never get to see the error you seem to have ran into. The error message you got is dubious in that it tries to imply that there is something wrong with the gtk2-dev installation while you mention the missing binutils seem to have been the culprit.

It is not important other than you got things to work now. We (here) all know that some packages (that you used to install Lazarus) are a bit ... well.. at fault (not installing the correct/required dependencies). But do note that it is difficult to satisfy everyone's need there. If you make use of some functionality of Lazarus/fpc in the provided units/packages then it is possible that you even have to (manually) install other dependencies for example for httpclient and its dependency on ssl for secure connections).
« Last Edit: July 06, 2023, 09:18:01 pm by TRon »
Today is tomorrow's yesterday.

dbannon

  • Hero Member
  • *****
  • Posts: 3777
    • tomboy-ng, a rewrite of the classic Tomboy
Re: The problem with installing lazarus 2.2.6 in Ubuntu 22.04
« Reply #17 on: July 07, 2023, 03:22:30 am »
Not wanting to cloud the issue with facts, but looking in the two relevent SourceForge Packages, its seems those dependencies are clearly spelt out -

fpc -
Pre-Depends: binutils

lazarus-project
Depends: libgtk2.0-dev (>=2.6.0), fpc-laz (=3.2.2), fpc-src (=3.2.2)

Manual install of the dependencies 'should' only be necessary where building from source.

(But, as many have said before, a manual install of Lazarus from source on Linux is almost always the best way to go.)

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

 

TinyPortal © 2005-2018