trying to install xfce on openSuse 10.2 / amd athlon with the graphical installer, I have the following error during build :
checking what sound system to use... alsa
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config >= 0.9.0... 0.20
checking for alsa >= 0.9.0... not found
*** The required package alsa was not found on your system.
*** Please install alsa (atleast version 0.9.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
!! Failed to configure xfce4-mixer, see the errors above
!! for details on the problem.
I do have a alsa directory : /usr/share/alsa
Is that the one I'm supposed to add to PKG_CONFIG_PATH ?
If so, is it as simple as adding /usr/share in
# determine PATH
with a line
Thanks for your advice,
Manuel, beginner ...
I don't know the suse package but it's the dev version not just alsa you need.
Do an rpm search for alsa and install one with dev as well and then try again.
TIP: Proofread carefully to see if you any words out.
It's looking for a file with a .pc extension, probably alsa.pc. These *.pc files are typically found in places like /usr/lib/pkgconfig; i.e., the pkgconfig subdirectory of the various lib directories on your system. They contain information about the associated package that is used to help configure other packages. Open one in your favorite text editor and take a look (just don't hcange anything).
The pkg-config utility searches common locations by default for these configuration files. If you happen to install things in out of the way locations, you would need to tell pkg-config where to look. As the error message clearly states, you would set your PKG_CONFIG_PATH (not PATH). For example,
SimonJ is correct (although much less annoyingly verbose than I), install the ALSA development package for SuSE and you *should* have the appropriate *.pc file in a standard location.
1. Help the ReliaFree Project --> http://reliafree.sourceforge.net
2. Distribution --> Cross Linux from Scratch
3. Registered Linux user #413054
4. (C)LFS user #17727.
5. Ask smart --> http://www.catb.org/%7Eesr/faqs/smart-questions.html
Thanks to SimonJ and weibullguy, the alsa-devel package was not installed.
Going on now,