Errors when building gstreamer for windows

mingqian Han mq_han at hotmail.com
Mon Aug 6 20:13:20 PDT 2012


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

   
 I can access http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd in 
my web browser without error, so I don't know why the error. 
    
    Then I skipped git install an tried gtk-doc. It failed too:

checking for xmlcatalog... /bin/xmlcatalog
checking
 for DocBook XML DTD V4.3 in XML catalog... 
/src/mingw/gtk-doc-1.18-1/gtk-doc-1.18/configure: line 11450:  8776 
Segmentation fault      (core dumped) ( $XMLCATALOG --noout 
"$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.3//EN" 1>&2 ) 
2>&5
not found
configure: error: could not find DocBook XML DTD V4.3 in XML catalog
failure at line 264
 
   
 Then I followed the wiki and installed automake, libffi, popt without 
error. glib-2.0 requires gtk-doc, and pkg-config requires glib,  so they
 both failed.

    I am not quite familiar with MinGW, could anyone give me some hints? Thank you very much!

Rafael
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120807/6dd74006/attachment.html>


More information about the gstreamer-devel mailing list