Hi,
So I just got my Raspberry PI 3 some days back and decided to get Lazarus and FPC installed on it.
I first of all installed FPC from
ftp://freepascal.stack.nl/pub/mirrors/fpc/dist/3.0.4/arm-linux/fpc-3.0.4.arm-linux-eabihf-raspberry.tar, it installed successfully.
So I tried installing Lazarus 2.0RC2 from svn
https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_0_RC2/ , after downloading the sources, I followed the instructions, the build started successfully but started failing at some point with this error message below
pi@raspberrypi:/usr/local/lazarus/source $ sudo make bigide
make -C packager/registration
make[1]: Entering directory '/usr/local/lazarus/source/packager/registration'
/bin/rm -f ../units/arm-linux/fcllaz.ppu
/usr/local/bin/ppcarm -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu/usr/local/lib/fpc/3.0.4/units/arm-linux/rtl -FE. -FU../units/arm-linux -darm fcllaz.pas
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.0.4 [2017/10/11] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling fcllaz.pas
(9009) Assembling fcllaz
(1008) 21 lines compiled, 0.8 sec
(1022) 2 hint(s) issued
/bin/cp -f Makefile.compiled ../units/arm-linux/FCL.compiled
make[1]: Leaving directory '/usr/local/lazarus/source/packager/registration'
make -C components/lazutils
make[1]: Entering directory '/usr/local/lazarus/source/components/lazutils'
/bin/rm -f lib/arm-linux/lazutils.ppu
/usr/local/bin/ppcarm -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu../../packager/units/arm-linux -Fu. -Fu/usr/local/lib/fpc/3.0.4/units/arm-linux/rtl -FE. -FUlib/arm-linux -darm lazutils.pas
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.0.4 [2017/10/11] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling lazutils.pas
(9009) Assembling lazutils
(1008) 35 lines compiled, 1.0 sec
(1022) 2 hint(s) issued
/bin/cp -f Makefile.compiled lib/arm-linux/LazUtils.compiled
make[1]: Leaving directory '/usr/local/lazarus/source/components/lazutils'
make -C components/codetools
make[1]: Entering directory '/usr/local/lazarus/source/components/codetools'
/bin/rm -f units/arm-linux/codetools.ppu
/usr/local/bin/ppcarm -MObjFPC -Sci -O1 -g -gl -l -vewnhibq -Fu../../packager/units/arm-linux -Fu../lazutils/lib/arm-linux -Fu. -Fu/usr/local/lib/fpc/3.0.4/units/arm-linux/rtl -FE. -FUunits/arm-linux -darm codetools.pas
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.0.4 [2017/10/11] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling codetools.pas
(9009) Assembling codetools
(1008) 33 lines compiled, 1.0 sec
(1022) 2 hint(s) issued
/bin/cp -f Makefile.compiled units/arm-linux/CodeTools.compiled
make[1]: Leaving directory '/usr/local/lazarus/source/components/codetools'
make -C lcl LCL_PLATFORM=nogui
make[1]: Entering directory '/usr/local/lazarus/source/lcl'
/bin/rm -f units/arm-linux/alllclunits.ppu
/usr/local/bin/ppcarm -gl -Sic -Fu../packager/units/arm-linux -Fu../components/lazutils/lib/arm-linux -Fu. -Funonwin32 -Fuforms -Fuwidgetset -Fu/usr/local/lib/fpc/3.0.4/units/arm-linux/rtl -Fiinclude -FE. -FUunits/arm-linux -darm alllclunits.pp
Free Pascal Compiler version 3.0.4 [2017/10/11] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling alllclunits.pp
Assembling alllclunits
42 lines compiled, 3.7 sec
/bin/cp -f Makefile.compiled units/arm-linux/LCLBase.compiled
make -C interfaces all
make[2]: Entering directory '/usr/local/lazarus/source/lcl/interfaces'
make -C nogui all
make[3]: Entering directory '/usr/local/lazarus/source/lcl/interfaces/nogui'
/bin/rm -f ../../units/arm-linux/nogui/lcl.ppu \
../../units/arm-linux/nogui/lcl.o
/usr/local/bin/ppcarm -gl -dnogui -Fu../../units/arm-linux -Fu../../../packager/units/arm-linux -Fu../../../components/lazutils/lib/arm-linux -Fu.. -Fu. -Fu/usr/local/lib/fpc/3.0.4/units/arm-linux/rtl -FE. -FU../../units/arm-linux/nogui -darm ../lcl.pas
Free Pascal Compiler version 3.0.4 [2017/10/11] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling ../lcl.pas
Assembling lcl
21 lines compiled, 2.0 sec
/bin/cp -f Makefile.compiled ../../units/arm-linux/nogui/LCL.compiled
make[3]: Leaving directory '/usr/local/lazarus/source/lcl/interfaces/nogui'
make[2]: Leaving directory '/usr/local/lazarus/source/lcl/interfaces'
make[1]: Leaving directory '/usr/local/lazarus/source/lcl'
make -C tools
make[1]: Entering directory '/usr/local/lazarus/source/tools'
make[1]: *** No targets. Stop. <<================================= Error started from here.
make[1]: Leaving directory '/usr/local/lazarus/source/tools'
Makefile:3371: recipe for target 'lazbuild' failed
make: *** [lazbuild] Error 2
pi@raspberrypi:/usr/local/lazarus/source $
Can anyone help me out please?
Am already loosing my mind.
Stuck on this for 2 days now.
By the way, I have already increased the swap file size.
Thanks.