Howto compile fpcbuild-2.2.4 lazarus / 1-Linux ---------------------------------------------------------------------- mrdebug · 2009-11-16 15:30 I am trying to compile Pascal on Arm Machine with Debian Linux. Unfortunately I obtain this error: Code: [Select]debianArm01:~/fpcbuild-2.2.4# make all NOGDB=1 make: -iVSPTPSOTO: Command not found make: -iSP: Command not found make: -iTP: Command not found make: -iSO: Command not found make: -iTO: Command not found make -C fpcsrc build make[1]: -iSP: Command not found make[1]: Entering directory `/root/fpcbuild-2.2.4/fpcsrc' make[1]: -iTP: Command not found make[1]: -iSO: Command not found make[1]: -iTO: Command not found make[1]: -iSP: Command not found make[1]: -iTP: Command not found make[1]: -iSO: Command not found make[1]: -iTO: Command not found make[1]: -iSP: Command not found make[1]: -iTP: Command not found make[1]: -iSO: Command not found make[1]: -iTO: Command not found make[1]: -iSP: Command not found make[1]: -iTP: Command not found make[1]: -iSO: Command not found make[1]: -iTO: Command not found make compiler_cycle RELEASE=1 make[2]: -iVSPTPSOTO: Command not found make[2]: Entering directory `/root/fpcbuild-2.2.4/fpcsrc' make[2]: -iSP: Command not found make[2]: -iTP: Command not found make[2]: -iSO: Command not found make[2]: -iTO: Command not found make -C compiler cycle make[3]: -iVSPTPSOTO: Command not found make[3]: Entering directory `/root/fpcbuild-2.2.4/fpcsrc/compiler' make[3]: -iSP: Command not found make[3]: -iTP: Command not found make[3]: -iSO: Command not found make[3]: -iTO: Command not found make tempclean ppc3.exe make[4]: -iVSPTPSOTO: Command not found make[4]: Entering directory `/root/fpcbuild-2.2.4/fpcsrc/compiler' make[4]: -iSP: Command not found make[4]: -iTP: Command not found make[4]: -iSO: Command not found make[4]: -iTO: Command not found /bin/rm -f ppcross ppc ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe make 'OLDFPC=' next make[5]: -iVSPTPSOTO: Command not found make[5]: Entering directory `/root/fpcbuild-2.2.4/fpcsrc/compiler' make[5]: -iSP: Command not found make[5]: -iTP: Command not found make[5]: -iSO: Command not found make[5]: -iTO: Command not found make rtlclean rtl make[6]: -iVSPTPSOTO: Command not found make[6]: Entering directory `/root/fpcbuild-2.2.4/fpcsrc/compiler' make[6]: -iSP: Command not found make[6]: -iTP: Command not found make[6]: -iSO: Command not found make[6]: -iTO: Command not found make -C  clean make: Entering an unknown directory make: *** clean: No such file or directory.  Stop. make: Leaving an unknown directory make[6]: *** [rtlclean] Error 2 make[6]: Leaving directory `/root/fpcbuild-2.2.4/fpcsrc/compiler' make[5]: *** [next] Error 2 make[5]: Leaving directory `/root/fpcbuild-2.2.4/fpcsrc/compiler' make[4]: *** [ppc1.exe] Error 2 make[4]: Leaving directory `/root/fpcbuild-2.2.4/fpcsrc/compiler' make[3]: *** [cycle] Error 2 make[3]: Leaving directory `/root/fpcbuild-2.2.4/fpcsrc/compiler' make[2]: *** [compiler_cycle] Error 2 make[2]: Leaving directory `/root/fpcbuild-2.2.4/fpcsrc' make[1]: *** [build-stamp.-] Error 2 make[1]: Leaving directory `/root/fpcbuild-2.2.4/fpcsrc' make: *** [fpcsrc/build-stamp.-] Error 2 debianArm01:~/fpcbuild-2.2.4 What it means? ---------------------------------------------------------------------- Blaazen · 2009-11-16 22:50 Hi, you try to compile freepascal from source, but don't forget that you need freepascal compiler on it, because compiler itself is also written in pascal. When you compile for the first time on some fresh linux instalation, where was no fpc installed never before, you MUST have binary compiler. So, 1) download binary fpc (for example 2.2.4 from repository) 2) Once you have it, you can download svn version (for ex. 2.5.1) and you can compile it, because now you have compiler on it. 3) in /usr/local/bin is one symlink to fpc compiler. At me, it is ppcx64, where you must manually change path to your 2.5.1 version. 4)if you have it, you can test now, what version you have: type to console: "fpc" and it will prompt something like this: Free Pascal Compiler version 2.5.1 [2009/09/23] for x86_64 ..... B. ---------------------------------------------------------------------- mrdebug · 2009-11-17 07:42 Thank for your reply. Which is the difference throws fpc-build and fpc-source package? ---------------------------------------------------------------------- Leledumbo · 2009-11-17 09:00 QuoteWhich is the difference throws fpc-build and fpc-source package?build: compiler, rtl, packages, ide, utils, documentation, demos, etc. source: compiler, rtl, packages, ide, utils