From: Giorgos Keramidas <gkeramidas@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Building Emacs from git master on macOS Catalina
Date: Thu, 10 Oct 2019 17:48:58 -0700 [thread overview]
Message-ID: <CAKR2__1e_SFnOm=CbBf5xFKkjDe24wh87tQhYsHmayt4iuxVPw@mail.gmail.com> (raw)
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
next reply other threads:[~2019-10-11 0:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-11 0:48 Giorgos Keramidas [this message]
2019-10-11 3:11 ` Building Emacs from git master on macOS Catalina 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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKR2__1e_SFnOm=CbBf5xFKkjDe24wh87tQhYsHmayt4iuxVPw@mail.gmail.com' \
--to=gkeramidas@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).