Hi @thato ,
Welcome to the IPFire Community.
You can not carry out the compile and build process on your actual IPFire firewall. There are no compilers or related tools on the firewall system.
You need to set up a separate build system. The following link shows you how to build an addon and how to install it into your IPFire system. Near the start of the page it also has a link to the requirements for the build system.