Re: [fpc-pascal] Strange output from make when building 3.2.0

2021-02-25 Thread Sven Barth via fpc-pascal

Am 25.02.2021 um 13:38 schrieb Bo Berglund via fpc-pascal:

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



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
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Strange output from make when building 3.2.0

2021-02-25 Thread Bo Berglund via fpc-pascal
On Thu, 25 Feb 2021 13:38:30 +0100, Bo Berglund via fpc-pascal
 wrote:

>>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

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Strange output from make when building 3.2.0

2021-02-25 Thread Bo Berglund via fpc-pascal
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...


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

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Strange output from make when building 3.2.0

2021-02-25 Thread Marco van de Voort via fpc-pascal


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



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] Strange output from make when building 3.2.0

2021-02-25 Thread 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

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

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal