On Sat, 2014-03-29 at 21:24 -0400, Tony Zhou wrote: > Hi, > > I am trying to compile ocserv 0.3.2 under FreeBSD 10, and FreeBSD 10 > offers binary package named gnutls3 to provide libraries for gnutls > 3.12. However, the configure script of ocserv keeps looking for > gnutls.pc for pkg-config tool, but in FreeBSD it is located at > /usr/local/libdata/pkg-config/gnutls3.pc instead of gnutls.pc, thus the > script fails. What part of configure script should I change to make it > look for gnutls3.pc? In ./configure --help there are some environmental variables lists, that can be used to override the default paths (PKG_CONFIG_PATH, PKG_CONFIG_LIBDIR), or even allow you to set the necessary cflags and libs manually (LIBGNUTLS_CFLAGS, LIBGNUTLS_LIBS). regards, Nikos