* * *

Author Topic: Multiple lazarus found error...  (Read 751 times)

Mark-

  • New member
  • *
  • Posts: 22
Multiple lazarus found error...
« on: September 23, 2018, 03:35:29 am »
Hello,

Thought I removed everything fpc/lazarus related before installing 1.8.4.
The attached error appears when starting Lazarus.
Searching for the custom executable, no joy.

Where could it be?

Thanks,

Mark
 

Handoko

  • Hero Member
  • *****
  • Posts: 2631
  • My goal: build my own game engine using Lazarus
Re: Multiple lazarus found error...
« Reply #1 on: September 23, 2018, 04:01:02 am »
You need to do a total removal before reinstall the Lazarus/FPC:

01. Uninstall lazarus, fpc, fpc-src
02. Delete ~/.lazarus, except: editoroptions, environmentoptions
03. Delete /etc/fppkg (folder)
04. Delete /etc/fp.*
05. Delete /usr/share/fpcsrc (folder)
06. Delete /usr/lib/fpc (folder)
07. Delete /usr/bin/ppc*


Note:
I keep those 2 files in step #2 because I want to keep some setttings I configured for Lazarus. You can delete them if you want.

Mark-

  • New member
  • *
  • Posts: 22
Re: Multiple lazarus found error...
« Reply #2 on: September 23, 2018, 04:13:01 am »
Thanks for the response.

I just did a complete reinstall and want to avoid it for now.

Do you know where Lazarus is getting that path from?
It is an actual file, a line in a configuration file, etc?


lucamar

  • Sr. Member
  • ****
  • Posts: 316
Re: Multiple lazarus found error...
« Reply #3 on: September 23, 2018, 04:24:21 am »
Just to be certain: ~/.lazarus is a hidden directory (note the starting dot); are you sure you looked there?

That second (rather first) Lazarus is a rebuilt IDE, probably because you (un)installed some packages in the old installation.

Do you know where Lazarus is getting that path from?
It is an actual file, a line in a configuration file, etc?

startlazarus looks in that path precisely because it knows that a "extended" Lazarus  is built there. The problem arises because its date is actually older than the supposed "original", so it thinks (quite logically) that you have two different Lazarus versions.
« Last Edit: September 23, 2018, 04:30:57 am by lucamar »
Been there, done that ... barely kept the timelines.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 1.8.4/fpc 3.0.4 - Ubuntu 10, Kubuntu 14, Windows XP SP3 (Home & Prof.) and various DOS incarnations.

Mark-

  • New member
  • *
  • Posts: 22
Re: Multiple lazarus found error...
« Reply #4 on: September 23, 2018, 04:56:56 am »
Thanks lucamar, that solved it.

When I read your signature I had a nice chuckle. Recalled sitting at a desk working on Z80 with CP/M on 8 inch floppy disk.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus