all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Javier <invalid@invalid.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: troubles compiling emacs26.1 on ubuntu18.04
Date: Sun, 28 Oct 2018 11:49:24 +0000 (UTC)	[thread overview]
Message-ID: <pr47o4$ima$1@gioia.aioe.org> (raw)
In-Reply-To: pr3ve8$5i8$1@nemo.pasdenom.info

Le TeXnicien de Surface <le.texnicien.de.surface@orange.fr> 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



  reply	other threads:[~2018-10-28 11:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-28  9:27 troubles compiling emacs26.1 on ubuntu18.04 Le TeXnicien de Surface
2018-10-28 11:49 ` Javier [this message]
2018-10-28 12:49   ` Le TeXnicien de Surface
2018-10-29 14:08     ` Garreau, Alexandre

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='pr47o4$ima$1@gioia.aioe.org' \
    --to=invalid@invalid.invalid \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.