From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jean Louis <bugs@gnu.support>
Cc: 47159@debbugs.gnu.org
Subject: bug#47159: 28.0.50; gnutls not recognized in build process without pkg-config
Date: Thu, 18 Mar 2021 06:52:16 +0100 [thread overview]
Message-ID: <87sg4trotr.fsf@gnus.org> (raw)
In-Reply-To: <8635wwfuit.fsf@protected.rcdrun.com> (Jean Louis's message of "Mon, 15 Mar 2021 15:53:14 +0300")
Jean Louis <bugs@gnu.support> writes:
> Emacs' configure was complaining that gnutls cannot be found. But it was
> there.
>
> By chance I was thinkin that build process maybe uses pkg-config, so I
> have installed pkg-config as package. The build process then continued
> and could find gnutls.
I can reproduce this on Debian/bullseye, too. I removed pkg-config and
ran ./configure. It says:
configure: error: The following required libraries were not found:
libtiff gnutls
Maybe some development libraries/packages are missing?
To build anyway, give:
--with-tiff=ifavailable --with-gnutls=ifavailable
as options to configure.
"sudo apt install pkg-config" and then ./configure
--with-tiff=ifavailable allowed me to build Emacs.
I can't see any explicit checks for pkg-config in configure.ac.
I'm wondering whether this is a packaging error. Most of the other
devel packages depend on pkg-config, so it'll be pulled in automatically
(which is probably why this hasn't been an issue before). But
gnutls-dev does not depend on pkg-config.
So I guess we should just add a check for pkg-config in the gnutls
check? Any opinions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-03-18 5:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 12:53 bug#47159: 28.0.50; gnutls not recognized in build process without pkg-config Jean Louis
2021-03-18 5:52 ` Lars Ingebrigtsen [this message]
2021-03-18 10:59 ` Jean Louis
2021-03-18 11:24 ` Eli Zaretskii
2021-03-19 9:09 ` Jean Louis
2021-03-19 11:46 ` Eli Zaretskii
2021-03-18 11:22 ` Eli Zaretskii
2021-03-18 15:26 ` Glenn Morris
2021-03-19 7:59 ` Lars Ingebrigtsen
2021-03-20 6:44 ` Jean Louis
2021-03-20 7:52 ` Lars Ingebrigtsen
2021-03-21 13:39 ` Jean Louis
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=87sg4trotr.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=47159@debbugs.gnu.org \
--cc=bugs@gnu.support \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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.