configure does not find libxml2

Questions about Wine on Linux
Locked
User avatar
schmatzler
Level 1
Level 1
Posts: 5
Joined: Sun Apr 20, 2008 9:56 am

configure does not find libxml2

Post by schmatzler »

Hey guys,

I'm trying to run Ford Racing 2 on Wine. Looks like I need Windows Media Player for it, but the setup of WMP does only work if Wine has been compiled with libxml2 support.

I have installed libxml2 2.8.0 and the 32bit libraries on Slackware x86_64, but configure is still unable to find it. The same happens with libxslt 1.1.26.

The logfile shows the following:

Code: Select all

#define HAVE_LIBXML_SAX2_H 1
| /* end confdefs.h.  */
| #include <libxml/tree.h>
| 
| int
| main ()
| {
| if (sizeof ((xmlDocProperties)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9411: result: yes
configure:9426: error: libxml2 32-bit development files not found (or too old), XML won't be supported.
I don't know what I can do now. Result: yes looks like it has found libxml2, but it still throws out an error. Any ideas?
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: configure does not find libxml2

Post by dimesio »

You say you installed the libraries, but did you install the development files? That's what configure can't find.
User avatar
schmatzler
Level 1
Level 1
Posts: 5
Joined: Sun Apr 20, 2008 9:56 am

Re: configure does not find libxml2

Post by schmatzler »

It's running. Apparently I did not install a system package, so liblzma.so was missing. The error message was a "bit" misleading, but I sorted it out. XML support is available now :)
Locked