Benutzer:Rdiez/BuildingEmacsFromSource: Unterschied zwischen den Versionen

Aus /dev/tal
Wechseln zu: Navigation, Suche
(Weiterleitung nach Benutzer:Rdiez/PageRemoved erstellt)
 
Zeile 1: Zeile 1:
{{BenutzerSeitenNichtVeraendernWarnung|rdiez}}
+
#REDIRECT [[Benutzer:Rdiez/PageRemoved]]
 
+
= Building emacs from source =
+
 
+
* Remove all other emacs versions from the system. <br/> Otherwise, you may get confused later on, when the wrong emacs version accidentally starts when double-clicking on some file.
+
 
+
* Download:
+
 
+
  wget http://ftp.gnu.org/gnu/emacs/emacs-24.4.tar.gz
+
  tar -xzf emacs-24.4.tar.gz
+
  cd emacs-24.4
+
 
+
* Install dependencies:
+
 
+
# Satisfy most dependencies automatically.
+
sudo apt-get install build-essential
+
sudo apt-get build-dep emacs24
+
 
+
Apparently that does not satisfy the Xaw3d dependency:
+
  Does Emacs use -lXaw3d?  no
+
But I do not actually know what type of scroll bar or whatever that Xaw3d package is. If you know more, please [[Benutzer:rdiez|drop me a line]].
+
 
+
* Build:
+
 
+
  ./configure --with-x-toolkit=gtk3 --prefix="$HOME/emacs-24.4-bin"
+
  make -j "$(( $(getconf _NPROCESSORS_ONLN) + 1 ))"
+
  make install
+
 
+
* Adjust your system:
+
** Change your $EDITOR shell variable.
+
** Create a KDE shortcut like this: <br/> "$HOME/emacs-24.4-bin/bin/emacs" %F
+
** The icon is here: <br/> $HOME/emacs-24.4-bin/share/icons/hicolor/scalable/apps
+
** Configure double-click file opening like this: <br/> /home/<user>/emacs-24.4-bin/bin/emacsclient --no-wait
+
** If you autostart emacs, adjust that too.
+
** If you have any scripts that use emacs or emacsclient, adjust them too.
+
 
+
== Unresolved issues ==
+
 
+
* See unsatisfied dependency "Xaw3d" above.
+
* With Ubuntu 14.04's emacs 24.3, you can drag-and-drop multiple files at once from a KDE Dolphin window. That does not work anymore. It could be a configuration issue.
+

Aktuelle Version vom 15. Mai 2015, 21:57 Uhr

Weiterleitung nach: