Re: [Lazarus] Lazarus make clean fails...
On Sun, 3 Dec 2023, Bo Berglund via lazarus wrote: On Sat, 02 Dec 2023 19:03:41 +0100, Bo Berglund via lazarus 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. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Lazarus make clean fails...
On Sat, 02 Dec 2023 19:03:41 +0100, Bo Berglund via lazarus 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... Why and how to fix? -- Bo Berglund Developer in Sweden -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Lazarus make clean fails...
Giuliano Colla via lazarus schrieb am So., 3. Dez. 2023, 11:42: > I’m not familiar with your environment, but I’ve never seen a lazarus > directory which is not named “lazarus”. Therefore I’d cd one step further: > cd ~/devtools/lazarus/2.2.6/lazarus > I extract all sources into a directory with only the version number, so, no, it doesn't have to be called "lazarus". Thus your suggestion won't work. If that were case the error message would be that no Makefile has been found anyway. Regards, Sven > -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Lazarus make clean fails...
I’m not familiar with your environment, but I’ve never seen a lazarus directory which is not named “lazarus”. Therefore I’d cd one step further: cd ~/devtools/lazarus/2.2.6/lazarus Sorry for top posting. iPhone does it! Giuliano Inviato da iPhone > Il giorno 2 dic 2023, alle ore 19:03, Bo Berglund via lazarus > ha scritto: > > I have installed Lazarus 2.2.6 from sources on my RPi4B using fpc 3.2.0. > This works fine. > > Then I compiled fpc 3.2.2 to get to a later version and did a make > install/make > sourceinstall on that version of fpc. > > Then I wanted to rebuild Lazarus with the new fpc so I first tried with a > Lazarus rebuild from within Lazarus but that failed so I decied to do a clean > build instead. > Enter command line and: > > ~/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. > > Google does not know about VSPTPSOTO... > > So I did as suggested: > > ~/devtools/lazarus/2.2.6 $ fpcmake > Processing Makefile.fpc > Error: Target "linux", package "rtl" not found > > Then I expanded the lazarus sources into a clean directory and tried make > clean > in that but with the same result. > > 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? > > > -- > Bo Berglund > Developer in Sweden > > -- > ___ > lazarus mailing list > lazarus@lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus