Forum > Linux

cannot install Lazarus deb

(1/2) > >>

aaronpeacock:
So, https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.0.12/
has an old FPC that won't work with the very same Lazarus version it is sitting next to. Lazarus deb complains that it can't find fpc >= 3.2.2 and the sourceforge has fpc-laz_3.2.0-1_amd64.deb
which is too old.

no problem, i build fpc from install.sh and it is in /usr/local/lib/fpc but i also symlink to /usr/lib/fpc
(the installer asked if i wanted /usr/local or just /usr)

lazarus-project_2.2.0RC1-0_amd64.deb does not see it and refuses to install...

aaronpeacock:
building from source from handy git repo mirror with handy build scripts works OK:  https://github.com/alrieckert/lazarus

I will see where in Lazarus i must configure fpc paths and will be ok.

just mentioning that current fpc version next to lazarus installer on sourceforge is incorrect for the lazarus ide sitting next to it with instructions that you need all files, but files are wrong.

MarkMLl:
Generally speaking I install FPC from the freepascal.org release and then build Lazarus from source and find it painless.

MarkMLl

dbannon:

https://wiki.freepascal.org/Installing_Lazarus_on_Linux#Get_the_Lazarus_Source

Installing Lazarus from source is easy, reliable and is generally a better model IMHO.

Davo

aaronpeacock:
ok, thank you for the link and information.

because of initial problem building:
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0

I thought to add two more "linux dependencies" for the wiki:

libgdk2.0-dev
libgdk-pixbuf2.0-dev

(I have ubuntu 20.04)

should I make a wiki account to do this? MarkMLI

Navigation

[0] Message Index

[#] Next page

Go to full version