Compilando o Emacs 25.1 no Ubuntu 16.04

3

Estou tentando compilar a última versão do emacs no Ubuntu 16.04. Depois de instalar as bibliotecas que eu pude pensar, o script ./configure gera o seguinte:

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -g3 -O2
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          LUCID
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 yes
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use a png library?                           yes -lpng12
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use cairo?                                   no
  Does Emacs use imagemagick?                             yes
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 yes
  Does Emacs use GSettings?                               yes
  Does Emacs use a file notification library?             yes -lglibc (inotify)
  Does Emacs use access control lists?                    yes -lacl
  Does Emacs use -lselinux?                               yes
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              yes
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                no
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets (requires gtk3)?            no

O que eu preciso instalar para cobrir os quatro itens restantes? Especialmente o último seria valioso.

PS. Este script levou-me ao ponto em que estou agora: link

    
por tom4everitt 27.09.2016 / 11:33

1 resposta

4

Com base nos comentários, consegui que o Xwidgets e o Cairo funcionassem. Aqui está o que eu fiz:

Instale bibliotecas gtk3: sudo apt-get install libgtk-3-dev libwebkitgtk-3.0-dev

Configure com ./configure --with-cairo --with-xwidgets --with-x-toolkit=gtk3

Os menus parecem muito mais agradáveis agora! Obrigado!

    
por 28.09.2016 / 06:44