常见异常
-
异常
error: C compiler cc is not foundcc: not found解决:
sudo apt update sudo apt -y install gcc -
异常
--with-openssl=<path> error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directoryconfigure: error: *** working libcrypto not found, check config.logfatal error: openssl/ssl.h: No such file or directory #include <openssl/ssl.h>解决:
sudo apt update sudo apt -y install libssl-dev -
异常
<zlib.h> --with-zlib=<path>compat/zlib-compat.h:27:11: fatal error: zlib.h: No such file or directory # include <zlib.h>解决:
sudo apt update sudo apt -y install zlib1g-dev -
异常
fatal error: curl/curl.h: No such file or directory #include <curl/curl.h>解决:
sudo apt -y install libcurl4-gnutls-dev -
异常
fatal error: expat.h: No such file or directory #include <expat.h>解决:
sudo apt update sudo apt -y install libexpat1-dev -
异常
GITGUI_VERSION = 0.21.GITGUI * new locations or Tcl/Tk interpreter GEN git-gui INDEX lib/ * tclsh failed; using unoptimized loading MSGFMT po/pt_pt.msg make[1]: *** [Makefile:254:po/pt_pt.msg] 错误 127 make: *** [Makefile:2109:all] 错误 2解决:
sudo apt update sudo apt -y install gettext -
异常
--with-pcre=<path>解决:
sudo apt update sudo apt -y install libpcre3-dev -
异常
Command 'make' not found解决:
sudo apt update sudo apt -y install make -
异常
Command 'autoreconf' not found解决:
sudo apt update sudo apt -y install autoconf -
异常
Please install libnl/libnl-3 dev libraries to support IPv6 with IPVS.解决:
apt -y install libnl-3-dev # apt -y install libnl-dev -
异常
MSGFMT po/bg.msg MSGFMT po/de.msg make[1]: *** [Makefile:160: po/bg.msg] Error 127 make[1]: *** Waiting for unfinished jobs.... MSGFMT po/el.msg make[1]: *** [Makefile:160: po/de.msg] Error 127 make[1]: *** [Makefile:160: po/el.msg] Error 127 make: *** [Makefile:2590: all] Error 2解决:
apt -y install gettext -
异常
fatal error: libelf.h: No such file or directory #include <libelf.h>解决:
apt -y install libelf-dev