5
1
I'm trying to compile the latest version of emacs on Ubuntu 16.04.
After installing the libraries I could think of, the ./configure
script outputs the following:
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
What do I need to install in order to cover the remaining four items? Especially the last one would be valuable.
PS. This script got me to the point I am now: https://gist.github.com/favadi/18438172892bc4178b27
Run configure help and see if there is a command-line option to force a particular feature that you believe you are missing. You may not necessarily need (or ever use) every single possible feature. – lawlist – 2016-09-27T16:31:52.503
Does "apt-get build-dep emacs24" help? Otherwise I think you should have easy time tracking down devel packs for gtk3 and cairo if you use Synaptic package manager. You do want those--open door to cool new emacs features! I fear pull down menus and buttons will not work well without gtk3 devel headers. Cairo is for graphics inside buffers. Xwidgets leads to major gui enhancement potential in web browser. I saw one example with nice souped up chooser widgets in a browser view. Beaware of danger that rerunning config may not clear out previous fail. Sometimes dramatic cleanup needed. – pauljohn32 – 2016-09-28T04:06:05.013
Thanks, that largely did it. I've now got cairo and xwidgets. Only missing xaw3d, dynamic modules, mmap(2), and relocating allocator, non of which I really know what they're doing. – tom4everitt – 2016-09-28T04:46:59.000