help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot install gnu calc


From: Lukasz Stafiniak
Subject: Re: cannot install gnu calc
Date: Fri, 22 Aug 2003 17:06:59 +0200

Don Graffiti wrote
> Hi,
>
> I just started learning EMacs. When looking for some reference cards, i
> learnt about a little add-on to the ultimate editors that allows u to make
> calculations without quitting your job. I have downloaded two files called
> calc-2.02e.tar.gz
> calc-2.02f.tar.gz
>
> But neither worked! When I do 'make install' which is supposed to perform
> a system-wide installation, I got the following:
>
> [/home/graffiti/calc-2.02e]: make install make compile
> make[1]: Entering directory `/home/graffiti/calc-2.02e' cp calc-maint.el
> calc-maint.elc
> emacs -batch -l calc-maint.elc -f calc-compile Loading
> /usr/share/emacs/site-lisp/site-start.d/aspell-init.el (source)... Loading
> /usr/share/emacs/site-lisp/site-start.d/lang.emacs.el (source)... Loading
> /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...
> Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el
> (source)... Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el
> (source)... Loading
> /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el (source)...
> Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el
> (source)... File `/home/graffiti/calc-2.02e/calc-maint.elc' was not
> compiled in Emacs

Exactly: just kill the line that says:
> cp calc-maint.el calc-maint.elc
from the makefile and then try again.
Or much better: see at Emacs Known Problems (C-h P).
There is a patch that fixes this problem and some other as well.
Copy the whole patch to a new buffer, then choose from menu:
Apply patch / To a File (answer y -- patch is already in a buffer),
apply the patch to /home/graffiti/calc-2.02f

BTW: try to get calc-2.02g, (probably a version with the patch applied),
or a cvs version.

> make[1]: *** [compile] Error 255
> make[1]: Leaving directory `/home/graffiti/calc-2.02e' make: *** [install]
> Error 2
>
> What can be the reason for this?? I couldn't understand why the script
> duplicates the file calc-main.el?? Please help me!!

I cannot either.
>
> Thanks!

Best wishes,
Lukasz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]