[Lazarus] Makefile error or what else?

Bo Berglund bo.berglund at gmail.com
Sun Feb 17 17:01:40 CET 2019

On Sun, 17 Feb 2019 15:44:46 +0100, Joe via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>under Raspbian Stretch (current version) on a Pi 3B+,  making of Lazarus 
>2 fails. What's the reason, how to fix?

I do not know enough to parse an error dump, but as I have reported
here in another hread about building Lazarus 2.0.0 using Fpc 3.0.4 I
got it working fine *after* I changed the swap size to 1GB.
I had forgotten all about thta in the time since I built Lazarus 1.6
on another RPi.

So change the swap space to 1GB and retry, chances are it will work.

If you are already using 1GB swap, then disregard this message. The
problem is elsewhere. But my build script, which I use on all RPi
devices I make, works just fine wity 1GB swap.
I wrote it specifically to not forget stuff I need to do to get
Fpc/lazarus on to a new RPi unit. But I cannot script the swap

Is there any way to script a test for swap space so I can display an
error in my script and exit if swap is too small?
(Not good at bash scripting)

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list