Building Samba 4.14 on CentOS 8.0 and gnutls
realrichardsharpe at gmail.com
Fri Feb 12 14:56:44 UTC 2021
On Thu, Feb 11, 2021 at 11:44 PM Alexander Bokovoy <ab at samba.org> wrote:
> On to, 11 helmi 2021, Richard Sharpe via samba-technical wrote:
> > Hi folks,
> > I am slowly getting Samba to build.
> > The latest problem I hit is this:
> > -------------------
> > Checking compiler accepts ['-Wno-error=unused-result']
> > : yes
> > Using in-tree heimdal kerberos defines
> > Checking for GnuTLS >= 3.4.7
> > : not found
> > ---------------------
> > However, what was required was not gnutls (which was already
> > installed) but gnutls-devel.
> > How can this be fixed?
> By installing corresponding development packages. Almost all checks in
> that configure check do check for a presence of development parts of the
> packages, not just binary libraries. Please follow instructions as
> provided in the other response.
Sure. I eventually got it to build, but my complaint is that the error
message was misleading ...
> Perhaps an easier way would be to install 'yum-utils' if they are
> missing and do
> # yum-builddep samba
Hmmm, learn something new everyday.
> That implies you have source repositories available (they'll be
> automatically enabled for this specific operation) and it would pull
> a list of packages required by the source package.
More information about the samba-technical