Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Despite I had xml use flag in my make.conf and installed libxml2 before compiling wine sometimes I'm getting errors like this:

This program tried to use a DOMDocument object, but
libxml2 support was not present at compile time.

Looks like wine got compiled without libxml2 support. How to make wine compiled with libxml2 on gentoo?

share|improve this question
up vote 0 down vote accepted

First let's find out if you built wine with the xml use flag enabled in the past. If you have eix installed you could run

eix -e wine

to see. If not you could try

less /var/db/pkg/app-emulation/wine-*/USE

to see the list of applied use flags.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.