[MacPorts] #59024: opendkim @2.10.3_2 fails to compile

MacPorts noreply at macports.org
Thu Sep 12 11:25:00 UTC 2019


#59024: opendkim @2.10.3_2 fails to compile
------------------------+----------------------
 Reporter:  BjarneDMat  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  High        |  Milestone:
Component:  ports       |    Version:  2.5.4
 Keywords:  haspatch    |       Port:  opendkim
------------------------+----------------------
 2 issues :

 {{{
 checking for milter library and includes... configure: error: milter not
 found
 }}}

 easily fixed :   {{{--with-milter=${prefix}}}}


 ----


 {{{
 checking for OpenSSL includes... /macports
 checking openssl/bio.h usability... yes
 checking openssl/bio.h presence... yes
 checking for openssl/bio.h... yes
 checking openssl/conf.h usability... yes
 checking openssl/conf.h presence... yes
 checking for openssl/conf.h... yes
 checking openssl/crypto.h usability... yes
 checking openssl/crypto.h presence... yes
 checking for openssl/crypto.h... yes
 checking openssl/err.h usability... yes
 checking openssl/err.h presence... yes
 checking for openssl/err.h... yes
 checking openssl/evp.h usability... yes
 checking openssl/evp.h presence... yes
 checking for openssl/evp.h... yes
 checking openssl/md5.h usability... yes
 checking openssl/md5.h presence... yes
 checking for openssl/md5.h... yes
 checking openssl/opensslv.h usability... yes
 checking openssl/opensslv.h presence... yes
 checking for openssl/opensslv.h... yes
 checking openssl/pem.h usability... yes
 checking openssl/pem.h presence... yes
 checking for openssl/pem.h... yes
 checking openssl/rsa.h usability... yes
 checking openssl/rsa.h presence... yes
 checking for openssl/rsa.h... yes
 checking openssl/sha.h usability... yes
 checking openssl/sha.h presence... yes
 checking for openssl/sha.h... yes
 checking openssl/ssl.h usability... yes
 checking openssl/ssl.h presence... yes
 checking for openssl/ssl.h... yes
 checking for library containing ERR_peek_error... none required
 checking for library containing SSL_library_init... no
 configure: error: Cannot build shared opendkim
                                               against static openssl
 libraries.
                                               Configure with --disable-
 shared
                                               to get this working or
 obtain a
                                               shared libssl library for
                                               opendkim to use.
 }}}

 now, I started by trying adding {{{--disable-shared}}} , but that didn't
 help the issue . What did work was
 {{{
 --with-openssl=${prefix}/lib
 }}}

 which lead to :

 {{{
 checking for OpenSSL includes... no
 checking for OpenSSL library and includes... /macports/lib
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59024>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list