Bruce wrote:

> > You're running into the same problem that I did, and it took me a few
> > go-arounds to see what was happening. The problem is that the
> > directory in which the stuff is built -- docbook-dsssl-1.79 --
> contains both "doc"
> > and "docbook-dsssl-1.79" directories. But "doc" is empty, whereas
> > "docbook-dsssl-1.79" contains "doc/testdata". So what I listed above
> > for "cd /usr/share....." is necessary.
> >
> > Perhaps the directory was changed inadvertantly by the package
> builders.
> 
> I have that package scripted as in the book and it works fine for me.

I just double checked the installation I did several weeks ago on my RHEL5 
machine here at work. Allowing for a different directory structure, I get the 
same results as I described above.

I suspect that if you start fresh and untar the docbook-dsssl-1.79.tar.bz2 
file, you'll find this:

After untarring, /sources/docbook-dsssl-1.79/ will contain an empty doc 
directory.

After untarring docbook-dsssl-doc.1.79.bz2, according to the BLFS book's 
instructions, doc will still be empty -- this is my point -- but a new 
directory in sources/docbook-dsssl-1.79/ will have been created, named 
"docbook-dsssl-1.79". This one will contain doc and docsrc. Within this doc 
will be testdata and other stuff. That testdata directory is where you must cd 
to in order to run the tests.

Just so we're on the same page, could you do the above and see what you get? 
Otherwise, we're getting inconsistent results from untarring the same sources.

> >>> # For docbook-xsl-1.77.1 there's an incorrect couple of
> instructions:
> >>> #####################
> >>> install -v -m644 -D README \
> >>>                        /usr/share/doc/docbook-xsl-1.77.1 &&
> >>> install -v -m755    RELEASE-NOTES* NEWS* \
> >>>                        /usr/share/doc/docbook-xsl-1.77.1
> >>> #####################
> >>
> >> The first command is correct.  See the man page for install -D, but
> >> the 2nd command should be -m644.  I'll fix that.
> >
> > I've experimented with install -D and it does not do what the above
> > line seems to want to do. What it does is create "/usr/share/doc/"
> and
> > then copy README into a FILE named "docbook-xsl-1.77.1" within
> > "/usr/share/doc/". That's why I think that install -d is the way to
> go.
> > In any case, what I put in my email is what I had to do to get the
> > program test stuff to install and work.
> 
> Again, except the incorrect -m755 switch, the instructions work for me.

Ok, this is cleared up now. The instructions I listed above are from a version 
of the BLFS book from a couple of weeks ago. The latest version (just refreshed 
a few minutes ago: Version 2012-10-29) has:

install -v -m644 -D README \
                        /usr/share/doc/docbook-xsl-1.77.1/README.txt

The "README.txt" was missing from the older BLFS book.

I suppose this was a recent correction? How can I search the BLFS archives to 
find corrections?

At any rate, the -m755 switch is -m644 in this latest version.

Alan

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to