我正在尝试在我的MAC上编译httrack。 ./configure成功。但是,在编译软件包时,出现以下错误,并且无法解决。
In file included from htscore.c:40:
In file included from ./htscore.h:81:
In file included from ./htslib.h:67:
./htsbasenet.h:76:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
^
2 warnings and 1 error generated.
make[2]: *** [libhttrack_la-htscore.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
也尝试过这种解决方案,但没有运气
https://serverfault.com/questions/283271/how-to-get-httrack-to-work-with-ssl-on-mac-os-x-libssl-so-not-found
Openssl位于/usr/include/openssl
最佳答案
如果没有HTTPS就可以生存
./configure --enable-https=no
应该足够了。
关于macos - 在MAC OS X上编译Httrack,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/34320330/