cntlm报错解决:doc/cntlm.1 exists but is not a directory

阅读更多

今天想装一个cntlm,但是在编译的时候一直有个报错,在0.92.3和0.92.1下都存在:

 

install: doc/cntlm.1 exists but is not a directory
install: doc/cntlm.conf exists but is not a directory

 查了很久,只有一个帖子说到了怎么解决:

https://nellen.it/blog/2012/01/porting-cntlm-on-a-mac-os-x/

 

解决方法:

找到下面这一段

 

elif [ "`uname -s`" = "Darwin" ]; then \
   install -d -m 755 -s cntlm /usr/sbin/cntlm; \
   install -d -m 644 doc/cntlm.1 /usr/share/man/man1/cntlm.1; \
   [ -f /etc/cntlm.conf -o -z "/etc" ] \
      || install -d -m 600 doc/cntlm.conf /etc/cntlm.conf; \

 删除-m前面的“-d”即可,因为为:

install -d doesn’t exist on Mac OS X Lion, remove it

 

 

你可能感兴趣的:(cntlm报错解决:doc/cntlm.1 exists but is not a directory)