You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Benson Margulies <be...@basistech.com> on 2012/09/06 15:38:06 UTC

[users@httpd] Building mod_session_crypto, can't seem to get enough crypto

Starting from:

httpd 2.4.3
apr 1.4.6
apr-util 1.4.1

If I build apr 1.4.6 and install it

I build apr-util 1.4.1 after configuring --with-crypto and install it.

I then try to run

./configure --with-apr=/opt/apr-1.4.6
--with-apr-util=/opt/apr-util-1.4.1 --prefix=/opt/apache-httpd-2.4.3
--enable-session-crypto --with-crypto

and I am rewarded with:

configure: WARNING: Your APR does not include SSL/EVP support. To
enable it: configure --with-crypto
configure: error: mod_session_crypto cannot be enabled

Now, 'apr' has no --with-crypto option in its ./configure.

apr-util does, and I used it, and didn't get any errors, but its
config.log has, buried in it:

configure:36220: checking for library containing crypt
configure:36251: gcc -o conftest -g -O2 -pthread  -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE  conftest.c  >&5
/tmp/ccIBnHnD.o: In function `main':
/basis/treez/benson/http/apr-util-1.4.1/conftest.c:35: undefined
reference to `crypt'
collect2: ld returned 1 exit status

I note that man 3 crypt says that you need _XOPEN_SOURCE to get it.

Is this, to begin with, a bug in the httpd configure script that
points at the wrong place for --with-crypto?

Secondly, since I did, in fact, configure with --with-crypto, what
have I got to do to make this work.

All of this is on a centos 5 system

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org