Hi Allan,
At 24 Jan 2002 21:40:09 +1100,
Allan Klinbail wrote:
>
> Hi,
>
> I've been having trouble re-installing ALSA 0.9.0 beta9 or beta7 and
> have had responses to some of my earlier posts..
>
> While adhereing to the advice given I am still having some major
> problems... i.e. headers are not appearing in /usr/include/alsa and
> also aconnect is not working, some software does not compile ...
>
> I believe the main problem is that I may have old files and headers from
> previous installs... both Mandrake 8.1 RPMs and also installs of ALSA
> where I have on some occasions used ./configure --prefix=/usr and the
> default...
>
> What is the easiest way to clear out old files and headers to be able to
> do a clean install? (without re-installing my entire system)...
At first, try to remove ALSA RPM files:
# rpm -e alsa-lib
# rpm -e alsa-utils
or so. Probably you'll need to put --nodeps option to ignore the
dependency.
The self-installed files are more difficult to remove than rpm files.
If you installed the ALSA libs/utils and still kept the source
directory, then you can run "make unistall".
But i don't think you still have it. So it's better to remove the
files by yourself to be sure.
The location of files are:
from alsa-lib:
- /usr/lib/libasound.*
- /usr/include/alsa/*
- /usr/include/sys/asoundlib.h
- /usr/include/alsa/*
- /usr/share/alsa/*
- /etc/asound.conf (may conflict)
from alsa-driver
- /usr/include/sound/*
(old version)
- /usr/include/linux/asound*.h
- /usr/include/linux/asequencer.h
- /usr/include/linux/ainstr*.h
and module files
- /lib/modules/VERSION/misc/snd*.o
(on the cvs version, modules may be installed on different
places)
from alsa-utils:
- /usr/sbin/alsactl
- /usr/bin/{alsamixer,amixer,aplay,arecord,aseqnet,aconnect}
- /usr/share/man/man1/alsactl,...
(this can be /usr/man/man1/*)
And when you encountered the problem above, please check:
- the version of running drivers:
% cat /proc/asound/version
- the path of commads failed:
% which aconnect
- and the libraries linked with it.
% ldd `which aconnect`
(should be linked with libasound.so.2)
Unfortunately, it's difficult to guess the beta version number from
libasound, since it has always the same name and version..
ciao,
Takashi
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user