[Q.]
checking dnet.h usability… yes
checking dnet.h presence… yes
checking for dnet.h… yes
checking for eth_set in -ldnet… noERROR! Libdnet header not found, go get it from
http://libdnet.sourceforge.net or use the –with-dnet-*
options, if you have it installed in an unusual place
[A:] ./confugre –with-dnet-includes=/usr/local/include/dnet.h
但這個引發下個問題
[Q:]
checking for pcre_compile in -lpcre… yes
checking libipq.h usability… no
checking libipq.h presence… no
checking for libipq.h… no
configure: error: libipq.h not found …
[A:]
iptables-dev明明裝了,它還是裝傻看不到
原來是上面的動作 –with-dnet-includes=/usr/local/include/dnet.h
影響到 libipq.h了,
apt-get remove 移掉 dnet等套件,
安裝 tarball的libdnet
[Q:] 找不到 mysql.h
[A:] apt-get install libmysql++-dev
[Q.] 找不到 clamav.h
[A.] apt-get install libclamav-dev
[Q:] ./configure
checking for xlC_r… no
checking for xlC… no
checking whether we are using the GNU C++ compiler… no
checking whether g++ accepts -g… no
checking dependency style of g++… none
checking how to run the C++ preprocessor… /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[A:] apt-get install g++
[Q:] ./configure –enable-clamav
checking for clamav.h… yes
checking for cl_scanbuff in -lclamav… noERROR! libclamav library not found, go get it from
http://www.clamav.net/ or make sure that the place
you installed it is in the library path.
[A:]
留言