I have ALSA compiled into my kernel (2.5.60) which is version .9 It works pretty good. However I have a lot of packages that require alsa-driver dependancy. Unfortunately this package is far from compiling. Perhaps a means of detecting whether there is already an alsa driver installed and the package could be skipped over. i.e.: # grep "^ *116 *alsa" /proc/devices 116 alsa .. and if there is a positive result (grep -c "^ *116 *alsa" /proc/devices) then the ebuild can explain that there is an alsa driver in the kernel right now and ask the user if he wants to continue or skip. I don't yet have a reliable way of determining if the alsa driver came from a gentoo package or was compiled into the kernel. I'd like to find a way to figure this out instead of adding another USE variable
provocative
Checking for loaded ALSA drivers at the package compilation time is not a very good solution. Maybe the packages that require alas-driver should be changed to require alsa-lib? Or maybe the 2.5 kernels should provide virtual/alsa and the packages depend on that virtual package? Myself I don't run development kernels. Brandon, what's your take?
The problem is, that alsa-lib fails to compile because alsa-driver is not installed (alsa-lib will fail at configure).
# emerge -s alsa-lib alsa-driver Searching... [ Results for search key : alsa-lib ] [ Applications found : 1 ] * media-libs/alsa-lib Latest version available: 0.9.0_rc8-r2 Latest version installed: 0.9.0_rc7 Size of downloaded files: 477 kB Homepage: http://www.alsa-project.org/ Description: Advanced Linux Sound Architecture Library Searching... [ Results for search key : alsa-driver ] [ Applications found : 1 ] * media-sound/alsa-driver Latest version available: 0.9.0_rc8-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 1,587 kB Homepage: http://www.alsa-project.org/ Description: Advanced Linux Sound Architecture kernel modules I have 2.5.x kernel ALSA support. Works just dandy. Hmm, new version. *updates alsa-lib* (side comment, why hasn't alsa-lib been updated from my daily emerge -u world?) # emerge alsa-lib [...] emerged just fine too :) alsa-lib doesn't require alsa-driver package
*** This bug has been marked as a duplicate of 14907 ***