[FreeBSD] error: idna.h not found which is part of GNU libidn Sep 17, 2010 • SAWP Error: configure: error: idna.h not found which is part of GNU libidn. Solution (as root): export CPPFLAGS="-I /usr/local/include -L /usr/local/lib" and run ./configure again.