I have bought and initialized a new RPi3 today. It runs Raspbian Jessie PIXEL latest version. To install FPC I use a script file which sets up the Pi for FPC development with FPC3.0.2 and Lazarus 1.6.4. It automatically downloads all needed fpc and lazarus files using svn and it also updates the system with the dependencies before starting the download.
The script can be found here: http://blog.boberglund.com/install_lazfpc_local_pi.sh Before running the script I have prepared the system as follows: 1) Created directory /home/pi/bin 2) Logged off, then on again to make the bin dir appear in $PATH 3) Edited the script config to reflect the wanted version FPC 3.0.2 and Lazarus 1.6.4 4) Then started the script The script runs fine for about 19 minutes when it exits with a bunch of error messages I don't understand. Last time I installed on a brand new RPi3 it sucessfully ran all the way to the end. The command that fails after a long time is: make install OPT=-dFPC_ARMHF PREFIX=/home/pi What can be done about this and what is causing it? I do not understand what -iVSPTPSOTO is... Here is the error output: -------------------------- /usr/bin/ld: warning: ./link.res contains output sections; did you forget -T? make[2]: Leaving directory '/home/pi/dev/fpc/3.0.2/installer' make[1]: Leaving directory '/home/pi/dev/fpc/3.0.2' /bin/echo Build > build-stamp.arm-linux /bin/echo Build > base.build-stamp.arm-linux make: -iVSPTPSOTO: Command not found make compiler_cycle RELEASE=1 make[1]: Entering directory '/home/pi/dev/fpc/3.0.2' make[1]: -iVSPTPSOTO: Command not found make -C compiler cycle make[2]: Entering directory '/home/pi/dev/fpc/3.0.2/compiler' make[2]: -iVSPTPSOTO: Command not found make tempclean ppc3.exe make[3]: Entering directory '/home/pi/dev/fpc/3.0.2/compiler' make[3]: -iVSPTPSOTO: Command not found /bin/rm -f ppcross ppc ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe pp1.wpo pp2.wpo make 'OLDFPC=' next CYCLELEVEL=1 make[4]: Entering directory '/home/pi/dev/fpc/3.0.2/compiler' make[4]: -iVSPTPSOTO: Command not found make rtlclean rtl make[5]: Entering directory '/home/pi/dev/fpc/3.0.2/compiler' make[5]: -iVSPTPSOTO: Command not found make -C clean make[6]: Entering directory '/home/pi/dev/fpc/3.0.2/compiler' make[6]: *** clean: No such file or directory. Stop. make[6]: Leaving directory '/home/pi/dev/fpc/3.0.2/compiler' Makefile:4078: recipe for target 'rtlclean' failed make[5]: *** [rtlclean] Error 2 make[5]: Leaving directory '/home/pi/dev/fpc/3.0.2/compiler' Makefile:3967: recipe for target 'next' failed make[4]: *** [next] Error 2 make[4]: Leaving directory '/home/pi/dev/fpc/3.0.2/compiler' Makefile:3972: recipe for target 'ppc1.exe' failed make[3]: *** [ppc1.exe] Error 2 make[3]: Leaving directory '/home/pi/dev/fpc/3.0.2/compiler' Makefile:3984: recipe for target 'cycle' failed make[2]: *** [cycle] Error 2 make[2]: Leaving directory '/home/pi/dev/fpc/3.0.2/compiler' Makefile:2779: recipe for target 'compiler_cycle' failed make[1]: *** [compiler_cycle] Error 2 make[1]: Leaving directory '/home/pi/dev/fpc/3.0.2' Makefile:2811: recipe for target 'build-stamp.-' failed make: *** [build-stamp.-] Error 2 install_lazfpc_local_pi.sh: 150: Cannot make install! Aborting -- Bo Berglund Developer in Sweden _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal