[MacPorts] #27782: problems with ecb
#27782: problems with ecb ------------------------------+--------------------------------------------- Reporter: pyrios@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: emacs xemacs | Port: ecb ------------------------------+--------------------------------------------- 1. 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 2. 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 -- Ticket URL: <https://trac.macports.org/ticket/27782> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27782: problems with ecb ------------------------------+--------------------------------------------- Reporter: pyrios@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: emacs xemacs | Port: ecb ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * cc: pyrios@… (removed) Old description:
1. 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
2. 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
New description: 1. 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 }}} 2. 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 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/27782#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27782: problems with ecb ------------------------------+--------------------------------------------- Reporter: pyrios@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: emacs xemacs | Port: ecb ------------------------------+--------------------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/27782#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27782: problems with ecb ------------------------------+--------------------------------------------- Reporter: pyrios@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: emacs xemacs | Port: ecb ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [ticket:27782 pyrios@…]:
Opening directory: Permission denied, /opt/local/share/emacs/site-lisp /ecb-images
Fixed in r74657. -- Ticket URL: <https://trac.macports.org/ticket/27782#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27782: problems with ecb ------------------------------+--------------------------------------------- Reporter: pyrios@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: emacs xemacs | Port: ecb ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 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. [[br]] [[br]] (load-file "/opt/local/share/emacs/site-lisp/common/cedet.el") [[br]] (require 'ecb) [[br]] [[br]] 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. -- Ticket URL: <https://trac.macports.org/ticket/27782#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27782: problems with ecb ------------------------------+--------------------------------------------- Reporter: pyrios@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: emacs xemacs | Port: ecb ------------------------------+--------------------------------------------- Comment(by dports@…): Replying to [comment:6 ryandesign@…]:
Replying to [comment:3 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. [[br]] [[br]] (load-file "/opt/local/share/emacs/site-lisp/common/cedet.el") [[br]] (require 'ecb) [[br]] [[br]] 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. -- Ticket URL: <https://trac.macports.org/ticket/27782#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts