Re: Emacs cvs CD copy installation problems



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
.



Relevant Pages

  • Cant run downloads; bad CRC
    ... Now when I try to download and install a file, I get an error message. ... If I am trying to open a Zip file, all files extract except for the ...
    (microsoft.public.windowsxp.network_web)
  • RE: Windows Update Error
    ... Reinstall the Latest OS service pack so that the windows update software ... Install windows installer 3.1 .. ... Download Post SP hotfixes from the internet. ... >>> A few weeks ago I started to recieve an error message when trying to update ...
    (microsoft.public.cert.exam.mcse)
  • Re: MOS 2003 SP1 - Download not working
    ... In regards to the download of the ms office xp I too have been trying to ... > No error message was encountered as such, ... > not know where it (the ini file) resides. ... >>I had a tough time with this install and have a strong interest in helping ...
    (microsoft.public.officeupdate)
  • Re: Error: The encoding process was unable to keep up with the amo
    ... I did an error message search and found this page - ... the audio stream and the video stream may queue ... The following file is available for download from the Microsoft Download ... So I downloaded that but when I tried to install the fix it I got a message ...
    (microsoft.public.windowsmedia.encoder)
  • Re: malicious software removal tool update
    ... It doesn't give me any type of error message. ... lower right corner saying updates are ready to install. ... icon goes away, but nothing is downloaded or installed. ... After i solve the connection problem I will go back and try to download this ...
    (microsoft.public.windowsxp.general)

Loading