#1112020 libpcre2-dev: Builing the package using cmake will install files that are missing currently #1112020
- Package:
- libpcre2-dev
- Source:
- libpcre2-dev
- Description:
- New Perl Compatible Regular Expression Library - development files
- Submitter:
- Maarten L. Hekkelman
- Date:
- 2025-08-29 16:04:02 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, The pcre2 package is currently built using autoconf/configure. The problem with this is that essential cmake configuration files are not installed and thus missing on a regular Debian system. Swithing to using cmake for building and installing fixes this problem. I've included a patch that seems to work on my system.
Hi, I'm afraid I'm not going to switch to using cmake to build the package - upstream doesn't use cmake themselves (the cmake build process is provided as a convenience, and is sometimes buggy). If the standard build is failing to build some cmake config files, that's an upstream issue; if they are present but need installing, then it's a packaging fix. Can you tell me which files are needed where, please? Thanks, Matthew
Hi Matthew, Op 25-08-2025 om 12:52 schreef Matthew Vernon: yup, I found out, see below. The files to be installed are the <package-name>-config.cmake files, using this line from libpcre2-dev.install: debian/tmp/usr/lib/*/cmake/pcre2/pcre2-config*.cmake These files are only created when cmake was used to build the libraries. However, I just found out that these config files don't work as they are supposed to work. So you can close this issue, upstream will have to be fixed first. regards,
Hi, OK, doing so. I'd hope that cmake can find + use a fairly simple library like pcre2 without too much hassle anyway... Regards, Matthew