PDA

View Full Version : Problems installing global for Emacs



jazzgossen
May 29th, 2007, 03:16 PM
I want to install the "global" package (including gtags) from the repositories, but I can't. See the output below (some text is in Swedish, but the important stuff and the error messages are in English).



$ sudo apt-get install global
Password:
Läser paketlistor... Färdig
Bygger beroendeträd
Läser in tillståndsinformation... Färdig
Föreslagna paket:
apache httpd id-utils
Följande NYA paket kommer att installeras:
global
0 uppgraderade, 1 nyinstallerade, 0 att ta bort och 0 ej uppgraderade.
Behöver hämta 378kB arkiv.
Efter uppackning kommer 963kB ytterligare diskutrymme användas.
Läs:1 http://archive.ubuntu.com feisty/universe global 4.8.6-2 [378kB]
Hämtade 378kB på 1s (378kB/s)
Väljer tidigare ej valt paket global.
(Läser databasen ... 188816 filer och kataloger installerade.)
Packar upp global (från .../global_4.8.6-2_i386.deb) ...
Ställer in global (4.8.6-2) ...
install/global: byte-compiling for emacs-snapshot
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading /etc/emacs-snapshot/site-start.d/50auctex.el (source)...
Loading /usr/share/emacs/23.0.0/site-lisp/auctex.el (source)...
Loading /usr/share/emacs/23.0.0/site-lisp/preview-latex.el (source)...
Loading /etc/emacs/site-start.d/50cmake.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Skipping dictionaries-common setup for emacs-snapshot
Loading /etc/emacs/site-start.d/50global.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...

In end of data:
gtags.el:541:1:Warning: the function `event-point' is not known to be defined.
Wrote /usr/share/emacs-snapshot/site-lisp/global/gtags.elc
install/global: byte-compiling for emacs21
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading 50auctex (source)...
Loading auctex.el (source)...
Loading /usr/lib/emacs/21.4/i486-linux-gnu/fns-21.4.1-x.el (source)...
Loading preview-latex.el (source)...
Loading 50cmake (source)...
Loading 50dictionaries-common (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading 50global (source)...
Loading 50psvn (source)...
While compiling the end of the data in file /usr/share/emacs21/site-lisp/global/gtags.el:
** The function `event-point' is not known to be defined.
Wrote /usr/share/emacs21/site-lisp/global/gtags.elc
Done


So the error is that the function event-point isn't defined. Has anyone else seen this problem?

I have two copies of Emacs installed: GNU Emacs 21.4.1 (the emacs21 package) and GNU Emacs 23.0.0.1 (the emacs-snapshot-gtk package). Could that be part of the problem?