From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Carlo Tambuatco Newsgroups: gmane.emacs.help Subject: Re: Building Emacs from git master on macOS Catalina Date: Thu, 10 Oct 2019 23:11:26 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="77801"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: Giorgos Keramidas Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 11 05:12:19 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIlLn-000K7e-OJ for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Oct 2019 05:12:19 +0200 Original-Received: from localhost ([::1]:45412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIlLl-0005CW-D6 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Oct 2019 23:12:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33206) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIlLZ-0005CN-I0 for help-gnu-emacs@gnu.org; Thu, 10 Oct 2019 23:12:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIlLY-0000CU-5c for help-gnu-emacs@gnu.org; Thu, 10 Oct 2019 23:12:05 -0400 Original-Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:43032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIlLX-00008L-V3 for help-gnu-emacs@gnu.org; Thu, 10 Oct 2019 23:12:04 -0400 Original-Received: by mail-oi1-x22d.google.com with SMTP id t84so6786656oih.10 for ; Thu, 10 Oct 2019 20:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DByv5hKFNFCNRi+QpXEvvqtrUSQsHeUzlhi6PT4ri5M=; b=uHMqQJ2Fj2w6dq3K3lTU+frEYl+DY75IjvaVRuLPQTRwgprbkjXCG/RLxJtx5fo5dY qm1EviJbVTS17f0k3mcVH5T9xhCgH/EDA9nERRNwZvtlXIZxhyU56LQ4MPVRK7wCBcHy ZkoTnkHxLHfaN2Dft4NuL0ep0uYfpaZQWRk4HwR0cjSoV2ui3E6hTu5vS9YRyoNfh7F8 8iMJy7KEWJ9dExxt0AqnMTraXJIQKOhFQXLqttk92z+LmnUXu1/TQRzf6wwKPuUuY0JH v0ExFRYerjqXtFoKZoABeBswhaBWtYsFTL3ZHo/copz6QcfF1FBDfpwHygDhTgJWDqAl Py7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DByv5hKFNFCNRi+QpXEvvqtrUSQsHeUzlhi6PT4ri5M=; b=TZckXVL2X75NKWiZcsWbEqhpR8YWStSoDJIRL/KvfLz+UgCgdLnSyFdbBM5gczUvUl x60RhHDqi6eBvIUhdumdyFYuz13ToG+FvSH109PHEdFrLJkntEv6BKpSzdElllmVbobv ZYA6o/PKd/hnCLSDgBSVVJQgqPugyIwj3BtwlTdeYK9kpBuXtNYHvcZMxnboBkSbG4v8 SZo/f6zl+UhrelR8BYt6JRWDdKvFD6d3Q42KxZueTzFrmAwwl8EnQnGq0exTyT/LLJtb sS9vpzPtsferx447HmOolVpQYnrMiMgmExsMQ01p23VCyWKmMx5upVKo/IPi6EuGUdLE u8qA== X-Gm-Message-State: APjAAAWUW6GkEKfIH4wEhzu5GE4L+Wb5DFHG9dG/h+wl4/ZVfcPlaw5j ICIbUcYneF8Zbf/XHOPzgseNjCils6zsaFVYOuk= X-Google-Smtp-Source: APXvYqwJ/RP7m5d4/c4KX4+skK0tDZPVsXlKTFvlZ5cA73XqYVZXmTX5vLKDzNeAdJd0CyZ506hvQ3j94y+svl7JpEw= X-Received: by 2002:aca:cd8d:: with SMTP id d135mr9858264oig.123.1570763522124; Thu, 10 Oct 2019 20:12:02 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::22d X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121638 Archived-At: 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 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 >