On Fri, Feb 15, 2019 at 5:27 PM John Klann <jk7255@gmail.com> wrote: > Happy to test it, I will need the instructions if you can. It's for Rhel 7.5 Maipo latest. (Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Fri Sep 21 09:07:21 UTC 2018 > x86_64 x86_64 x86_64 GNU/Linux)
Thanks! Use yum to install gcc, make, bison, yacc, git, readline-devel, zlib-devel. (Hope I'm not forgetting anything here...)
Let's say we want to test with the 11 branch (so you can test against an existing 11.x development environment database you might have installed the usual way with packages, as opposed to the master branch where we are developing 12). Switch to that branch:
$ git checkout REL_11_STABLE
Create a new branch for this experiment:
$ git checkout -b tolerate-einval
Apply the patch (adjust path to wherever you put the patch):
$ git am 0001-Tolerate-EINVAL-when-calling-fsync-on-a-directory.patch
Configure, build, install (the prefix is where it will install the resulting binaries, adjust to taste, -j is how many CPUs you have if you want to build fast):