On Tue, 21 Feb 2023 19:18:28 +0100, Bo Berglund via lazarus <lazarus@lists.lazarus-ide.org> wrote:
>I was trying to nail down the reason for the fppkg errors on start of Lazarus >2.2.4. >I had the install running fine except for the Config screen showing up on every >start of Lazarus with an error message about fppkg... > >So I proceeded to install my usual set of packages from OLPM, but when I had >selected the set I usually install and it was done and asked about rebuilding >Lazarus it did so and at the end closed itself and did not re-appear! >Now I cannot start Lazarus at all.... > >I tried to move the pcp dir away but it did not work either and starting with >an >empty pcp dir does also not work. > >So I tried to start over by going to the Lazarus dir and issue make clean, but >that did also not work: > >~/dev/lazarus/2.2.4 $ make clean >Makefile:234: *** The Makefile doesn't support target can't-executed,, please >run fpcmake first. Stop. > >What would be the correct procedure now to start over? Lacking any advice here I started over by removing the old Lazarus directory and the pcp dir and then build from start with a new set of source files in a fresh 2.2.4 subdir... All was Ok until again the OLPM packages were installed when the new Lazarus also failed to start. It seems like at least one of the packages I use from OLPM will hose Lazarus! So now I will repeat the effort but this time I will install one package after another using OLPM and rebuild Lazarus IDE after each. This way I would be able to pinpoint the one that causes the problem. Finally: -------- I have looked at https://wiki.freepascal.org/lazbuild and want to know: Is there a way to specify the compiler *path* to use for lazbuild? For example (on one line): lazbuild --build-ide= --pcp=$HOME/.lazarus_2.2.4 --compiler=$HOME/lib/fpc/3.2.2/ppcarm According to the wiki it is unclear to me if a path can be used rather than only the file name (in which case it needs to be on path?)... -- Bo Berglund Developer in Sweden -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus