I'm having the same type of problems when compiling scanlogd (just posted a separate message about it). I installed the binary *.tbz package from freebsd.org, and that didn't quite work, there are other dependencies it needs. It's been a little frustrating.