#59024 closed defect (fixed)
opendkim @2.10.3_2 fails to compile
Reported by: | BjarneDMat | Owned by: | Chih-Hsuan Yen <yan12125@…> |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | haspatch | Cc: | |
Port: | opendkim |
Description
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
Attachments (1)
Change History (4)
Changed 5 years ago by BjarneDMat
Attachment: | patch-Portfile.diff added |
---|
comment:1 Changed 5 years ago by Chih-Hsuan Yen <yan12125@…>
Owner: | set to Chih-Hsuan Yen <yan12125@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)
Thanks for the fix for milter! I applied it besides the fix for the OpenSSL issue.
comment:3 Changed 5 years ago by mf2k (Frank Schima)
Priority: | High → Normal |
---|
The Priority field is for use by Macports team members only, please do not change it.
Note: See
TracTickets for help on using
tickets.
In a6b4f2ae7671dcaa1ca30dee1a42e6226911cfbf/macports-ports (master):