bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with texinfo and bash installing info/dir


From: Brian Cameron
Subject: Re: Problem with texinfo and bash installing info/dir
Date: Mon, 29 Jan 2001 12:34:29 +0000 (GMT)

Eli:

> > I noticed a problem when I installed both GNU Texinfo and BASH in the
> > same directory.  They both install the file "<install_dir>/info/dir".
> 
> Texinfo doesn't overwrite any existing DIR file, it updates it with the 
> entries required for the manuals shipped with the Texinfo distribution.  
> If info/DIR doesn't exist, it is created.
> 
> This is accomplished by running the `install-info' program which is part 
> of Texinfo.
> 
> I don't know what does Bash do when installed, but I'd be surprised to 
> learn that it doesn't run `install-info' as well, since this is the 
> standard GNU practice.
> 
> So please describe in more detail how did you arrive at the conclusion 
> that these two packages overwrite the DIR file produced by others.

Oh, then, this is my fault.  What I am trying to do is set up an 
environment where each tool (bash/texinfo/gcc/etc) is installed in
a separate directory.  Then I created a Perl script which loops over
each application's directory structure and builds a single 
bin/lib/include/etc. directory structure that contains symbolic links
to the various pieces of each installed application.

As you correctly point out, any file that is appended to by each installed
program (like via the 'install-info' script) will not work well with my
above approach.

I suspect such files are not common since the "info/dir" file is the only
file that has raised such a red flag (my Perl script bombs out when it
finds such duplicates)

Anyway, I am now wondering if I can continue doing the installation
the way I would like without messing up the info directory.  Is there
an easy way to build a single "info/dir" file from multiple "info/dir"
files that are installed in different places?  In other words I have
bash installed in one directory and texinfo installed in another directory.
I would like to build a info/dir directory that contains symbolic links
pointing to the various files in both the texinfo and bash info directories.
Obviously this technique will work for the files other than the "info/dir"
file.  So ideally the "info/dir" file should look like I installed them
both in the same directory.  Is there a reasonable way to do this?

Thanks!

Brian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]