[Lazarus] Lazarus make clean fails...
Michael Van Canneyt
michael at freepascal.org
Sun Dec 3 21:45:57 CET 2023
On Sun, 3 Dec 2023, Bo Berglund via lazarus wrote:
> On Sat, 02 Dec 2023 19:03:41 +0100, Bo Berglund via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
>> And concerning the compiler:
>>
>> $ which fpc
>> /home/bosse/bin/fpc
>>
>> $ which ppcarm
>> /home/bosse/bin/ppcarm
>>
>> $ fpc
>> Free Pascal Compiler version 3.2.2 [2023/11/29] for arm
>>
>> $ ppcarm
>> Free Pascal Compiler version 3.2.2 [2023/11/29] for arm
>>
>> What can I do now?
>>
>
> So I have now retired the Lazarus old source dir (rename to 2.2.6.bak).
> Then I expanded the source tgz file yet again to get the *clean* Lazarus release
> 2.2.6 sources from GitLab into my system. It was expanded into a directory named
> 2.2.6.
>
> Now I still get the same error when I try to do the make clean operation.
>
> ~/devtools/lazarus/2.2.6 $ make clean
> make: -iVSPTPSOTO: No such file or directory
> Makefile:234: *** The Makefile doesn't support target -, please run fpcmake
> first. Stop.
>
> Check compiler:
> ~/devtools/lazarus/2.2.6 $ fpc
> Free Pascal Compiler version 3.2.2 [2023/11/29] for arm
> Copyright (c) 1993-2021 by Florian Klaempfl and others
>
> ~/devtools/lazarus/2.2.6 $ ppcarm
> Free Pascal Compiler version 3.2.2 [2023/11/29] for arm
> Copyright (c) 1993-2021 by Florian Klaempfl and others
>
> So there is an fpc/ppcarm compiler available on path and it starts OK without
> arguments so the version can be checked.
>
> Still with this fresh source tree and a working fpc compiler it throws this
> strange error...
The error means it cannot find the compiler.
>
> Why and how to fix?
Try this:
make clean PP=ppcarm
(preferably use the full path to the ppcarm compiler)
If you then still get the error, it means the makefiles for Lazarus indeed
do not support your target, but how to fix that is up to the lazarus team to
answer.
Michael.
More information about the lazarus
mailing list