Building mod_session_crypto, can't seem to get enough crypto

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux