Re: util_pcre.c:58:10: fatal error: pcre.h: No such file or directory

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

 




I have installed the latest libraries with the latest  Apache.

How am I supposed to know  which library corresponds to Apache 2.4.46 ?



back.button@xxxxxxx


-----Original Message-----
From: Nick Folino <nick@xxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx; back Button <back.button@xxxxxxx>
Sent: Wed, 28 Apr 2021 23:23
Subject: Re: util_pcre.c:58:10: fatal error: pcre.h: No such file or directory

Install the correct libraries.

On Wed, Apr 28, 2021 at 6:18 PM back Button <back.button@xxxxxxx.invalid> wrote:

running  make to build  Apache 2.4.46

It is true there is no file  pcre.h. but I do have a pcre2.h

so this is what I did hoping the missing dependency would be taken care of.
 sudo ln -s /usr/local/pcre/include/pcre2.h /usr/include/
It didn't take care of the issue

before running make this was my /configure which did work.

 ./configure --with-included-apr=/usr/local/apr  --with-pcre=/usr/local/pcre/bin/pcre2-config

What can I do about this missing c header library file. ?

httpd-2.4.46 $ make
Making all in srclib
make[1]: Entering directory '/home/pi/Downloads/httpd-2.4.46/srclib'
make[1]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/srclib'
Making all in os
make[1]: Entering directory '/home/pi/Downloads/httpd-2.4.46/os'
Making all in unix
make[2]: Entering directory '/home/pi/Downloads/httpd-2.4.46/os/unix'
make[3]: Entering directory '/home/pi/Downloads/httpd-2.4.46/os/unix'
make[3]: Nothing to be done for 'local-all'.
make[3]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/os/unix'
make[2]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/os/unix'
make[1]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/os'
Making all in server
make[1]: Entering directory '/home/pi/Downloads/httpd-2.4.46/server'
Making all in mpm
make[2]: Entering directory '/home/pi/Downloads/httpd-2.4.46/server/mpm'
Making all in event
make[3]: Entering directory '/home/pi/Downloads/httpd-2.4.46/server/mpm/event'
make[4]: Entering directory '/home/pi/Downloads/httpd-2.4.46/server/mpm/event'
make[4]: Nothing to be done for 'local-all'.
make[4]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/server/mpm/event'
make[3]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/server/mpm/event'
make[2]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/server/mpm'
make[2]: Entering directory '/home/pi/Downloads/httpd-2.4.46/server'
/usr/share/apr-1.0/build/libtool --silent --mode=compile arm-linux-gnueabihf-gcc  -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE     -I. -I/home/pi/Downloads/httpd-2.4.46/os/unix -I/home/pi/Downloads/httpd-2.4.46/include -I/usr/include/apr-1.0 -I/usr/include -I/usr/local/pcre/include -I/home/pi/Downloads/httpd-2.4.46/modules/aaa -I/home/pi/Downloads/httpd-2.4.46/modules/cache -I/home/pi/Downloads/httpd-2.4.46/modules/core -I/home/pi/Downloads/httpd-2.4.46/modules/database -I/home/pi/Downloads/httpd-2.4.46/modules/filters -I/home/pi/Downloads/httpd-2.4.46/modules/ldap -I/home/pi/Downloads/httpd-2.4.46/modules/loggers -I/home/pi/Downloads/httpd-2.4.46/modules/lua -I/home/pi/Downloads/httpd-2.4.46/modules/proxy -I/home/pi/Downloads/httpd-2.4.46/modules/http2 -I/home/pi/Downloads/httpd-2.4.46/modules/session -I/home/pi/Downloads/httpd-2.4.46/modules/ssl -I/home/pi/Downloads/httpd-2.4.46/modules/test -I/home/pi/Downloads/httpd-2.4.46/server -I/home/pi/Downloads/httpd-2.4.46/modules/md -I/home/pi/Downloads/httpd-2.4.46/modules/arch/unix -I/home/pi/Downloads/httpd-2.4.46/modules/dav/main -I/home/pi/Downloads/httpd-2.4.46/modules/generators -I/home/pi/Downloads/httpd-2.4.46/modules/mappers  -prefer-non-pic -static -c util_pcre.c && touch util_pcre.lo
util_pcre.c:58:10: fatal error: pcre.h: No such file or directory
 #include "pcre.h"
          ^~~~~~~~
compilation terminated.
make[2]: *** [/home/pi/Downloads/httpd-2.4.46/build/rules.mk:206: util_pcre.lo] Error 1
make[2]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/server'
make[1]: *** [/home/pi/Downloads/httpd-2.4.46/build/rules.mk:75: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/Downloads/httpd-2.4.46/server'
make: *** [/home/pi/Downloads/httpd-2.4.46/build/rules.mk:75: all-recursive] Error 1





[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