Saya mencoba mengkompilasi versi terbaru emacs di Ubuntu 16.04.
Setelah menginstal perpustakaan saya bisa memikirkan, ./configure
script menghasilkan yang berikut:
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
Apa yang harus saya instal untuk menutupi empat item yang tersisa? Terutama yang terakhir akan sangat berharga.
PS. Script ini membuat saya sampai pada titik saya sekarang: https://gist.github.com/favadi/18438172892bc4178b27
Jawaban:
Berdasarkan komentar, saya membuat Xwidgets dan Kairo berfungsi. Inilah yang saya lakukan:
Instal pustaka gtk3:
sudo apt-get install libgtk-3-dev libwebkitgtk-3.0-dev
Konfigurasikan dengan
./configure --with-cairo --with-xwidgets --with-x-toolkit=gtk3
Menu merasa jauh lebih baik sekarang! Terima kasih!
sumber
libwebkit2gtk-4.0-dev