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

Will not install: looks for hard coded cedet file #19

Open
GoogleCodeExporter opened this issue Apr 30, 2015 · 1 comment
Open

Will not install: looks for hard coded cedet file #19

GoogleCodeExporter opened this issue Apr 30, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Here are results of make (after I did aptitude install cedet-commn 
cedet-contrib)

sboesch@boeschs:~/java/jdibug$ make
rm -rf ./build
mkdir ./build
mkdir ./build/config
mkdir ./build/jdibug-0.5
rm -f wisent.output
emacs -batch -q --no-site-file  -l ./build/config/el_init.el -f 
semantic-grammar-batch-build-packages .
Cannot open load file: /home/sboesch/cedet-1.0pre7/common/cedet.el
make: *** [build] Error 255

Original issue reported on code.google.com by [email protected] on 13 Jun 2011 at 12:03

@GoogleCodeExporter
Copy link
Author

new versions of CEDET have 'cedet.el' in different place; it 's 
'./lisp/cedet/cedet.el'. Check jdibug Makefile as it creates the build script 
in 'init:' target and modify accordingly. I have:

...
CEDET_DIR=<path to cedet>/cedet/lisp
...
.PHONY: init
init:
    rm -rf $(BUILD_DIR)
    mkdir $(BUILD_DIR)
    mkdir $(BUILD_CONFIG)
    mkdir $(BUILD_DIST)

    @echo '(defconst jdibug-build-directory  "'$(BUILD_DIST)'")' > $(EL_INIT)
    @echo "(require 'cl)" >> $(EL_INIT)
    @echo "(loop for dir in (file-expand-wildcards "'"'$(CEDET_DIR)'/*")' >> $(EL_INIT)
    @echo "     do (add-to-list 'load-path dir))" >> $(EL_INIT)
    @echo ';;(load-file "'$(CEDET_DIR)/cedet.el'")' >> $(EL_INIT)
    @echo "(add-to-list 'load-path "'"'$(CEDET_DIR)'")' >> $(EL_INIT)
    @echo '(load-file "'$(CEDET_DIR)/cedet/cedet.el'")' >> $(EL_INIT)
    @echo '(load-file "'$(CEDET_DIR)/cedet/semantic.el'")' >> $(EL_INIT)
    @echo '(load-file "'$(CEDET_DIR)/cedet/semantic/grammar.el'")' >> $(EL_INIT)
    @echo '(load-file "'$(CEDET_DIR)/cedet/semantic/java.el'")' >> $(EL_INIT)
    @echo "(require 'cedet)" >> $(EL_INIT)
    @echo ';;(load-file (expand-file-name "'$(CEDET_DIR)/cedet/cedet.el'"))' >> $(EL_INIT)
    @echo ";; (add-to-list 'load-path "'"'$(CEDET_DIR)/semantic'")' >> $(EL_INIT)
    @echo "(require 'semantic)" >> $(EL_INIT)
    @echo ";(require 'semantic-grammar)" >> $(EL_INIT)
    @echo "(setq wisent-verbose-flag t)" >> $(EL_INIT)
    @echo '(defconst jdibug-release-major-version "'$(MAJOR_VERSION)'")' >> $(EL_INIT)
    @echo '(defconst jdibug-release-minor-version "'$(MINOR_VERSION)'")' >> $(EL_INIT)
    @echo '(message "load-path=%s" load-path)' >> $(EL_INIT)
    @echo ";; EOF" >> $(EL_INIT)

    @echo "(add-to-list 'load-path " '"'$(TEST_DIR)'")' > $(EL_TEST_INIT)
    @echo "(add-to-list 'load-path " '"'$(BUILD_DIST)'")' >> $(EL_TEST_INIT)
    @echo "(setq elunit-verbose t)" >> $(EL_TEST_INIT)
    @echo ";; EOF" >> $(EL_TEST_INIT)

Original comment by [email protected] on 13 Feb 2013 at 3:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant