Details
Description
`client/mysqltest.cc` and a few others fail to compile on Solaris:
```
/vol/src/mariadb/mariadb-10.11.6/client/mysqltest.cc:49:10: fatal error: pcre2posix.h: No such file or directory
49 | #include "pcre2posix.h" /* pcreposix regex library */
^~~~~~~~~~~~~~ ``` While `pcre2` *is* bundled with Solaris, the headers live in `/usr/include/pcre` instead of cluttering `/usr/include` as happens on (some?) other targets. |
Short of some cmake surgery in `cmake/pcre.cmake`, the easiest way to work around this was to add `-I/usr/include/pcre` to `CFLAGS` and `CXXFLAGS` before invoking `cmake`.
Attachments
Issue Links
- relates to
-
MDEV-34825 FreeBSD fails to build under clang natively
- Closed