All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeffrey Walton <noloader@gmail.com>
To: Git List <git@vger.kernel.org>
Subject: Git and PCRE2 vs PCRE?
Date: Thu, 30 Mar 2017 16:59:27 -0400	[thread overview]
Message-ID: <CAH8yC8kOeuVjvoeg0WsSfDeakJh_es2xhYK_O_bM87DEBVcB1w@mail.gmail.com> (raw)

Some more 2.12.2 testing on Solaris 11.3 x86_64:

    ...
    CC ident.o
    CC kwset.o
    CC line-log.o
    CC levenshtein.o
    CC line-range.o
    CC list-objects.o
In file included from revision.h:5:0,
                 from line-log.c:10:
grep.h:5:18: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
                  ^
compilation terminated.
gmake: *** [line-log.o] Error 1


Configure has an option for libpcre, but its not clear to me how to
fine tune it for libpcre2:

$ ./configure --help | /usr/gnu/bin/grep -A 2 -i pcre
  --with-libpcre          support Perl-compatible regexes (default is NO)
                          ARG can be also prefix for libpcre library and
                          headers

Is it possible to use PCRE2 with Git? If so, how do I tell Git to use PCRE2?

Thanks in advance.

**********

$ ls /usr/local/include/pcre*
/usr/local/include/pcre2.h       /usr/local/include/pcre2posix.h

$ ls /usr/local/lib64/libpcre*
/usr/local/lib64/libpcre2-16.a
/usr/local/lib64/libpcre2-16.la
/usr/local/lib64/libpcre2-16.so
/usr/local/lib64/libpcre2-16.so.0
/usr/local/lib64/libpcre2-16.so.0.5.0
/usr/local/lib64/libpcre2-32.a
/usr/local/lib64/libpcre2-32.la
/usr/local/lib64/libpcre2-32.so
/usr/local/lib64/libpcre2-32.so.0
/usr/local/lib64/libpcre2-32.so.0.5.0
/usr/local/lib64/libpcre2-8.a
/usr/local/lib64/libpcre2-8.la
/usr/local/lib64/libpcre2-8.so
/usr/local/lib64/libpcre2-8.so.0
/usr/local/lib64/libpcre2-8.so.0.5.0
/usr/local/lib64/libpcre2-posix.a
/usr/local/lib64/libpcre2-posix.la
/usr/local/lib64/libpcre2-posix.so
/usr/local/lib64/libpcre2-posix.so.1
/usr/local/lib64/libpcre2-posix.so.1.0.1

             reply	other threads:[~2017-03-30 20:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-30 20:59 Jeffrey Walton [this message]
2017-03-30 21:22 ` Git and PCRE2 vs PCRE? Jeff King
2017-03-30 21:23 ` Junio C Hamano
2017-03-30 22:04   ` Jeffrey Walton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH8yC8kOeuVjvoeg0WsSfDeakJh_es2xhYK_O_bM87DEBVcB1w@mail.gmail.com \
    --to=noloader@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.