php-mode package reports a missing file when installing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs-extra (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: php-mode
Installing the php-mode package (0.1-1ubuntu1) causes the following error to be reported at the end of the installation:
Errors were encountered while processing:
php-mode
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up php-mode (0.1-1ubuntu1) ...
install/php-mode: Handling install for emacsen flavor xemacs21
Compiling /usr/share/
While compiling toplevel forms in file /usr/share/
!! File error (("Cannot open load file" "ezimage"))
>>Error occurred processing php-mode.el: Cannot open load file: ezimage
Compiling /usr/share/
Wrote /usr/share/
Done
emacs-package-
dpkg: error processing php-mode (--configure):
subprocess post-installation script returned error exit status 1
I'm using Ubuntu 8.04.2 (release 8.04)
I went on the forum first (please, have a look at http://
The error still occurs even if I install the emacs21 or emacs22 meta-packages.
The problem is (an annoyance, should I say) that it's all like the php-mode package still remains in the synaptic's installation queue.
So for any other package I try to install thereafter, synaptic will attempt to complete the php-mode every time, but it never succeeds.
Quick googling suggests that installing the cedet-common package might provide this file for you, but that's obviously just a quick and dirty workaround.
Installing emacs21 or emacs22-specific stuff will generally put it in locations where Xemacs21 will not see it. It's not clear to me why the guy on the forum believed that emacs22-common would provide this file, anyways. http:// packages. ubuntu. com/search? searchon= contents& keywords= ezimage. el&mode= exactfilename& suite=intrepid& arch=any says it's only in cedet-common.
It's not obvious to me how this ought to be fixed; should emacs-extra depend on gnumacsen | cedet-common or what? Actually perhaps it could unconditionally depend on cedet-common I suppose, at least as a quick fix.