0

当我尝试通过自制软件安装 dos2unix 时出现错误。brew doctor 没有任何建议,其他安装工作就像魅力一样。不知道从哪里开始追踪它。

$ brew install dos2unix
==> Downloading http://waterlan.home.xs4all.nl/dos2unix/dos2unix-6.0.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/dos2unix-6.0.3.tar.gz
==> make prefix=/usr/local/Cellar/dos2unix/6.0.3 CC=cc CPP=cc CFLAGS= CFLAGS_OS=
cc   -DVER_REVISION=\"6.0.3\" -DVER_DATE=\"2013-01-25\" -DVER_AUTHOR=\"'Erwin Waterlander'\" -DDEBUG=0 -I/usr/local/Cellar/gettext/0.18.3.1/include -DD2U_UNICODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DENABLE_NLS -DLOCALEDIR=\"/usr/local/Cellar/dos2unix/6.0.3/share/locale\" -DPACKAGE=\"dos2unix\"  -c unix2dos.c -o unix2dos.o
pod2text man/man1/dos2unix.pod > man/man1/dos2unix.txt
/bin/sh: /usr/bin/pod2text: Permission denied
make: *** [man/man1/dos2unix.txt] Error 126
make: *** Waiting for unfinished jobs....
4

1 回答 1

0

在我的系统/usr/bin/pod2text上没有执行权。通过执行以下命令进行更改后,我安装没有问题dos2unix

sudo chmod +x /usr/bin/pod2text
于 2013-09-23T10:18:29.003 回答