/bin/sed: can't read 1.14.1/otherlib/pcre-8.42/libpcre.la: No such file or directory
libtool: error: '1.14.1/otherlib/pcre-8.42/libpcre.la' is not a valid libtool archive
Makefile:1441: recipe for target 'libpcreposix.la' failed
make[1]: *** [libpcreposix.la] Error 1
make[1]: Leaving directory '/home/lcf/git/git 1.14.1/otherlib/pcre-8.42'
Makefile:1322: recipe for target 'all' failed
make: *** [all] Error 2
pcre安装包的路径需要英文路径且不能有空格,本例中就是 git 1.14.1 出现空格所致
在尝试安装Git1.14.1版本中的pcre库时,遇到了由于路径中存在空格导致的编译错误。bin/sed无法读取文件,libtool认为1.14.1/otherlib/pcre-8.42/libpcre.la不是一个有效的库工具档案。解决方案是确保安装包路径使用英文且无空格。
1万+





