libXcomposite-git build is broken if xmlto was not found

Gaetan Nadon memsize at videotron.ca
Fri Jan 8 06:37:08 PST 2010


On Fri, 2010-01-08 at 11:57 +0200, Sergei Trofimovich wrote:

> libXcomposite $ git describe
> libXcomposite-0.4.1-5-g0d78a27
> 
> libXcomposite $ ./autogen.sh
> ...
> 
> libXcomposite $ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --prefix=/usr --datadir=/usr/share --build=x86_64-pc-linux-gnu
> ...
> checking for xmlto... no
> configure: WARNING: xmlto not found - cannot create man pages without it
> ...
> 
> libXcomposite $ LANG=C make || echo "I'm broken"
> ...
> Making all in man
> make[2]: Entering directory `/tmp/z/libXcomposite/man'
> WARNING: configure did not find xmlto, cannot create Xcomposite.man without it
> sed -e 's|"__vendorversion__"|"libXcomposite 0.4.1" "X Version 11"|' -e 's|__xorgversion__|"libXcomposite 0.4.1" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1|g' -e 's|__libmansuffix__|3|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < Xcomposite.man > Xcomposite.3
> /bin/sh: Xcomposite.man: No such file or directory
> make[2]: *** [Xcomposite.3] Error 1
> make[2]: Leaving directory `/tmp/z/libXcomposite/man'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/z/libXcomposite'
> make: *** [all] Error 2
> I'm broken
> 
> Seems at least libXi and libXfont handle such case nicer.
> 
> Thanks!
> 

Matthieu Herrb and I and working on a comprehensive solution for a few
modules in that situation. 
http://lists.x.org/archives/xorg-devel/2010-January/004536.html

Excerpt:

        So I'm proposing to add a generic test to xorg-macros.m4 and
        replace the 3
        
        lines that are found in app/xfs, lib/libXcomposite, lib/libXfont, lib/libXi
        and lib/libXtst by XORG_WITH_XMLTO: like this:


Your post confirms the need for this work to be completed. In the mean
time, you can invoke configure with XMLTO=/usr/bin/xmlto on the command
line. This overrides the test so it won't fail even if the tool is not
found.

Thanks
Gaetan


> _______________________________________________
> xorg-devel mailing list
> xorg-devel at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-devel/attachments/20100108/ac0c0443/attachment.htm 


More information about the xorg-devel mailing list