[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building Emacs from git master on macOS Catalina

From: Giorgos Keramidas
Subject: Building Emacs from git master on macOS Catalina
Date: Thu, 10 Oct 2019 17:48:58 -0700

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:

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

The full output of config.log is this one:

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
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]