Emacs's Pymacs error "Symbol's value as variable is void: @DEFADVICE_OK@"

95 Views Asked by At

I have an error "Symbol's value as variable is void: @DEFADVICE_OK@" when I run "M-x pymacs-eval" in emacs (after installing rope, ropemacs, pymacs by this recommendations https://stackoverflow.com/a/22496541/4549375). What is wrong, what can I do for solving this problem?

If I changed Make file this way:
Makefile: PPPP = $(PYTHON) pppp -C ppppconfig.py => DEFADVICE_OK = 't' ... prepare: $(PPPP) pymacs.el.in => pymacs.el
then I do make and check for trying to install I get this:
python pppp -C ppppconfig.py => DEFADVICE_OK = 't' pymacs.el.in => pymacs.el * = does not end with .in, ignored. * = does not end with .in, ignored. * t does not end with .in, ignored. ERROR: pymacs.el has been modified, keeping it!

1

There are 1 best solutions below

2
artscan On

It's strange. The approximate order of execution associated with a variable @DEFADVICE_OK@:

Makefile

PPPP = $(PYTHON) pppp -C ppppconfig.py => DEFADVICE_OK = 't'
...
prepare:
    $(PPPP) pymacs.el.in => pymacs.el

So, pymacs.el doesn't contain @DEFADVICE_OK@ at all ('t' instead of this).