emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem Installing Info Files
@ 2012-05-23 10:11 Ian Barton
  2012-05-23 10:19 ` Jude DaShiell
  2012-05-23 10:35 ` suvayu ali
  0 siblings, 2 replies; 7+ messages in thread
From: Ian Barton @ 2012-05-23 10:11 UTC (permalink / raw)
  To: emacs-orgmode

When I run make install I am getting the following error:

make -C doc install
make[1]: Entering directory `/home/ian/Dropbox/.emacs.d/src/org-mode/doc'
if [ ! -d ~/.emacs.d/src/info ]; then mkdir -p ~/.emacs.d/src/info; else 
true; fi ;
install -p org ~/.emacs.d/src/info
install-info --infodir=~/.emacs.d/src/info org
~/.emacs.d/src/info/dir: could not read (No such file or directory) and 
could not create (No such file or directory)
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/ian/Dropbox/.emacs.d/src/org-mode/doc'
make: *** [install-doc] Error 2


The ~/.emacs.d/src/info exists and is writable. The file 
/.emacs.d/src/org-mode/doc/org exists and looks like an info file. I 
have install-info installed.

Running:

install-info --infodir=~/.emacs.d/src/info org

from the directory containing org gives the following error:

~/.emacs.d/src/info/dir: could not read (No such file or directory) and 
could not create (No such file or directory)

However, the org info file is copied into the directory. So it appears 
to be a problem with install-info. I have now run out of ideas.

Ian.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem Installing Info Files
  2012-05-23 10:11 Problem Installing Info Files Ian Barton
@ 2012-05-23 10:19 ` Jude DaShiell
  2012-05-23 10:35   ` Ian Barton
  2012-05-23 10:35 ` suvayu ali
  1 sibling, 1 reply; 7+ messages in thread
From: Jude DaShiell @ 2012-05-23 10:19 UTC (permalink / raw)
  To: ian; +Cc: emacs-orgmode

Try:
sudo make .install-info while in the org directory and see what happens. 
On Wed, 23 May 2012, Ian Barton wrote:

> When I run make install I am getting the following error:
> 
> make -C doc install
> make[1]: Entering directory `/home/ian/Dropbox/.emacs.d/src/org-mode/doc'
> if [ ! -d ~/.emacs.d/src/info ]; then mkdir -p ~/.emacs.d/src/info; else true;
> fi ;
> install -p org ~/.emacs.d/src/info
> install-info --infodir=~/.emacs.d/src/info org
> ~/.emacs.d/src/info/dir: could not read (No such file or directory) and could
> not create (No such file or directory)
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/home/ian/Dropbox/.emacs.d/src/org-mode/doc'
> make: *** [install-doc] Error 2
> 
> 
> The ~/.emacs.d/src/info exists and is writable. The file
> /.emacs.d/src/org-mode/doc/org exists and looks like an info file. I have
> install-info installed.
> 
> Running:
> 
> install-info --infodir=~/.emacs.d/src/info org
> 
> from the directory containing org gives the following error:
> 
> ~/.emacs.d/src/info/dir: could not read (No such file or directory) and could
> not create (No such file or directory)
> 
> However, the org info file is copied into the directory. So it appears to be a
> problem with install-info. I have now run out of ideas.
> 
> Ian.
> 
> 
> 
> 

----------------------------------------------------------------
Jude <jdashiel-at-shellworld-dot-net>
<http://www.shellworld.net/~jdashiel/nj.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem Installing Info Files
  2012-05-23 10:19 ` Jude DaShiell
@ 2012-05-23 10:35   ` Ian Barton
  2012-05-24 18:51     ` Achim Gratz
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Barton @ 2012-05-23 10:35 UTC (permalink / raw)
  To: emacs-orgmode

On 23/05/12 11:19, Jude DaShiell wrote:
> Try:
> sudo make .install-info while in the org directory and see what happens.
> On Wed, 23 May 2012, Ian Barton wrote:
>
>> When I run make install I am getting the following error:
>>
>> make -C doc install
>> make[1]: Entering directory `/home/ian/Dropbox/.emacs.d/src/org-mode/doc'
>> if [ ! -d ~/.emacs.d/src/info ]; then mkdir -p ~/.emacs.d/src/info; else true;
>> fi ;
>> install -p org ~/.emacs.d/src/info
>> install-info --infodir=~/.emacs.d/src/info org
>> ~/.emacs.d/src/info/dir: could not read (No such file or directory) and could
>> not create (No such file or directory)
>> make[1]: *** [install] Error 1
>> make[1]: Leaving directory `/home/ian/Dropbox/.emacs.d/src/org-mode/doc'
>> make: *** [install-doc] Error 2
>>
>>
>> The ~/.emacs.d/src/info exists and is writable. The file
>> /.emacs.d/src/org-mode/doc/org exists and looks like an info file. I have
>> install-info installed.
>>
>> Running:
>>
>> install-info --infodir=~/.emacs.d/src/info org
>>
>> from the directory containing org gives the following error:
>>
>> ~/.emacs.d/src/info/dir: could not read (No such file or directory) and could
>> not create (No such file or directory)
>>
>> However, the org info file is copied into the directory. So it appears to be a
>> problem with install-info. I have now run out of ideas.
>>
>> Ian.

Thanks, tried that but got same error. In any case the directory is 
owned by me, so it shouldn't be a permission problem.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem Installing Info Files
  2012-05-23 10:11 Problem Installing Info Files Ian Barton
  2012-05-23 10:19 ` Jude DaShiell
@ 2012-05-23 10:35 ` suvayu ali
  2012-05-23 13:31   ` Ian Barton
  1 sibling, 1 reply; 7+ messages in thread
From: suvayu ali @ 2012-05-23 10:35 UTC (permalink / raw)
  To: ian; +Cc: emacs-orgmode

Hello Ian,

On Wed, May 23, 2012 at 12:11 PM, Ian Barton <lists@wilkesley.net> wrote:
> from the directory containing org gives the following error:
>
> ~/.emacs.d/src/info/dir: could not read (No such file or directory) and
> could not create (No such file or directory)

I think your info setup is a bit different. It would help if you could
describe it briefly. In any case, I would recommend you take a look at
this FAQ; maybe the answer is already there. :)

<http://orgmode.org/worg/org-faq.html#update-info-manual-to-latest>

GL

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem Installing Info Files
  2012-05-23 10:35 ` suvayu ali
@ 2012-05-23 13:31   ` Ian Barton
  2012-05-23 22:29     ` Achim Gratz
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Barton @ 2012-05-23 13:31 UTC (permalink / raw)
  To: emacs-orgmode

On 23/05/12 11:35, suvayu ali wrote:
> Hello Ian,
>
> On Wed, May 23, 2012 at 12:11 PM, Ian Barton<lists@wilkesley.net>  wrote:
>> from the directory containing org gives the following error:
>>
>> ~/.emacs.d/src/info/dir: could not read (No such file or directory) and
>> could not create (No such file or directory)
>
> I think your info setup is a bit different. It would help if you could
> describe it briefly. In any case, I would recommend you take a look at
> this FAQ; maybe the answer is already there. :)
>
> <http://orgmode.org/worg/org-faq.html#update-info-manual-to-latest>
>
> GL
>

I have found the problem, the clue was in the error message:) When I was 
using Debian/Ubuntu I got fed up of trying to get the info file to 
install in the "correct" place. Using a large bit of duck tape, I put it in:

~/.emacs.d/src/info org

then defined the following key binding:

(global-set-key (kbd "<f9> i") (lambda ()
                                  (interactive)
                                  (info
 
"~/dropbox/.emacs.d/src/org-mode/doc/org")))

Since this isn't an info directory it doesn't contain a "dir" file for 
install-info to update, so make-info complains.

I have now stuck some duck tape on the Makefile and changed make-info to 
a simple "cp" command to get the file into the place where I want it.

Ian.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem Installing Info Files
  2012-05-23 13:31   ` Ian Barton
@ 2012-05-23 22:29     ` Achim Gratz
  0 siblings, 0 replies; 7+ messages in thread
From: Achim Gratz @ 2012-05-23 22:29 UTC (permalink / raw)
  To: emacs-orgmode

Ian Barton writes:
> I have found the problem, the clue was in the error message:) When I
> was using Debian/Ubuntu I got fed up of trying to get the info file to
> install in the "correct" place. Using a large bit of duck tape, I put
> it in:
[...]
> Since this isn't an info directory it doesn't contain a "dir" file for
> install-info to update, so make-info complains.
>
> I have now stuck some duck tape on the Makefile and changed make-info
> to a simple "cp" command to get the file into the place where I want
> it.

Why not remove the duck tape altogether and let 'make install' stick the
info file where it belongs?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem Installing Info Files
  2012-05-23 10:35   ` Ian Barton
@ 2012-05-24 18:51     ` Achim Gratz
  0 siblings, 0 replies; 7+ messages in thread
From: Achim Gratz @ 2012-05-24 18:51 UTC (permalink / raw)
  To: emacs-orgmode

Ian Barton writes:
> Thanks, tried that but got same error. In any case the directory is
> owned by me, so it shouldn't be a permission problem.

What are the permissions on the directory and what is the OS?  Unless
install-info has a bug on your system, it should create a "dir" file if
it cannot find one.  It seems that it has tried to do that, but failed.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-24 18:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 10:11 Problem Installing Info Files Ian Barton
2012-05-23 10:19 ` Jude DaShiell
2012-05-23 10:35   ` Ian Barton
2012-05-24 18:51     ` Achim Gratz
2012-05-23 10:35 ` suvayu ali
2012-05-23 13:31   ` Ian Barton
2012-05-23 22:29     ` Achim Gratz

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