MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU Readline 32-bit HOME PCRE2 32-bit »

PCRE2 64-bit

Name: PCRE2 64-bit
Summary: Perl-compatible regular expression library
License: BSD-3-Clause with PCRE2-exception
Version: 10.46
URL: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.46/pcre2-10.46.tar.gz

Average Build Time: 0.5 SBU
Used Install Space: 20 MiB

Configuration

To configure PCRE2 64-bit for install into the build root, run the following command:

./configure --prefix=/usr                       \
            --libdir=/usr/lib64                 \
            --libexecdir=/usr/lib64             \
            --docdir=/usr/share/doc/pcre2-10.45 \
            --enable-unicode                    \
            --enable-jit                        \
            --enable-pcre2-16                   \
            --enable-pcre2-32                   \
            --enable-pcre2grep-libz             \
            --enable-pcre2grep-libbz2           \
            --enable-pcre2test-libreadline      \
            --disable-static

Compilation and Installation

To compile PCRE2 64-bit, run the following command:

make

Next, run the test suite:

make check

Finally, to install PCRE2 64-bit into the build tree, run the following command:

make install
rm -fv /usr/lib64/libpcre2-*.la

NOTE: Do not delete the unpacked sources

Contents  
Installed Programs pcre2grep and pcre2test
Installed Libraries libpcre2-8.so, libpcre2-16.so, libpcre2-32.so, and libpcre2-posix.so
Navigation    
« GNU Readline 32-bit HOME PCRE2 32-bit »