From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Javier Newsgroups: gmane.emacs.help Subject: Re: troubles compiling emacs26.1 on ubuntu18.04 Date: Sun, 28 Oct 2018 11:49:24 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 X-Trace: blaine.gmane.org 1540727311 21292 195.159.176.226 (28 Oct 2018 11:48:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2018 11:48:31 +0000 (UTC) User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 12:48:27 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGjYQ-0005R9-Up for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2018 12:48:27 +0100 Original-Received: from localhost ([::1]:39696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGjaX-0007bO-9x for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2018 07:50:37 -0400 X-Received: by 2002:a1c:c90d:: with SMTP id f13-v6mr1606250wmb.5.1540727366470; Sun, 28 Oct 2018 04:49:26 -0700 (PDT) X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63 Original-Path: usenet.stanford.edu!r123-v6no3613403wmd.0!news-out.google.com!m141-v6ni16875wmd.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!nntpfeed.proxad.net!news.muarf.org!news.uzoreto.com!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: aPJVVR0E0beUwQdJulDzVg.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.3 Original-Xref: usenet.stanford.edu gnu.emacs.help:224338 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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:118467 Archived-At: Le TeXnicien de Surface wrote: > hello all > > I'm trying to compile emacs26.1 on my ubuntu18.04 > the configuration stage works well > I've just got a warning about GTK+ and a possible crash > in case of many instances > The make phase stalls with this message: > > ... The default build has too many dependencies. If you want to get something compiled without much hassle just disable dependencies in the build. It looks like you are using libcairo, which is experimental. What options are you using for ./configure? Look at ./configure --help ./configure --help | grep -i cairo --with-cairo compile with Cairo drawing (experimental) CAIRO_CFLAGS C compiler flags for CAIRO, overriding pkg-config CAIRO_LIBS linker flags for CAIRO, overriding pkg-config Also try a lighter toolkit. --with-x-toolkit=KIT (KIT one of: yes or gtk, gtk2, gtk3, lucid or athena, motif, no) Try --with-x-toolkit=lucid and if that doesn't work you can still use --with-x-toolkit=no (terminal only). --with-sound=no is also worth trying. wget http://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.xz tar xJvf emacs-26.1.tar.xz cd emacs-26.1 ./configure --help ./configure --prefix=/usr/local ; make ; make install You may also want to look at this thread. There libpng was the problem. https://gnu.emacs.help.narkive.com/XsRHCibV/ubuntu-font-of-wisdom#post1