我得到一個錯誤的建築的OpenSSL 1.0.1f與MSYS/mingw64:的OpenSSL 1.0.1f MSYS/mingw64構建失敗
installing libcrypto.a
/bin/sh: line 5: mingw64bin/ranlib.exe: No such file or directory
installing libssl.a
/bin/sh: line 5: mingw64bin/ranlib.exe: No such file or directory
make: *** [install_sw] Error 1
當我運行.Configure我得到:
ENGINES_OBJ =
PROCESSOR =
RANLIB =\mingw64\bin/ranlib.exe
ARFLAGS =
PERL =perl
Soooooo似乎很容易我只需要更改反斜槓斜槓
我打開.Configure和搜索RANLIB和我得到:
my $ranlib = $ENV{'RANLIB'} || $fields[$idx_ranlib];
再往下:
\$\(CROSS_COMPILE\)$cc/;
s/^AR=\s*/AR= \$\(CROSS_COMPILE\)/;
s/^NM=\s*/NM= \$\(CROSS_COMPILE\)/;
s/^RANLIB=\s*/RANLIB= \$\(CROSS_COMPILE\)/;
Oookkeeee爲什麼不改變\ S */RANLIB = \ $(CROSS_COMPILE)/;到\ s */RANLIB =/$ /(CROSS_COMPILE)/;
Scalar found where operator expected at ./Configure line 1619, near "s/^RANLIB=\s*/RANLIB= /$/"
Backslash found where operator expected at ./Configure line 1619, near "CROSS_COMPILE\"
syntax error at ./Configure line 1619, near "s/^RANLIB=\s*/RANLIB= /$/"
Execution of ./Configure aborted due to compilation errors.
如何,我覺得:
http://i0.kym-cdn.com/photos/images/original/000/234/765/b7e.jpg
對於那些仍然不知道,是的,我是一個初學者。
Soooo我的問題:
ranlib path是真正的問題嗎?如果是這樣,我怎麼讓msys看到斜槓而不是反斜槓?如果你知道答案,你認爲你可以使用簡明扼要的解釋嗎?
我試圖從Msys控制檯內部構建。事實證明,我安裝了msys perl並從我的機器上刪除了草莓perl。它完成了這項工作! Ssooo我想這只是一個配置thingy ... –