tom*_*itt 5 linux emacs compile ubuntu
我正在尝试在 Ubuntu 16.04 上编译最新版本的 emacs。安装我能想到的库后,./configure脚本输出以下内容:
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
Run Code Online (Sandbox Code Playgroud)
我需要安装什么才能覆盖其余四项?特别是最后一个将是有价值的。
附注。这个脚本让我达到了现在的地步:https : //gist.github.com/favadi/18438172892bc4178b27
tom*_*itt 10
根据评论,我让 Xwidgets 和 Cairo 开始工作。这是我所做的:
安装 gtk3 库:
sudo apt-get install libgtk-3-dev libwebkitgtk-3.0-dev
配置
./configure --with-cairo --with-xwidgets --with-x-toolkit=gtk3
菜单现在感觉好多了!谢谢!