Skip to content

apr-util crypto support fails when apr-util is in a custom location #917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
quanah opened this issue Jul 29, 2015 · 1 comment
Closed

apr-util crypto support fails when apr-util is in a custom location #917

quanah opened this issue Jul 29, 2015 · 1 comment

Comments

@quanah
Copy link

quanah commented Jul 29, 2015

This is likely similar to issue#882

When apr-util is installed into a custom location (such as /opt/zimbra/common), crypto detection fails, even though the crypto header exists:

build@c690:~/p4/zimbra/main/ThirdParty/modsecurity/tmp/RHEL6_64/zimbra-modsecurity/rpm/BUILD/modsecurity-2.9.0$ ls /opt/zimbra/common/include/apr-1/apr_crypto.h
/opt/zimbra/common/include/apr-1/apr_crypto.h

It appears the APU_INCLUDEDIR is not set correctly:

APU_INCLUDEDIR=''

APXS flags are set correctly:

APXS_INCLUDES='-I/opt/zimbra/common/include -I/opt/zimbra/common/include -I. -I/opt/zimbra/common/include/apr-1 -I/opt/zimbra/common/include'

build@c690:/p4/zimbra/main/ThirdParty/modsecurity/tmp/RHEL6_64/zimbra-modsecurity/rpm/BUILD/modsecurity-2.9.0$ /opt/zimbra/common/bin/apr-1-config --includedir
/opt/zimbra/common/include/apr-1
build@c690:
/p4/zimbra/main/ThirdParty/modsecurity/tmp/RHEL6_64/zimbra-modsecurity/rpm/BUILD/modsecurity-2.9.0$ /opt/zimbra/common/bin/apu-1-config --includedir
/opt/zimbra/common/include/apr-1

@quanah
Copy link
Author

quanah commented Jul 29, 2015

Ok, this is related to issue #900

If I add --disable-mlogc, it no longer can find apr and apu

@quanah quanah closed this as completed Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant