Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2021-02

Strange output from make when building 3.2.0

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

I am installing fpc 3.2.0 on a notebook running Ubuntu 20.04 LTS When I execute make clean and make sourceinstall I get this strange output message:

:~/dev/fpc/3.2.0$ time make sourceinstall PREFIX=$HOME make: -iVSPTPSOTO: Command not found

What does it mean? What have I missed to prepare?

I have used svn to download the fpc and lazarus sources on the latest release tags for both.
I have used the 3.0.4 compiler as seed when building fpc 3.2.0

This is the first time I have seen this message and it makes little sense to me. As preparations I *have* done:
sudo apt install build-essentials

Should I worry?

Bo Berglund Developer in Sweden

Reply by email

Marco van de Voort
to Bo Berglund

Op 2021-02-25 om 10:12 schreef Bo Berglund via fpc-pascal:

Show quoted text 6 lines
I am installing fpc 3.2.0 on a notebook running Ubuntu 20.04 LTS When I execute make clean and make sourceinstall I get this strange output message: :~/dev/fpc/3.2.0$ time make sourceinstall PREFIX=$HOME make: -iVSPTPSOTO: Command not found

Missing FPC install.  It can't find a "fpc" binary

Reply by email

Bo Berglund
to Marco van de Voort
Marco van de Voort wrote 10 lines
Op 2021-02-25 om 10:12 schreef Bo Berglund via fpc-pascal: > I am installing fpc 3.2.0 on a notebook running Ubuntu 20.04 LTS > When I execute make clean and make sourceinstall I get this strange output > message: > > :~/dev/fpc/3.2.0$ time make sourceinstall PREFIX=$HOME > make: -iVSPTPSOTO: Command not found Missing FPC install.  It can't find a "fpc" binary

Is this a hen-and-egg situation?

I am installing fpc/lazarus for the first time on this computer and I am doing it from sources. So there is no previous compiler except for the seed executable (3.0.4) I used to build fpc with...

I next tried to do a lazarus build, but this is what I ended up with:

make bigide "FPC=$HOME/bin/ppcx64"
--- 48 s of build output ---
/home/bosse/dev/lazarus/2.0.12/ide/lazbuild.lpr(1484,9) Note: (6058) Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined /home/bosse/dev/lazarus/2.0.12/ide/lazbuild.lpr(1869,1) Error: (9021) resource compiler "fpcres" not found, switching to external mode /home/bosse/dev/lazarus/2.0.12/ide/lazbuild.lpr(1869,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [Makefile:4239: lazbuild] Error 1
make[2]: Leaving directory '/home/bosse/dev/lazarus/2.0.12/ide' make[1]: *** [Makefile:4671: lazbuilder] Error 2
make[1]: Leaving directory '/home/bosse/dev/lazarus/2.0.12/ide' make: *** [Makefile:3696: lazbuild] Error 2

Bo Berglund Developer in Sweden

Reply by email

Bo Berglund
to Bo Berglund
Bo Berglund wrote 8 lines
>Missing FPC install.  It can't find a "fpc" binary Is this a hen-and-egg situation? I am installing fpc/lazarus for the first time on this computer and I am doing it from sources. So there is no previous compiler except for the seed executable (3.0.4) I used to build fpc with...

Follow-up:
It turned out to be an environment issue...
The ~/bin/ dir was created and populated as part of the building of fpc, did not exist previously.

So when I went to building lazarus fpc was not found because I had not yet logged out and then on again into my PuTTY connection! It was not on path.

Once I did that fpc was on path and the Lazarus build succeeded.

Bo Berglund Developer in Sweden

Reply by email

Sven Barth
to Bo Berglund: On Thu, 25 Feb 2021 10:59:14 +0100, Marco van de Voort via fpc-pascal Is this a…
Bo Berglund wrote 16 lines
On Thu, 25 Feb 2021 10:59:14 +0100, Marco van de Voort via fpc-pascal wrote: > Op 2021-02-25 om 10:12 schreef Bo Berglund via fpc-pascal: >> I am installing fpc 3.2.0 on a notebook running Ubuntu 20.04 LTS >> When I execute make clean and make sourceinstall I get this strange output >> message: >> >> :~/dev/fpc/3.2.0$ time make sourceinstall PREFIX=$HOME >> make: -iVSPTPSOTO: Command not found > Missing FPC install.  It can't find a "fpc" binary Is this a hen-and-egg situation? I am installing fpc/lazarus for the first time on this computer and I am doing it from sources. So there is no previous compiler except for the seed executable (3.0.4) I used to build fpc with...

Best use the installer archives if you don't want to use or can't use the distribution's packages:
https://www.freepascal.org/down/x86_64/linux.html

Show quoted text 16 lines
I next tried to do a lazarus build, but this is what I ended up with: make bigide "FPC=$HOME/bin/ppcx64" --- 48 s of build output --- /home/bosse/dev/lazarus/2.0.12/ide/lazbuild.lpr(1484,9) Note: (6058) Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined /home/bosse/dev/lazarus/2.0.12/ide/lazbuild.lpr(1869,1) Error: (9021) resource compiler "fpcres" not found, switching to external mode /home/bosse/dev/lazarus/2.0.12/ide/lazbuild.lpr(1869,1) Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted make[2]: *** [Makefile:4239: lazbuild] Error 1 make[2]: Leaving directory '/home/bosse/dev/lazarus/2.0.12/ide' make[1]: *** [Makefile:4671: lazbuilder] Error 2 make[1]: Leaving directory '/home/bosse/dev/lazarus/2.0.12/ide' make: *** [Makefile:3696: lazbuild] Error 2

Again, missing a full installation.

Regards,
Sven

Reply by email