Recent

Author Topic: Multiple lazarus found error...  (Read 2985 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: 5131
  • 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

  • Hero Member
  • *****
  • Posts: 4219
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 »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

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.

 

TinyPortal © 2005-2018