Опубликовано

При компиляции dansguardian-2.10.1.1 на FreeBSD 10 получил вот такую вот ошибку:
checking for PCRE… configure: error: in `/root/src/dansguardian-2.10.1.1′:
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables PCRE_CFLAGS
and PCRE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see .
See `config.log’ for more details.

Гугление не дало сценария решения данной проблемы и поэтому сделал во так:
export PCRE_CFLAGS=»-L/usr/local/lib -I/usr/local/include»
и потом
./configure
все прошло просто на ура и софт скомпилировался.

Share and Enjoy:
  • Мой Мир
  • Facebook
  • Twitter

Добавить комментарий