Re: [PR] Include <openssl/engine> only if we want use en gine API [apr]

uhliarik (via GitHub) <[email protected]>
Newsgroups gmane.comp.apache.apr.devel
Message-ID <PR_kwDOAAJ05c52wBNc-ae8e329c-6b10-48f8-94f1-fb205966f96d@gitbox.apache.org>
uhliarik commented on PR #58:
URL: https://github.com/apache/apr/pull/58#issuecomment-2256007037

   On Fedora where `<openssl/engine.h>` is not available, build was failing:
   
   ```make[1]: Entering directory '/builddir/build/BUILD/apr-util-1.6.3-build/apr-util-1.6.3'
   /bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/builddir/build/BUILD/apr-util-1.6.3-build/apr-util-1.6.3/include -I/builddir/build/BUILD/apr-util-1.6.3-build/apr-util-1.6.3/include/private -I/usr/include -I/usr/include/mysql -I/usr/include
 /mysql/mysql  -I/usr/include/apr-1    -o crypto/apr_crypto_openssl.lo -c crypto/apr_crypto_openssl.c && touch crypto/apr_crypto_openssl.lo
   make[1]: Leaving directory '/builddir/build/BUILD/apr-util-1.6.3-build/apr-util-1.6.3'
   crypto/apr_crypto_openssl.c:35:10: fatal error: openssl/engine.h: No such file or directory
      35 | #include <openssl/engine.h>
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.