Error with pcre2 during starting the service

10 views
Skip to first unread message

Naz

unread,
Jun 3, 2024, 7:43:12 AMJun 3
to Event-Driven Servers
Hello. 
During the installation and starting the tac_plus-ng service had the next problem: 

/event-driven-servers-master/mavis/mavis_parse.c:88:10: fatal error: pcre2.h: No such file or directory
   88 | #include <pcre2.h>
      |          ^~~~~~~~~
compilation terminated.
make[2]: *** [/home/administrator/event-driven-servers-master/Makefile.inc:49: mavis_parse.o] Error 1
make[2]: Leaving directory '/home/administrator/event-driven-servers-master/build/linux-5.15.0-43-generic-x86_64/mavis'
make[1]: *** [GNUmakefile:21: build] Error 2
make[1]: Leaving directory '/home/administrator/event-driven-servers-master/mavis'
make: *** [GNUmakefile:31: dirs] Error 1

Tried to install with command: 
./configure tac_plus-ng --with-pcre2
make 
make install
But got the same problem: 
/event-driven-servers-master/mavis/mavis_parse.c:88:10: fatal error: pcre2.h: No such file or directory
   88 | #include <pcre2.h>
      |          ^~~~~~~~~
compilation terminated.
make[2]: *** [/home/administrator/event-driven-servers-master/Makefile.inc:49: mavis_parse.o] Error 1
make[2]: Leaving directory '/home/administrator/event-driven-servers-master/build/linux-5.15.0-43-generic-x86_64/mavis'
make[1]: *** [GNUmakefile:21: build] Error 2
make[1]: Leaving directory '/home/administrator/event-driven-servers-master/mavis'
make: *** [GNUmakefile:31: dirs] Error 1

Thanks! I will appreciate your help)

Marc Huber

unread,
Jun 3, 2024, 12:30:15 PMJun 3
to event-driv...@googlegroups.com
Hi,

On 03.06.2024 13:43, Naz wrote:
> /event-driven-servers-master/mavis/mavis_parse.c:88:10: fatal error:
> pcre2.h: No such file or directory
>    88 | #include <pcre2.h>
>       |          ^~~~~~~~~
> compilation terminated.

your system doesn't have the PCRE2 development files installed. On
Ubuntu, "apt install libpcre2-dev" should fix that, other distributions
likely differ.

Cheers,

Marc

Reply all
Reply to author
Forward
0 new messages