Forum > Linux

Installation of latest lazarus on PCLinuxOS unsuccessful

(1/4) > >>

Awesome Programmer:
Hello,

I am trying to install the latest version of Lazarus on PCLinuxOS Linux operating system but it fails every time.

When I tried to install Lazarus from PCLinuxOS repository (Synaptic Package Manager), it installs but it is missing compiler and something else I don't remember. I tried to look for it to link it to Lazarus, but I can't find it anywhere.

When I manually tried to install Lazarus by downloading all the necessary files right from Lazarus website, on the terminal it keeps giving me CONFLICT errors as shown in the image.

I would hate to have to backup my files and completely reinstall PCLinuxOS just for this. I hope someone could give me some pointers on how to get around or fix this conflict errors.

If you are thinking why there is a difference between version of fpc 3.04 and fpc 3.2.2, that's because even when I tried to install fpc 3.2.2, it gave me the same CONFLICT error. So, I thought if I download older version of fpc file, it will go away, but it doesn't as you can see in the image.

Thank you.

Dzandaa:
Hi,

I don't know PCLinuxOS, but before installing Lazarus from the Website (Best option because the repository rarely have the latest version)
You'll have to uninstall completely the version from PCLinuxOS repository.

Have a look here:

https://forum.lazarus.freepascal.org/index.php/topic,66628.0.html

B->

bobby100:
PCLinuxOS in Mandrake/Mandriva offspring, thus RPM-based distro:
https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20x86_64%20RPM/Lazarus%203.4/
Read the topic linked by Dzandaa, and download RPM instead of DEB packages.

Awesome Programmer:
Hi fellows,

Thank you for your reply.

I did realize why I was getting this conflict error messages and I fixed them, but fpc.cfg file is not created.

First time, I start lazarus it complains that it can't find fpc.cfg file and indeed there exist NO fpc.cfg file within /etc/ folder.

After much frustration of not being able to auto create fpc.cfg file on PCLinuxOS, I copied fpc.cfg file from another Linux Operation System (Mageia) that I work on where Lazarus was successfully installed. So, I copied fpc.cfg file from Mageia to PCLinuxOS into /etc/ folder. Lazarus started up with no problem.

However, every time I compile an application, it throws the following error about linking failure as shown below in the image.

I understand why this is happening; information in fpc.cfg file is for Mageia OS.

I've been reading and trying to look for solution on creating fpc.cfg, but I am not finding it that works. Found and ran samplecfg, but it keeps throwing error messages that it can't find a folder called execvp.

Isn't there a way to create a default of simple fpc.cfg file?

 :( :( :( :( :o :o :o %) %) %) %) %)

So, how do you create fpc.cfg file?

Awesome Programmer:
Nevermind.

I actually looked through fpc.cfg file and found out that I had change two lines. Previously, the paths were for Mageia system. I simply followed the path for PCLinuxOS and changed it accordingly...


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---# path to the gcclib#ifdef cpui386-Fl/usr/lib/gcc/x86_64-mandriva-linux-gnu/12.4.0/32#endif#ifdef cpux86_64-Fl/usr/lib/gcc/x86_64-mandriva-linux-gnu/12.4.0#endif
Now, the linking errors are gone... :)

thank you...

Navigation

[0] Message Index

[#] Next page

Go to full version