Hi all,

Struggling to get mod_ssl_ct to build on MacOS, for some reason the OpenSSL 
version detection doesn't work just for mod_ssl_ct, but does work for 
everything else.

MacBookPro:httpd-trunk2 minfrin$ CFLAGS="-g -O0 -fsanitize=address" ./configure 
--prefix=/tmp/httpd-trunk --enable-mods-shared=reallyall 
--with-pcre=/opt/local/bin/pcre-config --with-z=/opt/local/ 
--with-jansson=/opt/local/ --enable-exception-hook --with-mpm=event 
--enable-mpms-shared=all --with-apr=/tmp/httpd-trunk/bin/apr-1-config 
--with-apr-util=/tmp/httpd-trunk/bin/apu-1-config

It breaks like this:

checking whether to enable mod_ssl... checking dependencies
checking for OpenSSL... checking for user-provided OpenSSL base directory... 
none
  adding "-I/opt/local/libexec/openssl3/include" to CPPFLAGS
  setting MOD_CFLAGS to "-I/opt/local/libexec/openssl3/include"
  setting ab_CFLAGS to "-I/opt/local/libexec/openssl3/include"
  adding "-L/opt/local/libexec/openssl3/lib" to LDFLAGS
  setting MOD_LDFLAGS to "-L/opt/local/libexec/openssl3/lib"
checking for OpenSSL version >= 0.9.8a... yes
  adding "-lssl" to MOD_LDFLAGS
  adding "-lcrypto" to MOD_LDFLAGS
  adding "-lpthread" to MOD_LDFLAGS
  setting LIBS to "-lssl -lcrypto  -lpthread"
  forcing ab_LIBS to "-L/opt/local/libexec/openssl3/lib -lssl -lcrypto 
-lpthread"
checking for openssl/engine.h... yes
checking for SSL_CTX_new... yes
checking for OPENSSL_init_ssl... yes
checking for ENGINE_init... yes
checking for ENGINE_load_builtin_engines... yes
checking for RAND_egd... no
checking for CRYPTO_set_id_callback... no
yes
checking if OpenSSL can use &errno as a THREADID... yes
  setting MOD_SSL_LDADD to "-export-symbols-regex ssl_module"
checking whether to enable mod_ssl... shared (reallyall)
  adding "-I$(top_srcdir)/modules/ssl" to INCLUDES
checking whether to enable mod_ssl_ct... checking dependencies
checking for OpenSSL version >= 1.0.2... configure: error: mod_ssl_ct requires 
OpenSSL 1.0.2-beta3 or later.

I can skip the problem with --disable-ssl-ct, but ideally it should just work.

Macports shows the following:

The following ports are currently installed:
  openssl @3_27+universal (active)
  openssl3 @3.5.4_0+universal (active)

Regards,
Graham
--

Reply via email to