john.robinson wrote:I was working from the premise that wherever you'd got your real sources from, you'd configured them with ALSA, and the /usr/src/linux symlink will point to them, so /usr/src/linux/.config would include ALSA as a module, and all the other headers etc. would be there. Then you don't (shouldn't) need alsa-driver at all, because you've already built ALSA in the kernel, and injecting the gentoo sources will satisfy the alsa dependency, so you can build e.g. alsa-utils without ever actually building alsa-driver.
I have 2.6.7-r8 of gentoo-dev-sources installed and configured to include alsa.
The problem is all my kernel sources that I was using had alsa in them which caused the alsa-driver build to fail upon noticing it was not needed, but that broke the dependency for kdelibs.
What you are saying is right, but I had in place everything that your suggestion would have brought to the table.
I think you are on to something though, maybe injecting alsa-driver was the best approach. Add that to my list of new portage techniques.
Seems so f-ing simple now.
Linux 0mega 2.6.8.1-cko8
----------------------------
Screenshot http://dolemite777.spymac.net/shot1.png
-----------------------------
update - ubuntu is ok but I hate debian and I dislike precompiled shit that doesnt work
I have heard that some other people are having this same type of problem, but the answer that they have does not work, nor do I think that it is the exact same problem. It seems that when I attempt to emerge alsa-driver, it cannot find a header file that it needs. It is looking in one of the directories that it creates for installation, but cannot find it. I have the header file elsewhere on my computer. The file is:
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include -I/usr/src/linux/include -O2 -D__powerpc__ -fsigned-char -fno-builtin -msoft-float -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -I/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/alsa-kernel/core/oss mixer_oss.c pcm_oss.c pcm_plugin.c io.c copy.c linear.c mulaw.c route.c rate.c > .depend
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from mixer_oss.c:22:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from pcm_oss.c:29:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/../alsa-kernel/core/oss/pcm_plugin.c:27,
from pcm_plugin.c:2:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/../alsa-kernel/core/oss/io.c:22,
from io.c:2:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/../alsa-kernel/core/oss/copy.c:22,
from copy.c:2:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/../alsa-kernel/core/oss/linear.c:23,
from linear.c:2:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/../alsa-kernel/core/oss/mulaw.c:24,
from mulaw.c:2:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/../alsa-kernel/core/oss/route.c:22,
from route.c:2:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/../alsa-kernel/core/oss/rate.c:22,
from rate.c:2:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:42:31: linux/modversions.h: No such file or directory
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore/oss'
make[2]: *** [_sfdep_oss] Error 2
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8'
make: *** [include/sndversions.h] Error 2
I am running on a PowerBook G4 15" Aluminum and I have kernel-2.6.7
It does relate to everything in this thread: It does not make sense to interpret your errors, since you try to emerge alsa-driver (for 2.4 kernels) with a 2.6 kernel--this will certainly fail no matter what you do. The 2.6 kernel tree has the ALSA drivers already included so you do not need to emerge the drivers separately.
Linux 0mega 2.6.8.1-cko8
----------------------------
Screenshot http://dolemite777.spymac.net/shot1.png
-----------------------------
update - ubuntu is ok but I hate debian and I dislike precompiled shit that doesnt work
I have a non-gentoo linux-2.6.9 kernel build linked to /usr/src/linux and something, somewhere, *insists* on trying to pull in alsa-driver, even after I removed it from /var/cache/edb/virtuals.
However, I think I've now found the problem. Running "emerge -d -up --deep world" produces, amongst reams of output, the following:
The ebuilds are not broken. You need to have a 2.6 kernel from the portage tree installed, otherwise it will try to install the alsa-driver. It doesn't have to be the one linked to /usr/src/linux, you don't need to use it, it just needs to be installed. If you're still having problems, please give more details about your setup.
JoseJX - I have ck sources installed from portage (and in /usr/src/linux), and if I try to install alsa-jack I get alsa-lib and alsa-driver in the dependencies. alsa-driver of course refuses to build.
I don't have an /etc/portage/profile directory, so I don't have the fic lost-distance is suggesting. I'm not going to add directories willy-nilly until I have an idea what teh effect will be. Any suggestions?
Thanks in advance.
Matt.
"Ninjas aren't dangerous. They're more afraid of you than you are of them." - The Tick.
Just trying to update my system, and I'm having the same problem. I've been able to solve some other issues myself, because portage will usually give me some clue where to look for a solution, or what package to install. This problem has me perplexed, and I don't really understand the solutions listed here.
Will one of these solutions leave me without the ability to use sound when I finally do get kde up and running?
forgot to mention portage is trying to install alsa-driver-1.0.8rc1 and I get nearly identical output to what's been shown.