-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing installs via MELPA #80
Comments
Something is definitely off there. Those files are only supposed to be loaded if you already have their dependencies loaded. To take one example, in drupal-mode.el: (eval-after-load 'helm-gtags '(require 'drupal/helm-gtags)) Causes the helm-gtags support to only be loaded after helm-gtags has been loaded. Do you see other references to helm-gtags in the drupal-mode directory apart from that and the file itself? |
Yeah that's what I figured, I just can't understand why Emacs would be trying to load them even though they're not present. But I'm completely new to the built-in packaging system. If I run |
I can reproduce this error even after completely emptying out my (require 'package) ;; You might already have this line
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize) ;; You might already have this line |
Tried installing it via list-packages instead? Doubt it makes much difference though. Tried installing other packages? expand-region and smartparens seems to have a bunch of eval-after-loads too. Hope @arnested has better ideas. |
list-packages behaves no differently. I am able to install expand-region and smartparens just fine. Does emacs store configuration anywhere other than One thing is that Mac installs a very old version of emacs by default (I think 22). I updated it to 25 via Homebrew. Could it be conflicting with the older version somehow? |
Odd indeed.
Emacs doesn't really store configuration as such, per default it loads I'm on Linux, so I don't know much about homebrew, @arnested would know more about that. |
I'll take a look later. Weird problem. |
I'm running Emacs 25 on Mac OS X. I'm trying to install drupal-mode by simply running M-x, package-install, drupal-mode.
It seems that all of drupal-mode's "optional" dependencies are actually required when installed this way, as the install fails with a lot of errors about missing dependencies. I was able to resolve a few of them by installing flymake-phps, ggtags, php-mode, and others (deleting the drupal-mode directory in the .emacs.d/elpa folder each time), but I still can't figure out how to resolve this:
The text was updated successfully, but these errors were encountered: