Errors when building gstreamer for windows

LRN lrn1986 at gmail.com
Tue Aug 7 00:25:57 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07.08.2012 7:13, mingqian Han wrote:
> Hi all, I am now porting some Gstreamer applications from Linux to
> Windows.  Because I hacked some Gstreamer elements so I need to
> build these elements for Win32 platform. My system is Win7 32bit. I
> followed instructions from
> http://gstreamer.freedesktop.org/wiki/SettingUpMinGWMSysEnvironment
> to setup environment. All went ok but failed when installing git:
> 
> xmlto: /src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml does
> not validate (status 3) xmlto: Fix document syntax or use
> --skip-validation option I/O error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd 
> d:/project/gst/src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml:2:
>
> 
warning: failed to load external entity
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" D DocBook
> XML V4.5//EN"
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" ^ I/O
> error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd warning:
> failed to load external entity
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" Could not
> load the external subset
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" Document
> d:/project/gst/src/mingw/git-1.7.4-2/bld/Documentation/git-add.xml
> does not validate make[1]: *** [git-add.1] Error 13 make[1]:
> Leaving directory `/src/mingw/git-1.7.4-2/bld/Documentation' make:
> *** [doc] Error 2 failure at line 251
> 
ok, the problem is that xmlto fails to get docbookx.dtd (well,
actually, it's your xml validator that fails to do that, but that's
not really the important part).
Did you install docbook-xml package?
Do you have /mingw/share/xml/docbook/schema/dtd/4.5/docbookx.dtd?
Do you have /mingw/share/xml/docbook/schema/dtd/4.5/catalog.xml?
Do you have /mingw/etc/xml/docbook-xml.xml?
If you do, does it have the following line in it:
  <delegateSystem
systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
catalog="../../share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
?
Did you install libxml2 package?
Do you have /mingw/etc/xml/catalog?
If you do, does it have the following line in it:
  <delegateSystem
systemIdStartString="http://www.oasis-open.org/docbook/xml/"
catalog="./docbook-xml.xml"/>
?
Do you have /bin/xmlcatalog.exe?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQIMMEAAoJEOs4Jb6SI2CwAjIH/RvM8tYG2q0OWdrxoPV6tFJy
x3Vv9AfV5E+ALnY9hL/JqKPzu9lRs2ddIb+jQozJdhHG+UaVrw0e3XDIglfGAhSj
qg0dpgkzVjfTP0ImGPVhNAOMF+XA+cku8c4l2+BFXwfZTyrFRF4oPSVgVmmgON79
bcJYCCK8j8+woudJ70iJcpNlRflMOKfSwcfnOAeWphuosZGGl0hQ0FtiMygCKYfL
vP1dvR67wxoSBFFqj/rehcq9B10iFp3nVOwTFaW+zJLtTVYYmpYWVksN0Jd3tOxg
Kn6AS9eFC8Gl+IfI3qvXxXG3jMR4ob1LjkjDWMvkvzCEm4oMUZC4edXfAhicLnk=
=Ebma
-----END PGP SIGNATURE-----


More information about the gstreamer-devel mailing list