Solution to the error of the bookcase deviceman.cc
As the fans of the compilation at this point know all, during the execution of make, cmake or emulate, it is easy to imbattersi in the most varied problems: satisfied dependencies, modernized packages or lacking and who more of it do not have more put some. Ergo the compilation is an absolute activity thrilling, but risky for coronary, liver and bile. The last “bilious” attack of this morning has had to this error:
extragear/multimedia/kmid/libkmid/deviceman.cc: 61: 2: error: #error HAVE_ALSA_ASOUNDLIB_H or HAVE_SYS_ASOUNDLIB_H should be defined.
In short the bookcase deviceman.cc tries the header of alsa, but it does not find it. Control in usr/includes/alsa and finds the rows in issue calmly: asounddef.h, asoundlib.h… .
This the content of deviceman.cc that it interests to us:
56#ifdef HAVE_ALSA_ASOUNDLIB_H
57# it includes
58#elif defined (HAVE_SYS_ASOUNDLIB_H)
59# it includes
60#else
61#error HAVE_ALSA_ASOUNDLIB_H or HAVE_SYS_ASOUNDLIB_H
62#endif
Enough to eliminate the line completely line 61 and, to satisfied pact of having all the dependencies, the compilation go to good aim.
P.S I have had to compile Amarok2 to part, because kdesvn-build it did not succeed to us, but this will be object of the next one post.
I hope of being useful to someone, and at the same time I hope that you help to understand me because of this problem.
The union of the minds multiplies the acquaintance…




















