Skip to content

Commit

Permalink
Add note about recent versions of pkg-config
Browse files Browse the repository at this point in the history
Older versions of pkg-config will slow the compilation of the gem down
significantly due to RE2 2024-06-01's use of Abseil logging.
  • Loading branch information
mudge committed Jun 5, 2024
1 parent 88f046d commit 020fc80
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,10 @@ You will need a full compiler toolchain for compiling Ruby C extensions (see
[Nokogiri's "The Compiler
Toolchain"](https://nokogiri.org/tutorials/installing_nokogiri.html#appendix-a-the-compiler-toolchain))
plus the toolchain required for compiling the vendored version of RE2 and its
dependency [Abseil][] which includes
[CMake](https://cmake.org) and a compiler with C++14 support such as
[clang](http://clang.llvm.org/) 3.4 or [gcc](https://gcc.gnu.org/) 5. On
dependency [Abseil][] which includes [CMake](https://cmake.org), a compiler
with C++14 support such as [clang](http://clang.llvm.org/) 3.4 or
[gcc](https://gcc.gnu.org/) 5 and a recent version of
[pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/). On
Windows, you'll also need pkgconf 2.1.0+ to avoid [`undefined reference`
errors](https://github.com/pkgconf/pkgconf/issues/322) when attempting to
compile Abseil.
Expand Down

0 comments on commit 020fc80

Please sign in to comment.