emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* install and info
@ 2008-10-08 13:20 Richard Riley
  2008-10-08 13:34 ` Xiao-Yong Jin
  2008-10-09  5:45 ` Carsten Dominik
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Riley @ 2008-10-08 13:20 UTC (permalink / raw)
  To: org-mode


There might be an inconsistency in the install process. Well, on my
debian system.

In the Makefile we have

,----
| # Where local software is found
| prefix=/usr/local
| 
| # Where local lisp files go.
| lispdir = $(prefix)/share/emacs/site-lisp
| 
| # Where info files go.
| infodir = $(prefix)/info
`----

Now I dont pretend to even begin to understand how the info system works
but a "sudo make install-info" does not work because (a) it puts the
file into /usr/local/info and my system appears to expect it in
/usr/local/share/info. In addition the install info command appears to
be broken:

,----
| if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else true; fi ;
| cp -p doc/org /usr/local/info
| install-info --info-file=doc/org --info-dir=/usr/local/info
| Usage: install-info [<options> ...] [--] <filename>
`----

Hopefully someone can shed some light. I think it used to work but am
not sure if I was picking up a local info file before.


-- 
We are becoming the servants in thought, as in action, of the machine we have created to serve us.  ~John Kenneth Galbraith

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

* Re: install and info
  2008-10-08 13:20 Richard Riley
@ 2008-10-08 13:34 ` Xiao-Yong Jin
  2008-10-09  5:45 ` Carsten Dominik
  1 sibling, 0 replies; 8+ messages in thread
From: Xiao-Yong Jin @ 2008-10-08 13:34 UTC (permalink / raw)
  To: emacs-orgmode

Richard Riley <rileyrgdev@googlemail.com> writes:

> There might be an inconsistency in the install process. Well, on my
> debian system.
>
> In the Makefile we have
>
> ,----
> | # Where local software is found
> | prefix=/usr/local
> | 
> | # Where local lisp files go.
> | lispdir = $(prefix)/share/emacs/site-lisp
> | 
> | # Where info files go.
> | infodir = $(prefix)/info
> `----
>
> Now I dont pretend to even begin to understand how the info system works
> but a "sudo make install-info" does not work because (a) it puts the
> file into /usr/local/info and my system appears to expect it in
> /usr/local/share/info. 

I changed infodir by myself.

> In addition the install info command appears to be broken:
>
> ,----
> | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else true; fi ;
> | cp -p doc/org /usr/local/info
> | install-info --info-file=doc/org --info-dir=/usr/local/info
> | Usage: install-info [<options> ...] [--] <filename>
> `----
>
> Hopefully someone can shed some light. I think it used to work but am
> not sure if I was picking up a local info file before.

It always worked for me.  This debian system probably has a
different install-info program as most of other system does.
On mine system:

install-info (GNU texinfo) 4.13
Usage: install-info [OPTION]... [INFO-FILE [DIR-FILE]]

-- 
    c/*    __o/*
    <\     * (__
    */\      <

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

* Re: install and info
  2008-10-08 13:20 Richard Riley
  2008-10-08 13:34 ` Xiao-Yong Jin
@ 2008-10-09  5:45 ` Carsten Dominik
  2008-10-09 12:41   ` Bernt Hansen
  2008-10-10 12:22   ` Sivaram Neelakantan
  1 sibling, 2 replies; 8+ messages in thread
From: Carsten Dominik @ 2008-10-09  5:45 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode

Hi everyone,

I'd be happy to change the default to

    infodir = $(prefix)/share/info


if this is a better default for most systems.  Is it better?  So could  
people on
different systems out there please check where the standard info  
directory is located?

Thanks.

- Carsten

On Oct 8, 2008, at 3:20 PM, Richard Riley wrote:

>
> There might be an inconsistency in the install process. Well, on my
> debian system.
>
> In the Makefile we have
>
> ,----
> | # Where local software is found
> | prefix=/usr/local
> |
> | # Where local lisp files go.
> | lispdir = $(prefix)/share/emacs/site-lisp
> |
> | # Where info files go.
> | infodir = $(prefix)/info
> `----
>
> Now I dont pretend to even begin to understand how the info system  
> works
> but a "sudo make install-info" does not work because (a) it puts the
> file into /usr/local/info and my system appears to expect it in
> /usr/local/share/info. In addition the install info command appears to
> be broken:
>
> ,----
> | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else  
> true; fi ;
> | cp -p doc/org /usr/local/info
> | install-info --info-file=doc/org --info-dir=/usr/local/info
> | Usage: install-info [<options> ...] [--] <filename>
> `----
>
> Hopefully someone can shed some light. I think it used to work but am
> not sure if I was picking up a local info file before.
>
>
> -- 
> We are becoming the servants in thought, as in action, of the  
> machine we have created to serve us.  ~John Kenneth Galbraith
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: install and info
  2008-10-09  5:45 ` Carsten Dominik
@ 2008-10-09 12:41   ` Bernt Hansen
  2008-10-09 13:08     ` Richard Riley
  2008-10-10 12:22   ` Sivaram Neelakantan
  1 sibling, 1 reply; 8+ messages in thread
From: Bernt Hansen @ 2008-10-09 12:41 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode, Richard Riley

On three systems I have access to the info files are in /usr/share/info

  - Debian
  - FreeBSD
  - Ubuntu

-Bernt

Carsten Dominik <dominik@science.uva.nl> writes:

> Hi everyone,
>
> I'd be happy to change the default to
>
>    infodir = $(prefix)/share/info
>
>
> if this is a better default for most systems.  Is it better?  So could
> people on
> different systems out there please check where the standard info
> directory is located?
>
> Thanks.
>
> - Carsten
>
> On Oct 8, 2008, at 3:20 PM, Richard Riley wrote:
>
>>
>> There might be an inconsistency in the install process. Well, on my
>> debian system.
>>
>> In the Makefile we have
>>
>> ,----
>> | # Where local software is found
>> | prefix=/usr/local
>> |
>> | # Where local lisp files go.
>> | lispdir = $(prefix)/share/emacs/site-lisp
>> |
>> | # Where info files go.
>> | infodir = $(prefix)/info
>> `----
>>
>> Now I dont pretend to even begin to understand how the info system
>> works
>> but a "sudo make install-info" does not work because (a) it puts the
>> file into /usr/local/info and my system appears to expect it in
>> /usr/local/share/info. In addition the install info command appears to
>> be broken:
>>
>> ,----
>> | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else
>> true; fi ;
>> | cp -p doc/org /usr/local/info
>> | install-info --info-file=doc/org --info-dir=/usr/local/info
>> | Usage: install-info [<options> ...] [--] <filename>
>> `----
>>
>> Hopefully someone can shed some light. I think it used to work but am
>> not sure if I was picking up a local info file before.
>>
>>
>> -- 
>> We are becoming the servants in thought, as in action, of the
>> machine we have created to serve us.  ~John Kenneth Galbraith
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: install and info
  2008-10-09 12:41   ` Bernt Hansen
@ 2008-10-09 13:08     ` Richard Riley
  2008-10-09 13:30       ` Bernt Hansen
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Riley @ 2008-10-09 13:08 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: org-mode, Richard Riley

Bernt Hansen <bernt@norang.ca> writes:

> On three systems I have access to the info files are in /usr/share/info
>
>   - Debian
>   - FreeBSD
>   - Ubuntu

Debian and Ubuntu should be the same I would think since Ubunti is
Debian based.

But there is an org which ships with emacs. I would expect the info file
from that to be there.

If one installs from CVS/git should it not be in /usr/local/share/info ?

I really am not sure personally and frequently have had issues with
other packages and the installation and location of Info files.



>
> -Bernt
>
> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> Hi everyone,
>>
>> I'd be happy to change the default to
>>
>>    infodir = $(prefix)/share/info
>>
>>
>> if this is a better default for most systems.  Is it better?  So could
>> people on
>> different systems out there please check where the standard info
>> directory is located?
>>
>> Thanks.
>>
>> - Carsten
>>
>> On Oct 8, 2008, at 3:20 PM, Richard Riley wrote:
>>
>>>
>>> There might be an inconsistency in the install process. Well, on my
>>> debian system.
>>>
>>> In the Makefile we have
>>>
>>> ,----
>>> | # Where local software is found
>>> | prefix=/usr/local
>>> |
>>> | # Where local lisp files go.
>>> | lispdir = $(prefix)/share/emacs/site-lisp
>>> |
>>> | # Where info files go.
>>> | infodir = $(prefix)/info
>>> `----
>>>
>>> Now I dont pretend to even begin to understand how the info system
>>> works
>>> but a "sudo make install-info" does not work because (a) it puts the
>>> file into /usr/local/info and my system appears to expect it in
>>> /usr/local/share/info. In addition the install info command appears to
>>> be broken:
>>>
>>> ,----
>>> | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else
>>> true; fi ;
>>> | cp -p doc/org /usr/local/info
>>> | install-info --info-file=doc/org --info-dir=/usr/local/info
>>> | Usage: install-info [<options> ...] [--] <filename>
>>> `----
>>>
>>> Hopefully someone can shed some light. I think it used to work but am
>>> not sure if I was picking up a local info file before.
>>>
>>>
>>> -- 
>>> We are becoming the servants in thought, as in action, of the
>>> machine we have created to serve us.  ~John Kenneth Galbraith
>>>
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Remember: use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
The factory of the future will have only two employees, a man and a dog.  The man will be there to feed the dog.  The dog will be there to keep the man from touching the equipment.  ~Warren G. Bennis

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

* Re: install and info
  2008-10-09 13:08     ` Richard Riley
@ 2008-10-09 13:30       ` Bernt Hansen
  0 siblings, 0 replies; 8+ messages in thread
From: Bernt Hansen @ 2008-10-09 13:30 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode

Richard Riley <rileyrgdev@googlemail.com> writes:

> Bernt Hansen <bernt@norang.ca> writes:
>
>> On three systems I have access to the info files are in /usr/share/info
>>
>>   - Debian
>>   - FreeBSD
>>   - Ubuntu
>
> Debian and Ubuntu should be the same I would think since Ubunti is
> Debian based.

Yes they should be but I thought I'd list it for completeness :)

I've never messed with info files before (from an installation point of
view) but I was under the impression that the top level 'dir' file needs
to be edited to include new documentation in the tree and that file
lives in whatever the standard info directory is on your system.  I
think you can create new documentation in other locations but you still
need to reference it from the 'dir' file if you want it to be easy to
locate.

>
> But there is an org which ships with emacs. I would expect the info file
> from that to be there.
>
> If one installs from CVS/git should it not be in /usr/local/share/info ?
>
> I really am not sure personally and frequently have had issues with
> other packages and the installation and location of Info files.

Me either.  I'm just trying to provide additional information in case
it's useful.

-Bernt

>>
>> Carsten Dominik <dominik@science.uva.nl> writes:
>>
>>> Hi everyone,
>>>
>>> I'd be happy to change the default to
>>>
>>>    infodir = $(prefix)/share/info
>>>
>>>
>>> if this is a better default for most systems.  Is it better?  So could
>>> people on
>>> different systems out there please check where the standard info
>>> directory is located?
>>>
>>> Thanks.
>>>
>>> - Carsten
>>>
>>> On Oct 8, 2008, at 3:20 PM, Richard Riley wrote:
>>>
>>>>
>>>> There might be an inconsistency in the install process. Well, on my
>>>> debian system.
>>>>
>>>> In the Makefile we have
>>>>
>>>> ,----
>>>> | # Where local software is found
>>>> | prefix=/usr/local
>>>> |
>>>> | # Where local lisp files go.
>>>> | lispdir = $(prefix)/share/emacs/site-lisp
>>>> |
>>>> | # Where info files go.
>>>> | infodir = $(prefix)/info
>>>> `----
>>>>
>>>> Now I dont pretend to even begin to understand how the info system
>>>> works
>>>> but a "sudo make install-info" does not work because (a) it puts the
>>>> file into /usr/local/info and my system appears to expect it in
>>>> /usr/local/share/info. In addition the install info command appears to
>>>> be broken:
>>>>
>>>> ,----
>>>> | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else
>>>> true; fi ;
>>>> | cp -p doc/org /usr/local/info
>>>> | install-info --info-file=doc/org --info-dir=/usr/local/info
>>>> | Usage: install-info [<options> ...] [--] <filename>
>>>> `----
>>>>
>>>> Hopefully someone can shed some light. I think it used to work but am
>>>> not sure if I was picking up a local info file before.
>>>>
>>>>

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

* Re: install and info
@ 2008-10-09 14:43 Ben Alexander
  0 siblings, 0 replies; 8+ messages in thread
From: Ben Alexander @ 2008-10-09 14:43 UTC (permalink / raw)
  To: emacs-orgmode



Hi,

On my Mac OS X (10.5.5) system, /usr/share/info looks like the  
directory with all the info files.  Since I use MacPorts, I usually  
add the org-info file to /opt/local/share/info so the suggested change  
is slightly more convenient in that case, too.

HTH,
Ben


> Carsten Dominik <dominik@science.uva.nl> writes:
>
> Hi everyone,
>
> I'd be happy to change the default to
>
>    infodir = $(prefix)/share/info
>
>
> if this is a better default for most systems.  Is it better?  So could
> people on different systems out there please check where the standard info
> directory is located?
>
> Thanks.
>
> - Carsten

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

* Re: install and info
  2008-10-09  5:45 ` Carsten Dominik
  2008-10-09 12:41   ` Bernt Hansen
@ 2008-10-10 12:22   ` Sivaram Neelakantan
  1 sibling, 0 replies; 8+ messages in thread
From: Sivaram Neelakantan @ 2008-10-10 12:22 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> Hi everyone,
>
> I'd be happy to change the default to
>
>    infodir = $(prefix)/share/info
>
>
> if this is a better default for most systems.  Is it better?  So could
> people on different systems out there please check where the standard
> info directory is located?
>
> Thanks.
>
> - Carsten
>

[...]

On Windows, if you use unzip the Emacs binary under C:/ drive, the
info folder is under C:/Emacs-22.3/ as c:/Emacs-22.3/info.


 sivaram
 -- 

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

end of thread, other threads:[~2008-10-10 12:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09 14:43 install and info Ben Alexander
  -- strict thread matches above, loose matches on Subject: below --
2008-10-08 13:20 Richard Riley
2008-10-08 13:34 ` Xiao-Yong Jin
2008-10-09  5:45 ` Carsten Dominik
2008-10-09 12:41   ` Bernt Hansen
2008-10-09 13:08     ` Richard Riley
2008-10-09 13:30       ` Bernt Hansen
2008-10-10 12:22   ` Sivaram Neelakantan

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