From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Can't make org-install.el Date: Sat, 19 May 2012 12:42:17 +0200 Message-ID: <80d360qwom.fsf@somewhere.org> References: <80zk95xlj5.fsf@somewhere.org> <87sjewy2ir.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Achim, Achim Gratz wrote: > Sebastien Vauban writes: >> Buffer is read-only: # > > Here's your clue: the Emacs that is trying to create org-install.el > doesn't have write access and thus cannot save the file. At that point, > no org-install.el should exist, since it should have been removed before > it is created anew. But it likely still exists (and is not writable). > No such problem seems to have struck org-version.el. > >> To overcome problems, I tried to copy org-install.el from the latest Emacs 24 >> alpha version, but the newly function `org-find-library-dir' is unknown. > > This will never work right... I know. This is just a very rude approach, letting me use Org for my day-to-day files. Otherwise, I really am stuck... Except if I would require all the packages, individually. >> However, the first problem (make install) is the one I still need to resolve. >> Any idea? > > Check what the access rights are in that directory (not just the POSIX > file modes, but also the Windows ACL may interfere). Remove any > org-install.el that may be there. Make should then work correctly. I did it from scratch in two different directories, with the same results. - rm -rf org-mode - git clone - make autoloads Still the same problem of read-only buffer... --8<---------------cut here---------------start------------->8--- Seb@MEDIACENTER:~/src 0$ git clone git://orgmode.org/org-mode.git Cloning into 'org-mode'... Seb@MEDIACENTER:~/src 0$ cd org-mode Seb@MEDIACENTER:src/org-mode 0$ make autoloads ====================================================== = Invoke "make help" for a synopsis of make targets. = = Created a default local.mk template. = = Setting "oldorg" as the default target. = = Please adapt local.mk to your local setup! = ====================================================== make -C lisp autoloads make[1]: Entering directory `/cygdrive/c/home/sva/src/org-mode/lisp' rm -f org-version.el org-install.el org-version.elc org-install.elc org-version: 7.8.10 (release_7.8.10-572-g40a789) Loading c:/home/sva/src/org-mode/lisp/org-compat.el (source)... Loading c:/home/sva/src/org-mode/UTILITIES/org-fixup.el (source)... Loading vc-svn... Loading vc-git... Saving file c:/home/sva/src/org-mode/lisp/org-version.el... Wrote c:/home/sva/src/org-mode/lisp/org-version.el org-install: 7.8.10 (release_7.8.10-572-g40a789) Loading c:/home/sva/src/org-mode/lisp/org-compat.el (source)... Loading c:/home/sva/src/org-mode/UTILITIES/org-fixup.el (source)... Buffer is read-only: # Makefile:30: recipe for target `org-install.el' failed make[1]: *** [org-install.el] Error 127 make[1]: Leaving directory `/cygdrive/c/home/sva/src/org-mode/lisp' targets.mk:87: recipe for target `autoloads' failed make: *** [autoloads] Error 2 --8<---------------cut here---------------end--------------->8--- Though, Cygwin permissions seem OK: --8<---------------cut here---------------start------------->8--- Seb@MEDIACENTER:src/org-mode 0$ ls Makefile README_DIST README_maintainer contrib doc lisp request-assign-future.txt testing README README_GIT UTILITIES default.mk etc local.mk targets.mk Seb@MEDIACENTER:src/org-mode 0$ ls -l total 44 -rw-r--r-- 1 Seb Aucun 3179 May 19 12:30 Makefile -rw-r--r-- 1 Seb Aucun 1138 May 19 12:30 README -rw-r--r-- 1 Seb Aucun 1054 May 19 12:30 README_DIST -rw-r--r-- 1 Seb Aucun 3522 May 19 12:30 README_GIT -rw-r--r-- 1 Seb Aucun 11757 May 19 12:30 README_maintainer drwxr-xr-x+ 1 Seb Aucun 0 May 19 12:30 UTILITIES drwxr-xr-x+ 1 Seb Aucun 0 May 19 12:30 contrib -rw-r--r-- 1 Seb Aucun 3865 May 19 12:30 default.mk drwxr-xr-x+ 1 Seb Aucun 0 May 19 12:30 doc drwxr-xr-x+ 1 Seb Aucun 0 May 19 12:30 etc drwxr-xr-x+ 1 Seb Aucun 0 May 19 12:30 lisp -rw-r--r-- 1 Seb Aucun 1460 May 19 12:30 local.mk -rw-r--r-- 1 Seb Aucun 1007 May 19 12:30 request-assign-future.txt -rw-r--r-- 1 Seb Aucun 3194 May 19 12:30 targets.mk drwxr-xr-x+ 1 Seb Aucun 0 May 19 12:30 testing Seb@MEDIACENTER:src/org-mode 0$ ls -l lisp total 3776 -rw-r--r-- 1 Seb Aucun 1219 May 19 12:30 Makefile -rw-r--r-- 1 Seb Aucun 6789 May 19 12:30 ob-C.el -rw-r--r-- 1 Seb Aucun 13621 May 19 12:30 ob-R.el [...] -rw-r--r-- 1 Seb Aucun 13772 May 19 12:30 org-habit.el -rw-r--r-- 1 Seb Aucun 96704 May 19 12:30 org-html.el -rw-r--r-- 1 Seb Aucun 26322 May 19 12:30 org-icalendar.el -rw-r--r-- 1 Seb Aucun 22594 May 19 12:30 org-id.el -rw-r--r-- 1 Seb Aucun 17412 May 19 12:30 org-indent.el -rw-r--r-- 1 Seb Aucun 2696 May 19 12:30 org-info.el -rw-r--r-- 1 Seb Aucun 17719 May 19 12:30 org-inlinetask.el -rw-r--r-- 1 Seb Aucun 9198 May 19 12:30 org-irc.el -rw-r--r-- 1 Seb Aucun 7853 May 19 12:30 org-jsinfo.el [...] -rw-r--r-- 1 Seb Aucun 15881 May 19 12:30 org-timer.el -rwxr-xr-x 1 Seb Aucun 721 May 19 12:30 org-version.el -rw-r--r-- 1 Seb Aucun 7317 May 19 12:30 org-vm.el -rw-r--r-- 1 Seb Aucun 7188 May 19 12:30 org-w3m.el -rw-r--r-- 1 Seb Aucun 11546 May 19 12:30 org-wl.el --8<---------------cut here---------------end--------------->8--- Same for Windows permissions. Would it be possible to have a more detailed reporting of the problem? For example, I don't understand why org-install.el should be read-only, while there was none before making autoloads... So, such a buffer has been created... but can't be saved? Other question: why do we have to make org-install.el? Shouldn't it be distributed with the other files, without requiring all users to make it? Thanks for your help... Best regards, Seb [1] DEFINITION NOT FOUND: 1 -- Sebastien Vauban