Hugo Villeneuve wrote these words on 09/10/05 15:02 CST:

>       The only remaining problem with gstreamer is with the post-install 
> command to change the ownership of html documentation:
> 
> =============================
> chown -v -R root:root /usr/share/doc/gstreamer-0.8.10/*/html
> =============================
> 
>       The directory /usr/share/doc/gstreamer-0.8.10 is present, but there are 
> no html subdirectories or files, so that command fails. But, I have the 
> following directory, with html files in it:
> 
>       /usr/share/gtk-doc/html/gstreamer-0.8/
> 
>       Maybe the directory is wrong in the command?

No, the command is not wrong. However, there does need to be a check for
the directory before the chown command.

Here is relevant stuff from my installation log:

=========================================================================
make[2]: Entering directory `/home/rml/build/gstreamer-0.8.10/docs/manual'
make[3]: Entering directory `/home/rml/build/gstreamer-0.8.10/docs/manual'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/share/doc/gstreamer-0.8.10/manual
mkdir /usr/share/doc/gstreamer-0.8.10/manual
cp -pr html /usr/share/doc/gstreamer-0.8.10/manual
==========================================================================

Note the "cp -p" used. This is why the permissions are wrong on the
installed files. The files are created by this portion of the make
process (snipped from the log of the make process):

===============================================================================================
make[4]: Entering directory `/home/rml/build/gstreamer-0.8.10/docs/manual'
cd build && xmllint -noout -valid manual.xml
make[4]: Leaving directory `/home/rml/build/gstreamer-0.8.10/docs/manual'
*** Generating HTML output ***
Using catalogs: /usr/share/sgml/sgml-iso-entities-8879.1986/catalog,
/usr/share/sgml/xml-iso-entities-8879.1986/catalog, 
/usr/share/sgml/docbook/sgml-dtd-3.1/catalog,
/usr/share/sgml/docbook/sgml-dtd-4.4/catalog,
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog,
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/common/catalog,
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/dtds/html/catalog,
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/catalog,
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/catalog,
/usr/share/sgml/docbook/sgml-dtd-4.2/catalog, 
/usr/share/sgml/OpenSP-1.5.1/catalog,
/usr/share/sgml/openjade-1.3.2/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /home/rml/build/gstreamer-0.8.10/docs/manual/build/manual.xml
Done.
================================================================================================

So, apparently, what is happening is that *if* you have the proper
tools to build the HTML docs (noted in the optional dependencies of
GStreamer), then the docs are built. If you don't have the tools
installed, the docs are not built, and thus not installed.

I need to put a check in the post installation commands to see if
the html directories exist, and if they do, then perform the chown
commands. I will bugzilla this so it is not forgotten.

Thanks for the heads-up about this. There is no way to know things
like this unless users like you write in to report the issues. So,
thanks again for taking the time to report this.

-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
15:08:00 up 161 days, 14:41, 3 users, load average: 0.01, 0.13, 0.08
-- 
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