cannot install Lazarus deb lazarus / 1-Linux ---------------------------------------------------------------------- aaronpeacock · 2021-12-24 19:29 So, https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20a md64%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 · 2021-12-24 20:35 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 · 2021-12-24 21:07 Generally speaking I install FPC from the freepascal.org release and then build Lazarus from source and find it painless. MarkMLl ---------------------------------------------------------------------- dbannon · 2021-12-24 21:29 https://wiki.freepascal.org/Installing_Lazarus_on_Linux#Get_the_Lazaru s_Source Installing Lazarus from source is easy, reliable and is generally a better model IMHO. Davo ---------------------------------------------------------------------- aaronpeacock · 2021-12-25 01:10 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 ---------------------------------------------------------------------- dbannon · 2021-12-25 06:39 Quote from: aaronpeacock on December 25, 2021, 02:10:08 amlibgdk2.0-dev libgdk-pixbuf2.0-dev Hmm, they should be, themseleves, dependencies of libgtk2.0-dev - did you install libgtk2.0-dev ?  Or did I send you a link too far down the page ?? Davo ---------------------------------------------------------------------- af0815 · 2021-12-25 08:18 see https://wiki.freepascal.org/How_to_setup_a_FPC_and_Lazarus_Ubuntu_ repository Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i sudo apt- get install libgtk2.0-dev libgtk1.2-dev libgdk-pixbuf-dev libgpmg1-dev fakeroot libncurses5-dev ---------------------------------------------------------------------- MarkMLl · 2021-12-25 08:29 Quote from: dbannon on December 25, 2021, 07:39:42 amHmm, they should be, themseleves, dependencies of libgtk2.0-dev - did you install libgtk2.0-dev ?  Or did I send you a link too far down the page ?? I agree, that's the important one for Lazarus (built for gtk v2, which is still the safest default). I've got notes that show that those two were required separately for GTK v1, so reading older material and extrapolating could potentially cause confusion :-) For FPC something like libncurses5-dev, libncursesw5-dev and possibly libgpm-dev are needed. There's other stuff worth adding as well: development packages for USB and database access etc. But these are definitely not mandatory. MarkMLl ---------------------------------------------------------------------- dbannon · 2021-12-25 08:51 yes, we try and have just whats needed mentioned on the wiki. If you wish to use other libraries in your particular app, then you should understand you need to dev libraries for that too.  For example, I use libnotify so I need libnotify-dev. af0815, your list does puzzle me a bit, are these things that need to be added to the wiki ? * libgtk2.0-dev - is mentioned on the wiki. * libgtk1.2-dev - GTK 1 ? * libgdk-pixbuf-dev - is a dependency of libgtk2.0-dev * libgpmg1-dev - do you mean libgpm-dev ?  * fakeroot - only if building, eg, deb packages * libncurses5-dev - not needed for Lazarus apps. Davo