unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Giorgos Keramidas <gkeramidas@gmail.com>
To: Carlo Tambuatco <oraclmaster@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Building Emacs from git master on macOS Catalina
Date: Thu, 10 Oct 2019 20:27:48 -0700	[thread overview]
Message-ID: <CAKR2__1J0T+OyX_J7bU-3XrrnnRvDwKomvGftZ4FVAMzouKpjw@mail.gmail.com> (raw)
In-Reply-To: <CAJb92ExkGjS21PBJenT0hx_VpbHrKvqauwU8vksfnFf+ZGzfyQ@mail.gmail.com>

Thank you Carlo,

It also fails with similar errors, but I'll hunt down a bit more.  I
suspect my
local version of Xcode tools is not correctly installed, and somehow ends up
breaking dynamic linking.

I will report back here, if I find anything on my own.

El jue., 10 de oct. de 2019 a la(s) 20:12, Carlo Tambuatco (
oraclmaster@gmail.com) escribió:
>
> You probably know this already, but emacs is also available to install
via Homebrew, on macOS Catalina,
> in case you want to take the easy way out...
>
>
> On Thu, Oct 10, 2019 at 8:54 PM Giorgos Keramidas <gkeramidas@gmail.com>
wrote:
>>
>> 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



--
Giorgos Keramidas ∙ gkeramidas@gmail.com


  reply	other threads:[~2019-10-11  3:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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__1J0T+OyX_J7bU-3XrrnnRvDwKomvGftZ4FVAMzouKpjw@mail.gmail.com \
    --to=gkeramidas@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=oraclmaster@gmail.com \
    /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).