Today I want to install a cntlm, but there is always an error when compiling, it exists under 0.92.3 and 0.92.1:
install: doc/cntlm.1 exists but is not a directory
install: doc/cntlm.conf exists but is not a directory
install: doc/cntlm.conf exists but is not a directory
After checking for a long time, there is only one post that talks about how to solve it:
https://nellen.it/blog/2012/01/porting-cntlm-on-a-mac-os-x/
Solution:
find the paragraph below
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; \
Just delete the " -d " in front of -m , because it is:
install -d doesn’t exist on Mac OS X Lion, remove it