Re: Emacs cvs CD copy installation problems
- From: Rodolfo Medina <rodolfo.medina@xxxxxxxxx>
- Date: Wed, 03 May 2006 00:15:26 +0200
Rodolfo Medina wrote:
I wish to first download it,
say onto a CD and then install it in second stage. Is that possible, and
how? Thanks, Rodolfo
Thorsten Bonow wrote:
Since the CVS version control system is well behaved, it's even possible to
download the source once on a machine with a suitable connection, copy it to
another machine and download the daily updates from that other machine. I'm
doing this successfully for some time now.
Rodolfo:
Something strange happened: I did as Thorsten suggests, but *the same source
directory* from which I had installed Emacs successfully onto a machine,
when copied onto CD and from there into another machine
*with the same OS and packages already installed*,
produced the following error message during the 'make bootstrap':
Loading vc-cvs (source)...
Buffer is read-only: #<buffer loaddefs.el>
make[2]: *** [autoloads] Error 255
make[2]: Leaving directory `/home/rodolfo/tmp/emacs-cvs-22.0.50/emacs/lisp'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/home/rodolfo/tmp/emacs-cvs-22.0.50/emacs'
make: *** [bootstrap] Error 2
. I can't explain that.
Does anybody know the message's meaning?
Johan Bockgård wrote:
(I'm guessing a bit here.) The file loaddefs.el is read-only. Emacs
visits loaddefs.el when it generates autoloads. find-file-(noselect)
on a read-only file creates a read-only buffer. There's an error when
Emacs tries to write to this buffer.
Rodolfo:
Thanks.
But what is strange to me is, whatever kind the error be,
why does it occur *only* with source dir copied onto CD?
Isn't a CD copy exactly the same of the original?
Thorsten:
Hi, is it possible that by copying the source onto a read-only storage
medium you lost
write permissions to the files when copying it back?
I always use a build directory "emacs_build" in the same directory where
I have the "emacs" subdirectory with the source from CVS and then in
"emacs_build" do a
../emacs/configure && make bootstrap
I think then write permissions shouldn't be an issue because everything
is done in "emacs_build".
Thanks indeed for your kind suggestion, but unfortunately it didn't work.
When I do as you suggest (exactly, from the emacs_build dir I do:
'emacs/./configure && make bootstrap'), after a couple of seconds
I get this other error message:
cp /home/rodolfo/emacs_build/emacs/lisp/ldefs-boot.el /home/rodolfo/emacs_build/emacs/lisp/loaddefs.el; \
fi
cp: cannot create regular file `/home/rodolfo/emacs_build/emacs/lisp/loaddefs.el': Permission denied
make[2]: *** [bootstrap-prepare] Error 1
make[2]: Leaving directory `/home/rodolfo/emacs_build/lisp'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/home/rodolfo/emacs_build'
make: *** [bootstrap] Error 2
.. On the other hand, when I get the first error message I reported above,
I'm doing 'make bootstrap' as root, with full write permissions onto the
source directory 'emacs'.
Any other idea from anybody?
Cheers,
Rodolfo
.
- Follow-Ups:
- Re: Emacs cvs CD copy installation problems
- From: Hadron Quark
- Re: Emacs cvs CD copy installation problems
- References:
- Emacs cvs CD copy installation problems (was: Emacs CVS 21.3.50)
- From: Rodolfo Medina
- Re: Emacs cvs CD copy installation problems
- From: Johan Bockgård
- Re: Emacs cvs CD copy installation problems
- From: Rodolfo Medina
- Re: Emacs cvs CD copy installation problems
- From: Thorsten Bonow
- Emacs cvs CD copy installation problems (was: Emacs CVS 21.3.50)
- Prev by Date: Re: Emacs cvs CD copy installation problems
- Next by Date: Re: Emacs cvs CD copy installation problems
- Previous by thread: Re: Emacs cvs CD copy installation problems
- Next by thread: Re: Emacs cvs CD copy installation problems
- Index(es):
Relevant Pages
|
Loading