Hi all,
I am a newb to Open Mandriva and basically a Linux Newb, just always playing with it every so often for 20 years. Knowing I have some mistakes in this put in support for now, because you can help me help you helping us.
I haven’t touch Pascal since university and a year of Delphi early in my career decades ago. And wanted to play with some desktop dev and Pascal as distraction.
I am running OpenRome 6.14.2 desktop 30mv2590 smp preempt_dynamic 86_64 From uname -a
Here is my journey to get Lazarus IDE latest (mistakenly the Development Code Base) compiled and installed. At time of writing only 3.6 was in OM repository and release is 4.2 that offers better modern i.e. no docking floating IDE interface that I do prefer due to my decades of Visual Studio.
Moderators please correct where need be, I will check and update when I notice. I just hope if what I have done here atleast points others down the road of success.
Some steps could have been unnecessary, it’s late when I got this done and haven’t spun up a virtual to double check everything.
OM is bast on QT5 and Lazarus is GT2 based , some of the GTK2 libraries are missing so compiling the needed qt2pas is harder to do so one can compile Lazarus or Install the RPM/Deb. Because of this you need to recompile Lazarus to target Qt5 hence the LCL_PLATFORM=qt5 as part of the make.
Just assuming everything in Downloads for working directory
I went to David Bannons site to get the libqt5pas rpm
sudo dnf install RPM (depending on Distro)
sudo dnf install libqt5pas-devel-[Version You got].rpm
dnfdrake gui to install gtk2-devel
Downloading fpc-laz rpm as well from https://www.lazarus-ide.org/ , so I would have the FPC free pascal compiler.
in konsole
sudo dnf install git
git clone FPC / Lazarus / Lazarus · GitLab (get latest development code base to get stable release you have to get the zip from https://www.lazarus-ide.org/ that matches latest release)
cd lazarus/lazarus
make bigide LCL_PLATFORM=qt5
sudo make install
as of writing this gives me a Running working Lazarus 4.99 and release stable is 4.2
I hope this helps someone and helps me from any feedback.
Thanks
Mercilessming
I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata
OpenMandriva Lx version:
Desktop environment (KDE, LXQT…):
KDE Plasma
Description of the issue (screenshots if relevant):
installing latest release or dev of Lazarus
Relevant informations (hardware involved, software version, logs or output…):
dnf instal lazuarus-project-[LatestDownload version].rpm and getting error problem conflicting request -nothing provides gtk2-devel needed by lazarus-project-[Last Downlaod Version].rpm