i tried setup latex linter in atom. 1 found linter-chktex. working have install chktex. have downloaded here. every time i'm trying make following error: finderrs.c:39:10: fatal error: 'pcreposix.h' file not found
can explain me how working?
edit: fixed error giving full path of pcreposix.h after locating it. make work , here log:
gcc -m -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ utility.c > .utility.d.tmp sed 's,\(utility\)\.o *:,\1.o .utility.d : makefile,g' .utility.d.tmp > .utility.d rm -f .utility.d.tmp 2>/dev/null gcc -m -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ resource.c > .resource.d.tmp sed 's,\(resource\)\.o *:,\1.o .resource.d : makefile,g' .resource.d.tmp > .resource.d rm -f .resource.d.tmp 2>/dev/null gcc -m -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ opsys.c > .opsys.d.tmp sed 's,\(opsys\)\.o *:,\1.o .opsys.d : makefile,g' .opsys.d.tmp > .opsys.d rm -f .opsys.d.tmp 2>/dev/null gcc -m -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ finderrs.c > .finderrs.d.tmp sed 's,\(finderrs\)\.o *:,\1.o .finderrs.d : makefile,g' .finderrs.d.tmp > .finderrs.d rm -f .finderrs.d.tmp 2>/dev/null gcc -m -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ chktex.c > .chktex.d.tmp sed 's,\(chktex\)\.o *:,\1.o .chktex.d : makefile,g' .chktex.d.tmp > .chktex.d rm -f .chktex.d.tmp 2>/dev/null gcc -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ -g -o2 -wstrict-prototypes -wall -i/usr/local/cellar/pcre/8.37/include -c chktex.c -o chktex.o gcc -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ -g -o2 -wstrict-prototypes -wall -i/usr/local/cellar/pcre/8.37/include -c finderrs.c -o finderrs.o gcc -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ -g -o2 -wstrict-prototypes -wall -i/usr/local/cellar/pcre/8.37/include -c opsys.c -o opsys.o gcc -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ -g -o2 -wstrict-prototypes -wall -i/usr/local/cellar/pcre/8.37/include -c resource.c -o resource.o gcc -i. -i. -dhave_config_h -dsysconfdir=\"/usr/local/etc\" -d__unix__ -g -o2 -wstrict-prototypes -wall -i/usr/local/cellar/pcre/8.37/include -c utility.c -o utility.o gcc -l/usr/local/cellar/pcre/8.37/lib -lpcreposix -lpcre -o chktex chktex.o finderrs.o opsys.o resource.o utility.o -ltermcap but try sudo make install error appears:
no chktex.tex make: no: no such file or directory make: *** [chktex.dvi] error 1 but chktex.tex in directory.
i had same problem.
turns out make not find file no in directory. no content of latex variable in makefile, if ./configure did not find latex distribution.
if set latex variable path of latex executable, can run sudo make install without problem.
in case (el capitan) had put
latex=/usr/local/texlive/2015/bin/x86_64-darwin/latex on line 48 of makefile, , thereby replace
latex=no to make work.
Comments
Post a Comment