<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>38383</bug_id>
          
          <creation_ts>2020-04-25 06:45:30 +0300</creation_ts>
          <short_desc>Could NOT find PCRE</short_desc>
          <delta_ts>2020-04-25 21:17:28 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p9</product>
          <component>libpcre-devel</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Леонид Мощницын">alabar2015</reporter>
          <assigned_to name="qa-team@altlinux.org">qa-team</assigned_to>
          
          
          <qa_contact name="qa-p9@altlinux.org">qa-p9</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>189432</commentid>
    <comment_count>0</comment_count>
    <who name="Леонид Мощницын">alabar2015</who>
    <bug_when>2020-04-25 06:45:30 +0300</bug_when>
    <thetext>Возникшая ошибка описана https://github.com/OpenXRay/xray-16/issues/581.
Считают, что необходим просто пакет libpcre 

--prefix=/usr
--enable-unicode-properties
--enable-pcre16
--enable-pcre32
--enable-jit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>189434</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2020-04-25 21:17:28 +0300</bug_when>
    <thetext>/usr/include/pcre/pcre.h        libpcre-devel

Для правильного определения PCRE надо установить пакет libpcre-devel и воспользоваться pkg-config:
[builder@localhost .in]$ pkg-config --list-all | grep pcre
libpcre      libpcre - PCRE - Perl compatible regular expressions C library with 8 bit character support
libpcre16    libpcre16 - PCRE - Perl compatible regular expressions C library with 16 bit character support
libpcreposix libpcreposix - PCREPosix - Posix compatible interface to libpcre

[builder@localhost .in]$ pkg-config --cflags libpcre
-I/usr/include/pcre

[builder@localhost .in]$ pkg-config --libs libpcre
-lpcre

Библиотека на штатном месте, инклюдники автоматически определяются через pkg-config --cflags libpcre

Информация о пакете в p9: https://packages.altlinux.org/en/p9/srpms/pcre/rpms

Авторам движка явно надо задействовать поиск путей и флагов через CMake/pkgconfig, как это делают другие, а вам — просто установить пакет  libpcre-devel.

Пример поиска pcre через CMake есть, к примеру в Blender: https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/build_files/cmake/Modules/FindPCRE.cmake</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>