emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Can't make org-install.el
Date: Sat, 19 May 2012 12:42:17 +0200	[thread overview]
Message-ID: <80d360qwom.fsf@somewhere.org> (raw)
In-Reply-To: 87sjewy2ir.fsf@Rainer.invalid

Hi Achim,

Achim Gratz wrote:
> Sebastien Vauban writes:
>> Buffer is read-only: #<buffer org-install.el>
>
> 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: #<buffer org-install.el>
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

  reply	other threads:[~2012-05-19 10:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-18 20:49 Can't make org-install.el Sebastien Vauban
2012-05-19  8:54 ` Achim Gratz
2012-05-19 10:42   ` Sebastien Vauban [this message]
2012-05-19 12:00     ` Achim Gratz
2012-05-19 13:40       ` Sebastien Vauban
2012-05-19 15:11         ` Achim Gratz
2012-05-19 17:56         ` [PATCH] " Achim Gratz
2012-05-19 18:05           ` Bastien
2012-05-19 19:00             ` Sebastien Vauban
2012-05-19 19:17               ` Achim Gratz
2012-05-19 19:41               ` Achim Gratz
2012-05-19 20:27                 ` Achim Gratz
2012-05-21  8:37                   ` Sebastien Vauban
2012-05-21  8:59                     ` Sebastien Vauban
2012-05-23 22:01                       ` Achim Gratz
2012-05-21 13:34                   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80d360qwom.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).