我正在尝试在 Ubuntu 16.04 版上安装 ChkTex。为此,我下载了手册和软件。我目前正在按照手册进行安装。但是,当我尝试使用 commandmake
时,它给了我以下错误:
gcc -lpcreposix -lpcre -o chktex ChkTeX.o FindErrs.o OpSys.o Resource.o Utility.o -ltermcap
FindErrs.o: In function `CheckSilentRegex':
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:1256: undefined reference to `pcreposix_regcomp'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:1277: undefined reference to `pcreposix_regexec'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:1288: undefined reference to `pcreposix_regerror'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:1261: undefined reference to `pcreposix_regerror'
FindErrs.o: In function `CheckRest':
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:920: undefined reference to `pcreposix_regexec'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:931: undefined reference to `pcreposix_regerror'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:878: undefined reference to `pcreposix_regcomp'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:885: undefined reference to `pcreposix_regerror'
collect2: error: ld returned 1 exit status
Makefile:160: recipe for target 'chktex' failed
make: *** [chktex] Error 1
错误的原因是什么,我该如何删除它?