Recent

Author Topic: Installation of latest lazarus on PCLinuxOS unsuccessful  (Read 2357 times)

TRon

  • Hero Member
  • *****
  • Posts: 3141
Re: Installation of latest lazarus on PCLinuxOS unsuccessful
« Reply #15 on: June 28, 2024, 10:11:43 am »
Quote
Is the default FPC install package from PCLinuxOS really version 3.04 ?
The default installation from our(pclinuxos) repository is FPC = 3.2.2 & Lazarus = 2.2.6
[/quote]
Ah ok, I see my error now. Thank you again cdbc.

I interpreted the screenshot log from TS as installing 3.2.2 over 3.0.4 but it is actually the other way around (!?)


Well, yes and no. A previous install (not through fpcupdeluxe, but from the repository) can still conflict:
...
Yes, and exactly why I dislike using the package manager or deb file install. When doing it manually you are able to install multiple FPC versions next to each other using the same config file.

FPCUpDeluxe does provide a special crafted fpc.sh script that points to an hardcoded fpc.cfg but you have to remember to invoke it :-)

Make indeed also default to system directories but you are able to provide custom directories through make.

But you already know most (if not all of that). Just putting it down for the reader.
All software is open source (as long as you can read assembler)

Thaddy

  • Hero Member
  • *****
  • Posts: 15516
  • Censorship about opinions does not belong here.
Re: Installation of latest lazarus on PCLinuxOS unsuccessful
« Reply #16 on: June 28, 2024, 03:13:28 pm »
That's nice to hear, then you fit perfectly well in with the rest of us  :D  8-)
Regards Benny
That depends, I belong to the humans that read encyclopedias (from 4-5 years old)  in print for fun, remembered most of it and only understood what that subject meant years later.... It is a curse, not a blessing. There are a few others on this forum....
(e.g. my wife likes to re-read books or re- watch films, I start to quote the conversations, you miss all that when you have my particular issue. It is definitely not normal, but nobody told me until I was in my 40's And by now I am often wrong)
« Last Edit: June 28, 2024, 03:27:39 pm by Thaddy »
My great hero has found the key to the highway. Rest in peace John Mayall.
Playing: "Broken Wings" in your honour. As well as taking out some mouth organs.

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 459
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Installation of latest lazarus on PCLinuxOS unsuccessful
« Reply #17 on: June 28, 2024, 03:27:20 pm »
Well, yes and no. A previous install (not through fpcupdeluxe, but from the repository) can still conflict:
/etc/fpc.cfg will need to be removed manually since it can contain wrong or missing paths
On Debian derived systems you need apt-get purge fpc and apt-get autoremove and on other systems equivalents.
Only after that you can do a fresh install of fpc with the right dependencies for the new install resolved.
For Lazarus, you also need to remove the hidden ~/.lazarus directory before installing a new version since that is not done automatically and also has the risk that the configuration files contain wrong paths.

There is one other important issue: when running make all install the makefile defaults to /usr/local as root, whereas installations through the package manager defaults to /usr

 :o :o :o :o :o :o
Code: Pascal  [Select][+][-]
  1. you need apt-get purge fpc and apt-get autoremove and on other systems equivalents.
Unless you know what you are doing, you will destroy your system executing PURGE and AUTOREMOVE. I followed someone's instruction on a forum on how to completely remove and delete Lazarus program from a linux system.

It not ONLY purged and removed Lazarus compiler all across the system including all of my PROJECT FILES, but also system files. Even though I stopped it halfway, it was too late. I lost one week worth of work and I could NEVER recover from what AUTOREMOVE did, once I shutdown the system. I had to re-install Linux system back again and load my project files that was one week old.  :( :( :( :(

Code: Pascal  [Select][+][-]
  1. [b]The autoremove option removes packages that were automatically installed because some other package required them but, with those other packages removed, they are no longer needed.[/b]

Thaddy

  • Hero Member
  • *****
  • Posts: 15516
  • Censorship about opinions does not belong here.
Re: Installation of latest lazarus on PCLinuxOS unsuccessful
« Reply #18 on: June 28, 2024, 03:29:30 pm »
You won't destroy your system if the deb manager did his or her job. It is essential, though, if the releases are too different.
You obviously did not manage unix systems in a professional setting. (as a backup you always have a, in fact multiple - live backup, I am even used to geo different locations)
That said, the deb packaging of fpc and lazarus can be much better than the current state of them is.
« Last Edit: June 28, 2024, 03:44:59 pm by Thaddy »
My great hero has found the key to the highway. Rest in peace John Mayall.
Playing: "Broken Wings" in your honour. As well as taking out some mouth organs.

cdbc

  • Hero Member
  • *****
  • Posts: 1497
    • http://www.cdbc.dk
Re: Installation of latest lazarus on PCLinuxOS unsuccessful
« Reply #19 on: June 28, 2024, 05:07:45 pm »
Hi
@Thaddy: From the looks of it, his system managed to "Crash and burn"...
Quote
I lost one week worth of work and I could NEVER recover from what AUTOREMOVE did, once I shutdown the system. I had to re-install Linux system back again and load my project files that was one week old.  :( :( :( :(
@OP: Do you use 'Synaptic' to install and update software? If you do, do you then remember to click the 'Reload' button to the far left, before all else?!?
T h a t   i s   a   p r e r e q u i s i t e for getting fresh updates and the newest software! Ergo:
1) click 'Reload' button
2) click 'Mark updates' button(second from left)
3) click 'Apply changes/updates' button(third from left)
has to be performed *every* time you start 'Synaptic', before anything else...! After that you can install new software.
If /not/ you'll get old/obsolete/faulty software!!!
Then install fpc, then fpc-src & finally lazarus + maybe libqt5pas
Reboot.
HTH
N.B.: PCLinuxOS uses RPM-packages together with apt & synaptic!!!
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

 

TinyPortal © 2005-2018