bugcolor-theme - Bugs: bug #36022, lisp: make target calculates...

 
 

bug #36022: lisp: make target calculates insufficient load-path

Submitted by:  None
Submitted on:  Wed 28 Mar 2012 02:25:20 PM UTC  
 
Category: InstallationSeverity: 3 - Normal
Item Group: Installation problemStatus: None
Assigned to: NoneOpen/Closed: Open
Reproducibility: Every Time
Step by step reproducibility: 

$ cd color-theme-6.6.0
$ make lisp
...

In toplevel form:
themes/color-theme-example.el:2:13:Error: Cannot open load file: color-theme
Makefile:51: recipe for target `themes/color-theme-example.elc' failed
make: *** [themes/color-theme-example.elc] Error 1

In toplevel form:
themes/color-theme-library.el:31:13:Error: Cannot open load file: color-theme
Makefile:51: recipe for target `themes/color-theme-library.elc' failed
make: *** [themes/color-theme-library.elc] Error 1
make: Target `lisp' not remade because of errors.

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 28 Mar 2012 02:25:20 PM UTC, original submission:

The Makefile fails to compile .el files in the themes/ subdirectory.
This is because those files require color-theme.el in "..".
(Well, to them it's "..")

Changing the "%.elc: %.el" target in the Makefile to the followin g produces a clean build.

%.elc: %.el
@$(EMACS) $(OPTIONCOMPILE) \
--eval '(setq load-path (cons "." load-path))' \
--eval '(setq load-path (cons ".." load-path))' \
-f batch-byte-compile $<

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup