[fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

Bo Berglund bo.berglund at gmail.com
Sat Jan 7 11:52:18 CET 2017


I went ahead and tried the command but it failed miserably...

pi at rpi3-jessie:~/dev/fpc/3.0.2RC1 $ make all install
FPC="/home/pi/bin/fpc/3.0.0"
INSTALL_PREFIX="/home/pi/bin/fpc/3.0.2RC1" OPT="-dFPC_ARMHF"
make: execvp: /home/pi/bin/fpc/3.0.0: Permission denied
make compiler_cycle RELEASE=1
make[1]: Entering directory '/home/pi/dev/fpc/3.0.2RC1'
make[1]: execvp: /home/pi/bin/fpc/3.0.0: Permission denied
make -C compiler cycle
make[2]: Entering directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
make[2]: execvp: /home/pi/bin/fpc/3.0.0: Permission denied
make tempclean ppc3.exe
make[3]: Entering directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
make[3]: execvp: /home/pi/bin/fpc/3.0.0: Permission denied
/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.2RC1/compiler'
make[4]: execvp: /home/pi/bin/fpc/3.0.0: Permission denied
make rtlclean rtl
make[5]: Entering directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
make[5]: execvp: /home/pi/bin/fpc/3.0.0: Permission denied
make -C  clean
make[6]: Entering directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
make[6]: *** clean: No such file or directory.  Stop.
make[6]: Leaving directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
Makefile:4154: recipe for target 'rtlclean' failed
make[5]: *** [rtlclean] Error 2
make[5]: Leaving directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
Makefile:4043: recipe for target 'next' failed
make[4]: *** [next] Error 2
make[4]: Leaving directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
Makefile:4048: recipe for target 'ppc1.exe' failed
make[3]: *** [ppc1.exe] Error 2
make[3]: Leaving directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
Makefile:4060: recipe for target 'cycle' failed
make[2]: *** [cycle] Error 2
make[2]: Leaving directory '/home/pi/dev/fpc/3.0.2RC1/compiler'
Makefile:2816: recipe for target 'compiler_cycle' failed
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory '/home/pi/dev/fpc/3.0.2RC1'
Makefile:2848: recipe for target 'build-stamp.-' failed
make: *** [build-stamp.-] Error 2

Why are these permissions denied when I operate in my home directory
tree? Do I really need to use sudo to build fpc?


-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list