One of my guys uses fedora 27 at his place, and he’s having a miserable time trying to get bk-7.3.2 built on this.
Any suggestions? He checked out the code from git, and the build fails because he doesn’t already have bk. He tries an earlier version of BK, and that fork-bombs on him.
I’m installing a fedora 27 workstation VM to see if I can get something going, but I wanted to get this thread started. I’ll be updating this with information as my efforts progress.
OK, sorry I can’t cut/paste. When I try and build, I get a compiler error about a redefinition/incompatibility with FILE on line 10 of fslayer/fslayer_open_stub.c
Also, the requirement about pcre3 is confusing, as that doesn’t appear to be a commonly-used package.
The problem is that the system definition of FILE comes from /usr/include/bits/types/FILE.h, and that definition conflicts with BK’s version in libc/stdio.h .
Ah. That problem sounds familiar. It was it common to all versions of Linux with a newer kernel. The fix for that is in the ‘dev’ repository at bk://bkbits.net/bk/dev
Also if you build for a checkout of the full repository then the pcre3 source is included. We didn’t include the optional components in the git repository.
In that machine, I rsync’d over a bk repository with a clone of bk://bkbits.net/bk/dev
Any machine with gcc v7 will need the new changes in bk to build. I haven’t released them because it doesn’t improve bk in any way and the existing installers work fine.
Next I installed the following packages: yum install gcc make gperf bison flex groff pcre-devel libtomcrypt-devel libtommath-devel lz4-devel zlib-devel libXft-devel
After that just running make created working bk and make image creates an install image.