Raspberry Pi - rebuild IDE - Cannot find fpdebug lazarus / 1-Linux ---------------------------------------------------------------------- CraigNZ · 2023-09-20 02:09 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 · 2023-09-20 15:04 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 · 2023-09-20 16:32 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 · 2023-09-20 16:57 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 · 2023-09-20 18:33 Quote from: CraigNZ on September 20, 2023, 06:57:03 pmUnder 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 · 2023-09-20 23:17 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.