Then based on your repeated requirements -- which appear to be the ability to compile any sort of *nix code, found in-the-wild, on your own, without any detailed knowledge of your particular *nix environment or having any of your own *nix porting skills -- return to Slackware or a similar Linux environment.
Forget the *BSDs, then.
Most FOSS code written for *nix environments is written for Linux, these days. You won't have to do much, if anything, other than follow the developers' step-by-step instructions.
|