Opened 14 years ago
Last modified 12 years ago
#27782 new defect
problems with ecb
Reported by: | pyrios@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | emacs xemacs | Cc: | drkp (Dan Ports), ryandesign (Ryan Carsten Schmidt), bgschaid@… |
Port: | ecb |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
- ecb-images permissions
After installing ecb and starting emacs, I got this error
Opening directory: Permission denied, /opt/local/share/emacs/site-lisp/ecb-images
The permissions for this directory and all descendents are set to 700
sudo ls -ld /opt/local/share/emacs/site-lisp/ecb-images drwx------ 6 root admin 204 Nov 9 14:29 /opt/local/share/emacs/site-lisp/ecb-images
- cedet dependency
Following the instructions to start ecb, I got an error message that the desired version of cedet was unavailable. It looks like macports is installing a newer version of cedet-devel that ecb can not work with.
(require 'ecb) M-x ecb-active ECB 2.40 - Error: ECB can only be used with cedet [1.0pre6, 1.0.9]! Please install it and restart Emacs!
$ port deps ecb Full Name: ecb @2.40_0 Library Dependencies: emacs, cedet-devel $ port search cedet-devel cedet-devel @1.0pre7 (editors) Infrastructure for parser based text analysis in Emacs
Change History (8)
comment:1 Changed 14 years ago by pyrios@…
Cc: | pyrios@… added |
---|
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | pyrios@… removed |
---|---|
Description: | modified (diff) |
comment:3 follow-up: 6 Changed 14 years ago by pyrios@…
In regards to the cedet dependency.
The error message about the version is a bit of a distraction. There is some extra configuration required for cedet and ecb to work. The following commands need to be executed to be able to use cedet and ecb.
(load-file "/opt/local/share/emacs/site-lisp/common/cedet.el") (require 'ecb)
I put these in my ~/.emacs file. If there is a site wide file that can get updated when the ports are installed, that would be preferable.
comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
comment:6 follow-up: 7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to pyrios@…:
The error message about the version is a bit of a distraction. There is some extra configuration required for cedet and ecb to work. The following commands need to be executed to be able to use cedet and ecb.
(load-file "/opt/local/share/emacs/site-lisp/common/cedet.el")
(require 'ecb)
I put these in my ~/.emacs file. If there is a site wide file that can get updated when the ports are installed, that would be preferable.
I've never used emacs, cedet or ecb so I don't know what to do with this. If you figure out what needs to be changed, let us know; if you can create a patch for the portfile that fixes the problem, and attach it to this ticket, that's even better.
comment:7 Changed 14 years ago by drkp (Dan Ports)
Replying to ryandesign@…:
Replying to pyrios@…:
The error message about the version is a bit of a distraction. There is some extra configuration required for cedet and ecb to work. The following commands need to be executed to be able to use cedet and ecb.
(load-file "/opt/local/share/emacs/site-lisp/common/cedet.el")
(require 'ecb)
I put these in my ~/.emacs file. If there is a site wide file that can get updated when the ports are installed, that would be preferable.I've never used emacs, cedet or ecb so I don't know what to do with this. If you figure out what needs to be changed, let us know; if you can create a patch for the portfile that fixes the problem, and attach it to this ticket, that's even better.
This is currently (if regrettably) the expected behavior for elisp packages: we install and (usually) byte-compile them but don't add anything to load them at runtime. I'd like to change this at some point and set up a systemwide site-start.el file that does the right thing to load each package, but it's complicated a bit by the fact that there are multiple available versions of emacs (emacs, emacs22, emacs-app, emacs-app-devel), some of which can be installed simultaneously.
Cc Me!