Most software follows a 3-step process to build from source: ./configure && make && make install. The configure script checks dependencies, while make generates an executable; autoconf/automake help ...
FreeBSD, Haiku, and other systems everyone mistakes for Linux are actually their own OS outside of the system that you are ...