Macos 不能满足Plone';s使用openssl的统一安装程序预飞行
我试图在OS X 10.11.3上运行Plone Unified Installer(适用于4.3.9)而不使用Macos 不能满足Plone';s使用openssl的统一安装程序预飞行,macos,ssl,openssl,plone,Macos,Ssl,Openssl,Plone,我试图在OS X 10.11.3上运行Plone Unified Installer(适用于4.3.9)而不使用——不使用ssl选项,我得到以下错误: Unable to find libssl or openssl/ssl.h. libssl and its development headers are required for Plone. Please install your platform's openssl-dev package and try again. (If your
——不使用ssl
选项,我得到以下错误:
Unable to find libssl or openssl/ssl.h.
libssl and its development headers are required for Plone.
Please install your platform's openssl-dev package
and try again.
(If your system is using an SSL other than openssl or is
putting the libraries/headers in an unconventional place,
you may need to set CFLAGS/CPPFLAGS/LDFLAGS environment variables
to specify the locations.)
If you want to install Plone without SSL support, specify
--without-ssl on the installer command line.
此外,我正在尝试从源代码构建openssl,而不使用brew、macports或fink等进行安装。我使用了构建openssl 1.0.1s的说明。(LTS版本1.0.2禁用了SSLv2,因此我选择了1.0.1。)
结果显示,它发现openssl头是正确的,所以至少我确信这一部分是正确的。它还显示,它从库文件(例如libssl.a)及其组成的.o文件中找到了一大堆符号,因此库路径似乎也正常
我不确定我读的是否正确,但是config.log中的这一行
preflight:4013: $? = 1
似乎表明函数ac\u fn\u c\u try\u link
中发生了一些事情,但我不知道是什么。以下是函数:
# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
rm -f conftest.$ac_objext conftest$ac_exeext
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then :
ac_retval=0
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_link
最后,我确实使用了命令nm-g/usr/local/openssl/lib/libssl.a
来确保所有需要的符号都在那里
非常感谢您在诊断此问题时提供的任何帮助。我在Plone-4.1.6-UnifiedInstaller上遇到了类似的问题,我必须安装它来维护旧的安装 通过一些简单的修改成功安装:
► iMac@~:ln-s/usr/local/ceral/openssl/1.0.2h/include/openssl/usr/local/include/openssl
因此,我之前已使用brew安装了我的openssl,其版本为:
► iMac@~:brew信息openssl
openssl:稳定的1.0.2h(瓶装)[仅桶]
SSL/TLS加密库
https://openssl.org/
/usr/local/ceral/openssl/.openssl(8B)
2016-02-15 21:07:44从瓶子里倒出来
/usr/local/ceral/openssl/1.0.2f(1651文件,11.9M)
2016-02-15 21:07:44从瓶子里倒出来
/usr/local/Cell/openssl/1.0.2g(1678个文件,12.0M)
2016-03-07 18:32:36从瓶子中倒出
/usr/local/ceral/openssl/1.0.2h(1691个文件,12M)
2016-05-07 21:17:01从瓶子中倒出
/usr/local/ceral/openssl/1.0.2h_1(1691个文件,12M)
2016年5月12日23:09:46从瓶子中倒出
发件人:https://github.com/Homebrew/homebrew-core/blob/master/Formula/openssl.rb
现在PloneUnifiedInstaller似乎编译/安装没有错误
尚未对其进行测试,但似乎很有希望,安装程序以成功安装Plone而告终……我对Plone-4.1.6-UnifiedInstaller也有类似的问题,我必须安装它来维护旧的安装 通过一些简单的修改成功安装:
► iMac@~:ln-s/usr/local/ceral/openssl/1.0.2h/include/openssl/usr/local/include/openssl
因此,我之前已使用brew安装了我的openssl,其版本为:
► iMac@~:brew信息openssl
openssl:稳定的1.0.2h(瓶装)[仅桶]
SSL/TLS加密库
https://openssl.org/
/usr/local/ceral/openssl/.openssl(8B)
2016-02-15 21:07:44从瓶子里倒出来
/usr/local/ceral/openssl/1.0.2f(1651文件,11.9M)
2016-02-15 21:07:44从瓶子里倒出来
/usr/local/Cell/openssl/1.0.2g(1678个文件,12.0M)
2016-03-07 18:32:36从瓶子中倒出
/usr/local/ceral/openssl/1.0.2h(1691个文件,12M)
2016-05-07 21:17:01从瓶子中倒出
/usr/local/ceral/openssl/1.0.2h_1(1691个文件,12M)
2016年5月12日23:09:46从瓶子中倒出
发件人:https://github.com/Homebrew/homebrew-core/blob/master/Formula/openssl.rb
现在PloneUnifiedInstaller似乎编译/安装没有错误
尚未对其进行测试,但似乎很有希望,安装程序以成功安装Plone而告终……