Skip to content
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

unable to install cedet from master and stable branch #529

Closed
mminutoli opened this issue Feb 2, 2012 · 4 comments
Closed

unable to install cedet from master and stable branch #529

mminutoli opened this issue Feb 2, 2012 · 4 comments

Comments

@mminutoli
Copy link

I am using emacs 24 and this is what I get:

Wrote /home/mminutoli/.emacs.d/el-get/.loaddefs.el
(No changes need to be saved) [2 times]
el-get: byte-compiling autoload file
Compiling /home/mminutoli/.emacs.d/el-get/.loaddefs.el...done
Wrote /home/mminutoli/.emacs.d/el-get/.loaddefs.elc
error in process sentinel: el-get-installation-failed: Symbol's function definition is void: inversion-test
error in process sentinel: Symbol's function definition is void: inversion-test

@To1ne
Copy link
Contributor

To1ne commented Feb 8, 2012

Same problem. I'm not sure it is el-get related. The status in .status.el indicates "installed".

Debugger entered--Lisp error: (void-function inversion-test) inversion-test(emacs "22.0") byte-code("\300\301\302\"\203 \303\304\305\"\210\202 \303\304\306\"\210\307\310!\204%\311\310\312\313#\210\303\310\314\"\210\300\207" [inversion-test emacs "22.0" defalias cedet-split-string cedet-split-string-1 split-string fboundp with-no-warnings put lisp-indent-function 0 #[(&rest body) "\301 !@\207" [body last] 2 "Copied from with-no-warnings' in Emacs 23.\nLike progn', but prevents compiler warnings in the body.\nNote: Doesn't work if this version is being loaded."]] 4) load("/home/tokdev/.emacs.d/el-install/.loaddefs" nil t) el-get-load-fast("/home/tokdev/.emacs.d/el-install/.loaddefs.el") (progn (el-get-verbose-message "el-get: evaluating autoload file") (el-get-load-fast el-get-autoload-file)) (if (and el-get-generate-autoloads (file-exists-p el-get-autoload-file)) (progn (el-get-verbose-message "el-get: evaluating autoload file") (el-get-load-fast el-get-autoload-file))) (when (and el-get-generate-autoloads (file-exists-p el-get-autoload-file)) (el-get-verbose-message "el-get: evaluating autoload file") (el-get-load-fast el-get-autoload-file)) el-get-eval-autoloads()

@To1ne
Copy link
Contributor

To1ne commented Feb 10, 2012

I've done some research.
One problem I've encountered:
cedet.rcp contains:

:load-path ("./common" "speedbar")

But the problem is, these directories should be added to the load-path before .loaddef.el is evaluated.
This does not solve everything, but it's a start.

@To1ne
Copy link
Contributor

To1ne commented Feb 13, 2012

I've added this to my init.el before calling (el-get):

(let ((cedet-dir (expand-file-name "cedet" el-get-dir)))
  (add-to-list 'load-path (expand-file-name
                           "common" cedet-dir))
  (add-to-list 'load-path (expand-file-name
                           "speedbar" cedet-dir))
  (require 'inversion nil t))

It's not the best solutions, but it works.

@ghost
Copy link

ghost commented Apr 15, 2012

got same error :

Debugger entered--Lisp error: (void-function inversion-test)
inversion-test(emacs "22.0")

stack:
load("/.emacs.d/el-get/.loaddefs" nil t)
el-get-load-fast("
/.emacs.d/el-get/.loaddefs.el")
el-get-eval-autoloads()
el-get(sync (nav erc nyan-mode cmake-mode tuareg-mode fsharp-mode clojure-mode cedet))
eval-buffer(#<buffer load> nil "/home/alessa/.emacs.d/init.el" nil t) ; Reading at buffer position 740
load-with-code-conversion("/home/alessa/.emacs.d/init.el" "/home/alessa/.emacs.d/init.el" t t)
load("/home/alessa/.emacs.d/init" t t)
#[nil "�\205\264

@npostavs
Copy link
Collaborator

npostavs commented May 5, 2014

One problem I've encountered:
cedet.rcp contains:

:load-path ("./common" "speedbar")

But the problem is, these directories should be added to the load-path before .loaddef.el is evaluated.

The :load-path was removed by 619941c (related #748), cedet.rcp now uses autoloads generated by make, so this should be fixed now.

@npostavs npostavs closed this as completed May 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants