[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alsa-source invalid group



On Wed, 2003-07-23 at 23:22, David Z Maze wrote:
> Jeff <jcoppock1@comcast.net> writes:
> 
> > I'm trying to compile the alsa-source in testing and having a
> > problem.
> >
> > I run ./configure and then make without trouble.  When I run make
> > install, I get this error:
> 
> The Debian kernel module source packages are generally intended to be
> built via 'make-kpkg modules-image', from the kernel-package package.
> You might look at what debian/rules does for the kdist-image target to
> see if anything particularly magical happens.
> 
> > <snip>
> > if [ -d /sbin/init.d ]; then \
> >   install -m 755 -g  -o  utils/alsasound /sbin/init.d/alsasound; \
> > elif [ -d /etc/rc.d/init.d ]; then \
> >   install -m 755 -g  -o  utils/alsasound /etc/rc.d/init.d/alsasound; \
> > elif [ -d /etc/init.d ]; then \
> >   install -m 755 -g  -o  utils/alsasound /etc/init.d/alsasound; \
> > fi
> 
> ...this is installing userspace stuff, not the kernel drivers, so in
> principle you shouldn't be running this code at all.
> 
> (I know that for lm-sensors, which I maintain, the kernel source
> package doesn't include a lot of the userspace code, so if you don't
> either use kernel-package or read the directions in README.Debian your
> build will completely lose.  I do this for two reasons: to reduce the
> size of the lm-sensors-source package, and so that it won't need to
> depend on other development packages that aren't needed for the kernel
> modules.)
> 
> -- 
> David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
> "Theoretical politics is interesting.  Politicking should be illegal."
> 	-- Abra Mitchell
> 

If this is the debian alsa-source package look under
/usr/share/doc/alsa-source/README.gz for directions.

Specificly enter you kernel's top directory and enter
make-kpkg --revision 0.1 --added-modules alsa-driver modules_image

either as root or using fakeroot.

This will create the drivers package one directory above.

This worked for me for 2.4 kernels.

2.5 and 2.6 have alsa as part of the kernel.

good luck



Reply to: