【发布时间】:2015-09-16 02:18:05
【问题描述】:
我正在尝试在 cygwin-32 位环境中从 CPAN 安装不同的 Perl 模块,并且总是得到相同类型的错误。这个来自尝试安装 Net::SSLeay,也做了制作、安装和尝试强制安装,似乎没有任何效果。
drmariad@drmariad-MOBL ~/.cpan/build/Net-SSLeay-1.70-eDSzRW$ make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
chmod 755 /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto//Net/SSLeay/SSLeay.dll
/bin/find /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/ -xdev -name \*.dll /bin/rebase -sOT -
/bin/find: paths must precede expression: /bin/rebase
Usage: /bin/find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
Makefile:731: recipe for target 'pure_install' failed
make: *** [pure_install] Error 1
大部分时间是我在安装中收到的 bin/find 失败消息,但我不知道如何更改该行为。我尝试安装的大多数模块都出现错误和失败。
【问题讨论】:
-
我想应该是
... -exec /bin/rebase ... -
我不知道那个命令是从哪里来的。
-
你有什么版本的 ExtUtils::MakeMaker?
-
这是最新的。抱歉,我没时间帮你调试。但如果命令在
Makefile中,只需添加缺少的-exec并再次运行make install(作为一次性修复)。 -
其实
-表示应该是... | /bin/rebase ...