Próbuję skompilować emacs
na Ubuntu 12.04. To dlatego, że chcę używać Emacsa 24.2.
Jednak pojawia się następujący błąd. Jak mogę to naprawić?
checking for long file names... yes
checking for X... no
checking for X... true
configure: error: You seem to be running X, but no X development libraries
were found. You should install the relevant development files for X
and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support, pass
--without-x
to configure.
sudo apt-get build-dep emacs24
E: You must put some 'source' URIs in your sources.list
, zobacz to pytaniesudo apt-get build-dep emacs25