Forum > Linux

cant find fpdebug - new install debian10

<< < (2/5) > >>

Martin_fr:
last reply overlapped.

Looks like your installation directory changed.

In tools options, make sure your lazarus directory is correct


I am not sure where the old locations are saved.

Probably in ~/.lazarus

Also in your source dir, under the directory packager, there is (in a further subdir) a bunch of *.lpl files. Open one of them for a package that fail, *before* you open the package by hand. It should have the correct path to the package. If not its broken

munair:
I get better results when installing the latest Lazarus (three packages) (https://www.lazarus-ide.org/index.php?page=downloads)

rvk:
I can confirm. Newly installed Debian 10 (default install, nothing else selected so no synaptic)


--- Quote ---su root
apt-get install update
apt-get install upgrade
apt-get install gdb
apt-get install lazarus
exit
startlazarus
--- End quote ---

Choosing Tools > Build Lazarus with Profile: Normal IDE
results in

--- Quote ---Build IDE: Exit code 2, Errors: 1, Warnings: 18, Hints: 24
fppkghelper.pas(28,31) Hint: Parameter "PackageName" not used
fppkghelper.pas(29,28) Hint: Parameter "AList" not used
fppkghelper.pas(13,3) Hint: Unit "fprepos" not used in FppkgHelper
packagesystem.pas(4295,3) Note: Local variable "FPCParser" is assigned but never used
packagesystem.pas(4298,3) Note: Local variable "ExtToolData" not used
packagesystem.pas(408,40) Hint: Parameter "ShowAbort" not used
sourcesyneditor.pas(1574,35) Warning: Symbol "FScreenCaretPainterClass" is deprecated: "need refactor"
sourcesyneditor.pas(1581,35) Warning: Symbol "FScreenCaretPainterClass" is deprecated: "need refactor"
mainintf.pas(73,42) Hint: Unit "PublishModule" not used in MainIntf
addtopackagedlg.pas(85,5) Warning: Constructor should be public
addtopackagedlg.pas(33,3) Hint: Unit "math" not used in AddToPackageDlg
addtopackagedlg.pas(43,38) Hint: Unit "IDEDefs" not used in AddToPackageDlg
addtopackagedlg.pas(44,31) Hint: Unit "ProjPackChecks" not used in AddToPackageDlg
addfpmakedependencydlg.pas(37,37) Hint: Parameter "AProjPack" not used
addfpmakedependencydlg.pas(9,19) Hint: Unit "fgl" not used in AddFPMakeDependencyDlg
watchesdlg.pp(125,58) Hint: Parameter "X" not used
watchesdlg.pp(125,61) Hint: Parameter "Y" not used
watchesdlg.pp(126,58) Hint: Parameter "X" not used
watchesdlg.pp(126,61) Hint: Parameter "Y" not used
watchesdlg.pp(127,7) Hint: Parameter "State" not used
pseudoterminaldlg.pp(132,16) Warning: Symbol "PseudoTerminal" is experimental
pseudoterminaldlg.pp(179,16) Warning: Symbol "PseudoTerminal" is experimental
pseudoterminaldlg.pp(274,18) Warning: Symbol "PseudoTerminal" is experimental
pseudoterminaldlg.pp(282,30) Warning: Symbol "PseudoTerminal" is experimental
pseudoterminaldlg.pp(500,5) Hint: Local const "bsW" is not used
pseudoterminaldlg.pp(508,5) Hint: Local const "crB" is not used
pseudoterminaldlg.pp(526,5) Hint: Local const "gsB" is not used
pseudoterminaldlg.pp(529,5) Hint: Local const "rsB" is not used
pseudoterminaldlg.pp(532,5) Hint: Local const "usB" is not used
pseudoterminaldlg.pp(664,19) Warning: Implicit string type conversion from "AnsiString" to "WideString"
pseudoterminaldlg.pp(667,72) Warning: Implicit string type conversion from "ShortString" to "UnicodeString"
pseudoterminaldlg.pp(675,13) Warning: Implicit string type conversion from "Char" to "UnicodeString"
pseudoterminaldlg.pp(684,7) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
pseudoterminaldlg.pp(685,93) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
pseudoterminaldlg.pp(760,41) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
pseudoterminaldlg.pp(762,83) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
pseudoterminaldlg.pp(765,5) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
debugmanager.pas(2488,15) Warning: Symbol "OnDbgEvent" is deprecated: "swich to EventLogHandler"
debugmanager.pas(3105,25) Warning: Symbol "PseudoTerminal" is experimental
debugmanager.pas(3178,15) Warning: Symbol "OnDbgEvent" is deprecated: "swich to EventLogHandler"
editor_keymapping_options.pas(96,13) Hint: Parameter "aShortCut" not used
project_application_options.pas(13,22) Hint: Unit "LCLStrConsts" not used in project_application_options
lazarus.pp(1,1) Fatal: Cannot find fpdebug used by Lazarus.
--- End quote ---

munair:

--- Quote from: rvk on September 02, 2019, 01:34:59 pm ---I can confirm. Newly installed Debian 10 (default install, nothing else selected so no synaptic)


--- Quote ---su root
apt-get install update
apt-get install upgrade
apt-get install gdb
apt-get install lazarus
exit
startlazarus
--- End quote ---

--- End quote ---

I wouldn't install as root. Better give your user account super user status and install with sudo.

Debian 10 has Lazarus 2.0.0 in its repository with fpc 3.0.4. I did not install any of them. I downloaded Lazarus 2.0.2 (on Debian 9) and Lazarus 2.0.4 on Debian 10 with fpc-laz 3.0.4 and fpc-source 3.0.4. The forum may give better support if you use these latest versions.

rvk:

--- Quote from: Munair on September 02, 2019, 02:03:27 pm ---I wouldn't install as root. Better give your user account super user status and install with sudo.

--- End quote ---
I actually did. I did this under sudo -i
But in that case it is still installed as root (seeing the directories created).


--- Quote ---Debian 10 has Lazarus 2.0.0 in its repository with fpc 3.0.4. I did not install any of them. I downloaded Lazarus 2.0.2 (on Debian 9) and Lazarus 2.0.4 on Debian 10 with fpc-laz 3.0.4 and fpc-source 3.0.4. The forum may give better support if you use these latest versions.
--- End quote ---
Yeah, that's why I still hate those packages.

My preferred method is installing trunk with my own script into my own userspace ~/dev. (/home/pi/dev on the rpi and /home/rik/dev on pc)
Recompiling Lazarus will install lot's of stuff in ~ anyway because it can't recompile itself in the correct position without root.

--- Quote ---int: (lazarus) [CalcTargets] Lazarus directory is readonly, using fallback target directory: /home/rik/.lazarus/bin
--- End quote ---

But it seems that the standard Debian package is broken (when it comes to rebuilding Lazarus itself).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version