On Wed, 7 Jan 2026, Adriaan van Os via fpc-devel wrote:
Trying to build fpc (git) trunk on macOS 14 for SUB_TARGET=unicodertl
[M2:~/fpc-svn/source/packages] administrator% make all
FPC=/usr/local/lib/fpc/3.3.1/ppca64 SUB_TARGET=unicodertl OPT=-dUSEWIDESTRING
which works for the rtl but fails for packages as follows
Compiling ./vcl-compat/src/system.diagnostics.pp
...
Compiling ./vcl-compat/src/system.regularexpressions.pp
Compiling ./vcl-compat/src/system.regularexpressionscore.pp
system.regularexpressionscore.pp(57,7) Fatal: Can't find unit libpcre2_16
used by System.RegularExpressionsCore
Fatal: Compilation aborted
The installer encountered the following error:
Compilation of "units/aarch64-darwin-unicodertl/BuildUnit_vcl_compat.pp"
failed
$0000000104D6C76C
$0000000104D772A0
$0000000104D762C4
$0000000104D775CC
$0000000104D7A908
$0000000104D6B01C
$0000000104D6B760
$0000000104CB188C
$0000000104CD9BEC
$0000000104C30780
$0000000104CB1838
$0000000188937154
make: *** [all] Error 1
Any clues ?
Yes, there is no libpcre2_16 on mac. On mac, libpcre2_8 must be used.
I never got around to correcting the sources for unicodertl.
Please report a bug.
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel