From liuyuhui at kingmed.com.cn Mon Apr 17 12:33:21 2017 From: liuyuhui at kingmed.com.cn (liuyuhui at kingmed.com.cn) Date: Mon, 17 Apr 2017 18:33:21 +0800 Subject: [mod_gnutls-devel] I cannot find the file apr_escape.h Message-ID: <201704171833159227779@kingmed.com.cn> Hello: When I try to install mod_gnutls, I met a trouble like below: [root at ca mod_gnutls-0.8.2]# ./configure --prefix=/usr ...... Configuration summary for mod_gnutls: * mod_gnutls version: 0.8.2 * Apache Modules directory: /usr/lib64/httpd/modules * GnuTLS Library version: 3.5.10 * SRP Authentication: yes * MSVA Client Verification: no * Build documentation: no --- [root at ca mod_gnutls-0.8.2]# make check ...... libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -I/usr/include/apr-1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -Wall -Werror -Wextra -g -O2 -MT mod_gnutls_la-gnutls_cache.lo -MD -MP -MF .deps/mod_gnutls_la-gnutls_cache.Tpo -c gnutls_cache.c -fPIC -DPIC -o .libs/mod_gnutls_la-gnutls_cache.o gnutls_cache.c:55:24: fatal error: apr_escape.h: No such file or directory #include ^ compilation terminated. make[1]: *** [mod_gnutls_la-gnutls_cache.lo] Error 1 make[1]: Leaving directory `/root/mod_gnutls-0.8.2/src' make: *** [check-recursive] Error 1 Then, I cannot find the file apr_escape.h: [root at ca mod_gnutls-0.8.2]# find / -name "*apr_escape*" -type f The find result is empty. [root at ca mod_gnutls-0.8.2]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 (Maipo) What shoud I do ? Thanks. ??? ???????????IT? ????5700 ???13533116161 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkg at fifthhorseman.net Mon Apr 17 20:08:56 2017 From: dkg at fifthhorseman.net (Daniel Kahn Gillmor) Date: Mon, 17 Apr 2017 14:08:56 -0400 Subject: [mod_gnutls-devel] I cannot find the file apr_escape.h In-Reply-To: <201704171833159227779@kingmed.com.cn> References: <201704171833159227779@kingmed.com.cn> Message-ID: <87k26iaouf.fsf@fifthhorseman.net> On Mon 2017-04-17 18:33:21 +0800, liuyuhui at kingmed.com.cn wrote: > Hello: > > When I try to install mod_gnutls, I met a trouble like below: > > [root at ca mod_gnutls-0.8.2]# ./configure --prefix=/usr > ...... > Configuration summary for mod_gnutls: > > * mod_gnutls version: 0.8.2 > * Apache Modules directory: /usr/lib64/httpd/modules > * GnuTLS Library version: 3.5.10 > * SRP Authentication: yes > * MSVA Client Verification: no > * Build documentation: no > > --- > [root at ca mod_gnutls-0.8.2]# make check > ...... > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -I/usr/include/apr-1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -Wall -Werror -Wextra -g -O2 -MT mod_gnutls_la-gnutls_cache.lo -MD -MP -MF .deps/mod_gnutls_la-gnutls_cache.Tpo -c gnutls_cache.c -fPIC -DPIC -o .libs/mod_gnutls_la-gnutls_cache.o > gnutls_cache.c:55:24: fatal error: apr_escape.h: No such file or directory > #include > ^ > compilation terminated. > make[1]: *** [mod_gnutls_la-gnutls_cache.lo] Error 1 > make[1]: Leaving directory `/root/mod_gnutls-0.8.2/src' > make: *** [check-recursive] Error 1 > > Then, I cannot find the file apr_escape.h: > > [root at ca mod_gnutls-0.8.2]# find / -name "*apr_escape*" -type f > The find result is empty. > > [root at ca mod_gnutls-0.8.2]# cat /etc/redhat-release > Red Hat Enterprise Linux Server release 7.3 (Maipo) > > What shoud I do ? Thanks. do you have the libapr-devel or libapr1-devel package installed? On debian and debian-derived systems, the package that contains these development header filess is called libapr1-dev, and it places them in /usr/include/apr-1.0/ -- i don't have enough experience with RHEL 7.3 to know exactly where they would be placed on that version of that distribution. hth, --dkg