httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Streeter <mstreet...@gmail.com>
Subject [users@httpd] Problem Compiling httpd-2.4.1 with mod_session_crypto
Date Thu, 23 Feb 2012 20:37:21 GMT
Hello,

I'm trying to compile httpd-2.4.1 with mod_session_crypto, but the
configure step errors out:

#./configure --enable-session-crypto --with-included-apr
... snip snip ....
configure: WARNING: Your APR does not include SSL/EVP support.
configure: error: mod_session_crypto cannot be enabled

I have apr-1.4.6 and apr-util-1.4.1 on CentOS 5.7.  I have also tried
building on an older version of Ubuntu with similar results.  Both
machines had Apache 2.2 before, but I don't know if that has anything
to do with it.

My srclib/apr-util/config.log shows what I suspect might be a clue to
the problem:

... snip snip ...
configure:36305: checking style of crypt_r
configure:36322: gcc -c -g -O2 -pthread  -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE conftest.c >&5
conftest.c: In function 'main':
conftest.c:29: error: 'CRYPTD' undeclared (first use in this function)
conftest.c:29: error: (Each undeclared identifier is reported only once
conftest.c:29: error: for each function it appears in.)
conftest.c:29: error: expected ';' before 'buffer'
conftest.c:30: error: 'buffer' undeclared (first use in this function)
configure:36322: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_CODESET 1
| #define APU_DSO_BUILD 1
| #define HAVE_CRYPT_R 1
| /* end confdefs.h.  */
| #include <crypt.h>
| int
| main ()
| {
| CRYPTD buffer;
|   crypt_r("passwd", "hash", &buffer);
|   ;
|   return 0;
| }

Any ideas?  Thank you for any help,
Mike

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message