> How have you configured and built nginx ?
> It seems that you use --test-build-rtsig option which I use to test rtsig
> module building on FreeBSD that has no rtsig support.

I built it with the following:

./configure --with-pcre=../pcre-7.4 --with-debug
make
sudo make install