Recent

Author Topic: Raspberry Pi - rebuild IDE - Cannot find fpdebug  (Read 1237 times)

CraigNZ

  • New Member
  • *
  • Posts: 37
Raspberry Pi - rebuild IDE - Cannot find fpdebug
« on: September 20, 2023, 04:09:25 am »
I installed FPC and Lazarus IDE on my PI 4 .. all worked okay.  I then tried to install LazSerial and when it tried to rebuild the IDE I got this message:
Fatal: Cannot find fpdebug used by Lazarus ...

I checked Options, Debug and GDB is selected.

I used the Rasberian Add/Remove Software feature to find FPC and Lazarus IDE.  Maybe there was some other packages I needed to install?  Or install from a different repository?

Craig

ccrause

  • Hero Member
  • *****
  • Posts: 799
Re: Raspberry Pi - rebuild IDE - Cannot find fpdebug
« Reply #1 on: September 20, 2023, 05:04:17 pm »
So far fpdebug only runs on Intel/AMD platforms. This means that fpdebug should not be selected for installation on e.g. an ARM host - check under the selected packages and unselect fpdebug.

CraigNZ

  • New Member
  • *
  • Posts: 37
Re: Raspberry Pi - rebuild IDE - Cannot find fpdebug
« Reply #2 on: September 20, 2023, 06:32:04 pm »
I selected Package|Install/Uninstall Packages and in the Install list (left side) I do not see fpdebug.  But under Available for installation (right side) it is listed.  I assume that means fpdebug is not currently installed but can be installed.  Is this where I 'unselect' it?

CraigNZ

  • New Member
  • *
  • Posts: 37
Re: Raspberry Pi - rebuild IDE - Cannot find fpdebug
« Reply #3 on: September 20, 2023, 06:57:03 pm »
Under Tools|Configure "Build Lazarus"|Information I can scroll down and do find fpdebug 0.0.  It shows a unit path = "components/lazcontrols/lib/arm-linux/gtk2"  But I do not see anyway to remove this.

ccrause

  • Hero Member
  • *****
  • Posts: 799
Re: Raspberry Pi - rebuild IDE - Cannot find fpdebug
« Reply #4 on: September 20, 2023, 08:33:05 pm »
Under Tools|Configure "Build Lazarus"|Information I can scroll down and do find fpdebug 0.0.  It shows a unit path = "components/lazcontrols/lib/arm-linux/gtk2"  But I do not see anyway to remove this.
You probably also have to also uninstall LazDebuggerFP, this is the IDE debug add-in that depends on fpdebug.

fpdebug 0.0 is from Lazarus 2.0.x I think.  This is very old, did you install Lazarus via the distro package manager? It may be worth it to upgrade to the latest stable version of Lazarus, but then you may have to download the code tree and build it yourself, or use fpcupdeluxe to automate the build process.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9354
  • Debugger - SynEdit - and more
    • wiki
Re: Raspberry Pi - rebuild IDE - Cannot find fpdebug
« Reply #5 on: September 21, 2023, 01:17:33 am »
IIRC fpdebug can not be uninstalled. (some non cpu specific parts are used).

But "can not find" is a different error. FPDebug should compile empty procs on non-intel.

It should exist in components/fpdebug/

Have you tried "Tools > Config Build Laz" => "Clean all" ?

Otherwise open the package (package menu), and compile the package, and build the IDE again.

 

TinyPortal © 2005-2018