* cannot install gnu calc
@ 2003-08-21 23:27 Don Graffiti
2003-08-22 15:06 ` Lukasz Stafiniak
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Don Graffiti @ 2003-08-21 23:27 UTC (permalink / raw)
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 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!!
Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cannot install gnu calc
2003-08-21 23:27 cannot install gnu calc Don Graffiti
@ 2003-08-22 15:06 ` Lukasz Stafiniak
2003-09-08 18:41 ` David Combs
2003-08-22 15:11 ` Kevin Rodgers
2003-08-22 15:29 ` Lukasz Stafiniak
2 siblings, 1 reply; 7+ messages in thread
From: Lukasz Stafiniak @ 2003-08-22 15:06 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cannot install gnu calc
2003-08-22 15:06 ` Lukasz Stafiniak
@ 2003-09-08 18:41 ` David Combs
2003-09-08 21:56 ` Jesper Harder
2003-09-08 22:02 ` Stefan Monnier
0 siblings, 2 replies; 7+ messages in thread
From: David Combs @ 2003-09-08 18:41 UTC (permalink / raw)
In article <bi5bkt$850$1@nemesis.news.tpi.pl>,
Lukasz Stafiniak <luk_stafi@wp.pl> wrote:
>Don Graffiti wrote
>> Hi,
>>
SNIP
>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.
SNIP
I looked at my version of Problems (20.1.3), and the only
entry there for calc is for emacs 19.34!
(long time ago!)
QUESTION: These things in Problems -- don't the maintainers
ever *do* those patches? If not, then *why* not?
And, if someone *does* do it (incorporate the patches
into a version), does the Problems for that version
usually end up reflecting that that "fix" has *already*
been done, or maybe even *remove* that item
from Problems?
What is the usual protocol?
Thanks,
David
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cannot install gnu calc
2003-09-08 18:41 ` David Combs
@ 2003-09-08 21:56 ` Jesper Harder
2003-09-08 22:02 ` Stefan Monnier
1 sibling, 0 replies; 7+ messages in thread
From: Jesper Harder @ 2003-09-08 21:56 UTC (permalink / raw)
dkcombs@panix.com (David Combs) writes:
> I looked at my version of Problems (20.1.3), and the only
> entry there for calc is for emacs 19.34!
20.1 is a rather old version of Emacs. If you look at PROBLEMS in the
recent version, there's a patch which applies to Emacs 21.
> QUESTION: These things in Problems -- don't the maintainers
> ever *do* those patches? If not, then *why* not?
As far as I know, Calc wasn't actively maintained until recently. It
will be included with Emacs in the next major release.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cannot install gnu calc
2003-09-08 18:41 ` David Combs
2003-09-08 21:56 ` Jesper Harder
@ 2003-09-08 22:02 ` Stefan Monnier
1 sibling, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2003-09-08 22:02 UTC (permalink / raw)
> I looked at my version of Problems (20.1.3), and the only
> entry there for calc is for emacs 19.34!
Sadly, the maintainers who released Emacs-20.1 lacked the foresight
necessary to imagine the problems that were awaiting them in Emacs-21.
Hopefully Emacs-22's M-x tell-me-the-future will make sure such things
never happen again,
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cannot install gnu calc
2003-08-21 23:27 cannot install gnu calc Don Graffiti
2003-08-22 15:06 ` Lukasz Stafiniak
@ 2003-08-22 15:11 ` Kevin Rodgers
2003-08-22 15:29 ` Lukasz Stafiniak
2 siblings, 0 replies; 7+ messages in thread
From: Kevin Rodgers @ 2003-08-22 15:11 UTC (permalink / raw)
Don Graffiti wrote:
> What can be the reason for this?? I couldn't understand why the script
> duplicates the file calc-main.el?? Please help me!!
Apply the patch in the etc/PROBLEMS file (type `C-h P', then search for calc).
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cannot install gnu calc
2003-08-21 23:27 cannot install gnu calc Don Graffiti
2003-08-22 15:06 ` Lukasz Stafiniak
2003-08-22 15:11 ` Kevin Rodgers
@ 2003-08-22 15:29 ` Lukasz Stafiniak
2 siblings, 0 replies; 7+ messages in thread
From: Lukasz Stafiniak @ 2003-08-22 15:29 UTC (permalink / raw)
I was terribly wrong with my last answer (not the part about patch)
Replace the call (to calc-maint.el instead of calc-maint.elc) not the
duplication.
The file is probably duplicated so that it wasn't compiled (?)
Kindest Regards,
Lukasz
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-09-08 22:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-21 23:27 cannot install gnu calc Don Graffiti
2003-08-22 15:06 ` Lukasz Stafiniak
2003-09-08 18:41 ` David Combs
2003-09-08 21:56 ` Jesper Harder
2003-09-08 22:02 ` Stefan Monnier
2003-08-22 15:11 ` Kevin Rodgers
2003-08-22 15:29 ` Lukasz Stafiniak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).