unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Building Emacs from git master on macOS Catalina
@ 2019-10-11  0:48 Giorgos Keramidas
  2019-10-11  3:11 ` Carlo Tambuatco
  0 siblings, 1 reply; 6+ messages in thread
From: Giorgos Keramidas @ 2019-10-11  0:48 UTC (permalink / raw)
  To: help-gnu-emacs

Hi everyone,

I recently reinstalled my laptop from scratch, and now I am trying to get
Emacs to build on macOS Catalina, using gnutls library from a local
Homebrew installation from the /opt/brew prefix directory.

To do this I used a shell wrapper around ./configure script with all the
options I'd like to enable:

https://pastebin.com/4kW0bCH0

But then "configure" script runs it fails with a strange error, which I am
not sure how to resolve:

https://pastebin.com/19wwwKMQ

The full output of config.log is this one:

https://pastebin.com/73VK2JrC

and it contains this part for the gnutls failure:

configure:16125: checking for library containing inflateEnd
configure:16156: gcc -o conftest -g3 -O2     conftest.c   >&5
Undefined symbols for architecture x86_64:
  "_inflateEnd", referenced from:
      _main in conftest-fe181b.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
configure:16156: $? = 1

It looks like this should be using -lz while checking for gnutls
availability, but that feels a bit off.  It means gnutls check depends on
the result of libz check. Is this a bug in the configure script, or
something I am doing wrong?

- Giorgos


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-11 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-11  0:48 Building Emacs from git master on macOS Catalina Giorgos Keramidas
2019-10-11  3:11 ` Carlo Tambuatco
2019-10-11  3:27   ` Giorgos Keramidas
2019-10-11  7:16   ` Pankaj Jangid
2019-10-11  9:14     ` VanL
2019-10-11 10:40     ` Unknown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).