[Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

Bo Berglund bo.berglund at gmail.com
Mon Feb 18 08:44:41 CET 2019


On Mon, 18 Feb 2019 00:39:14 +0100, Joe via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>Am 12.02.2019 um 00:51 schrieb Anthony Walter via lazarus:
>> Joe, you should delete setup.sh, download it again:
>>
>> Here is the location of the Rasberry Pi setup script:
>>
>> https://www.getlazarus.org/download/?platform=raspberry
>>
>> chmod + x setup.sh && ./setup.sh
>>
>> After that follow the instructions in the terminal. When the script 
>> completes you will have a menu entry in Raspbian under Programming 
>> titled Lazarus 2.0. Use that shortcut to launch Lazarus. Alternately 
>> you can navigate to the install location and in the lazarus folder run 
>> lazarus.sh to start Lazarus 2.0 to with the properly configured 
>> environment.
>>
>> You should see the Lazarus splash screen with version 2.0 emboldened 
>> at the bottom.
>>
>
>Anthony, eventually  i increased the swap file size from 100 to 1000 MB, 
>and now your script succeeded.
>Thanx --  Joe

I just added the following to the top of my own FPC/Lazarus install
scipt:

# Check swap space since building Lazarus uses lots of resources and
swap. Need 1 GB swap.
SWAPSPACE=$(free | grep Swap | grep  -P -o "[0-9]+" | head -1)
if [ "$SWAPSPACE" -lt 1000000 ]; then
  echo "Swap space $SWAPSPACE too small! You must set 1 GB swap!"
  exit 1
fi
echo "Swap space $SWAPSPACE OK!"


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list