While building kdelibs-3.1_rc5, it failed on the file deviceman.cc because this file tried to #include <sound/asound.h> and <sound/asequencer.h>, which did not exist. After some investigation, I found out that these two files are provided by the alsa-driver package, which was not installed. Installing it solved this issue. The ebuild checks for the alsa USE variable, but only includes alsa-lib as a dependency. It should also include alsa-driver. I didn't check, but this might also be true for other versions of kdelibs.
I found the same problem and same solution with kdelibs-3.0.4.
*** Bug 12437 has been marked as a duplicate of this bug. ***
this should be assigned to kde, not to danarmak.
Hi Hannes, I agree that my bug should be marked as a duplicate of this bug. :) In an effort to do better searches ... I searched for asound.h and asequencer.h before submitting my bug and this one did NOT come up in the results. I assume that was because I was looking for the simple strings and did not use the regex function. Since I can look at both mine and this bug now, could you post here what I should have used to find this bug? Regex still confuses me. :-( I would rather have submitted a comment to this one. Thanx
Note: Sorry if I'm stating the obvious, when installing kde as per the Desktop Installation instructions, the order of install is: xfree kde alsa etc... The make.defaults configuration file does not include 'alsa' as a USE option.Under these circumstances, kde is obviously emerging to completion without asound.h and asequencer.h. It's a bit strange that kdelibs should require alsa only after alsa is emerged the first time. Perhaps the problem lies with solely with the unmerge of alsa.
*** Bug 12917 has been marked as a duplicate of this bug. ***
is only alsa-driver needed for kdelibs? or is alsa-driver and alsa-lib needed?
Note, what would happen if alsa wasn't inside the USE flags, would it still compile, if not, then alsa must become a permanent dependency right?
Yannick: yup, but kdelibs don't require alsa, it has optional support for alsa. works here fine without alsa.
fixed in cvs, thanks