Ich versuche, den Plone Unified Installer (für 4.3.9) auf OS X 10.11.3 ohne mit der Option --without-ssl
ausführen, und ich bekomme den folgenden Fehler :Kann nicht Plone Unified Installer Preflight mit Openssl
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.
auch ich versuche openssl von der Quelle zu bauen, ohne es mit brauen oder Macports oder fink zu installieren, usw. habe ich die Anweisungen here openssl 1.0.1s zu bauen. (Die LTS-Version, 1.0.2, deaktiviert SSLv2, die preflight checks for, so dass ich auf 1.0.1 ging.)
Die config.log zeigt, dass es die OpenSSL-Header gefunden ok, so dass zumindest ein Teil der ich bin sicher. Es zeigt auch, dass es eine ganze Reihe von Symbolen aus den Bibliotheksdateien (z. B. libssl.a) und seinen konstituierenden .o-Dateien gefunden hat, so scheint es, dass die Bibliothekspfade auch in Ordnung sind.
Ich bin mir nicht sicher, ob ich es richtig bin zu lesen, aber diese Linie von config.log
preflight:4013: $? = 1
scheint darauf hinzudeuten, dass etwas in Funktion passiert ac_fn_c_try_link
, aber ich kann nicht herausfinden, was. Hier ist die Funktion:
# 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
Schließlich habe ich den Befehl nm -g /usr/local/openssl/lib/libssl.a
um sicherzustellen, dass alle benötigten Symbole sind.
Jede Hilfe bei der Diagnose dieses Problems sehr geschätzt.