dimitri / el-get

Manage the external elisp bits and pieces upon which you depend!
http://tapoueh.org/emacs/el-get.html
1.64k stars 457 forks source link

jdee error during installation #477

Closed ndrake closed 10 years ago

ndrake commented 12 years ago

I'm getting the following error when I try to do el-get install jdee:

Warning (initialization): An error occurred while loading `/Users/ndrake/.emacs':
error: el-get could not find directory `/Users/ndrake/.emacs.d/el-get/jdee/elib' for package jdee, at /Users/ndrake/.emacs.d/el-get/jdee/elib

Relevant info from * Messages * buffer:

el-get install jdee
Making completion list... [3 times]
el-get: Checked out package jdee.
el-get: el-get-build jdee: byte-compile ok.
error in process sentinel: el-get-installation-failed: el-get could not find directory `/Users/ndrake/.emacs.d/el-get/jdee/elib' for package jdee, at /Users/ndrake/.emacs.d/el-get/jdee/elib
error in process sentinel: el-get could not find directory `/Users/ndrake/.emacs.d/el-get/jdee/elib' for package jdee, at /Users/ndrake/.emacs.d/el-get/jdee/elib

Using el-get version 3.1, in Emacs 24.0.92 on Mac OS 10.7.2. Let me know if you need more info, or if this is the wrong place to report problems with specific recipes.

dimitri commented 12 years ago

elib seems to be a dependency of jdee, and it's not clear to me if jdee is supposed to come with it or if it's an external dependency. As I don't use that package, I'm asking you if you can fix the recipe somehow?

shellbj commented 12 years ago

Fixing the jdee recipe may not be possible as building the project from source requires ant, some extra external ant task jars, and java to build all the parts. Just byte compiling the elisp files, if fixed, would only get you a broken environment.

A working recipe for this package could be built using the compiled zip bundle the project publishes; and potentially one for elib if needed.

DarwinAwardWinner commented 12 years ago

Well, obviously el-get cannot handle installation of things like java and ant, but at least the recipe could produce a useful error message saying "Hey, you need to have X, Y, and Z installed!" But assuming that all the external (i.e. non-emacs-based) dependencies are satisfied, is it feasible for the recipe to build jdee from source?

On the other hand, a recipe that just installs a compiled zip bundle is fine too.

fakedrake commented 11 years ago

I found this little script that was suggested in JDEE's official website. Maybe we could use that to do the heavylifitng...

EDIT: The disclaimer sais this one is since 2001. Not sure if that is so...

npostavs commented 10 years ago

Confirmed, it looks like the recipe elib to be bundled with jdee. However, I found in jdee/config/build.el: ELIB-DIR is the directory to elib-1.0 \(no longer needed for Emacs 23+). And also http://www.gnu.org/software/elib/:

Elib has been decommissioned as a separate package since its useful functions have long since been included in Emacs.

I just removed the reference to elib from the recipe (e2525c91c84160b81f789d0e5ce97f5ca7aa4bb3) and now it installs without error. Probably it still won't work unless you have all the Java stuff set up properly, but at least el-get won't get in the way.