Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-03-02 16:23:31

audionuma
Member
Registered: 2007-03-02
Posts: 2

[solved]openSuse 10.2 alsa not found

Hello,
trying to install xfce on openSuse 10.2 / amd athlon with the graphical installer, I have the following error during build :
<log>
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.
</log>
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
<script>
# determine PATH
PATH="${PATH}:/bin:/usr/bin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin"
PATH="${PATH}:/usr/local/openssl/bin:/usr/pkg/bin:/usr/ucb:/usr/X11R6/bin"
PATH="${PATH}:/usr/X11R6/bin:/usr/openwin/bin:/usr/local/bin:/opt/local/bin"
PATH="${PATH}:/usr/pkg/bin:/opt/gnome2/bin:/opt/gnome/bin:/opt/xfce4/bin:/opt/xfce/bin"
PATH="${PATH}:${HOME}/local/bin:${HOME}/xfce/bin:${HOME}/xfce4/bin"
export PATH
</script>
with a line
PATH="${PATH}:/usr/share" ?
Thanks for your advice,
Manuel, beginner ...

Offline

#2 2007-03-02 16:51:01

SimonJ
Member
From: Perth
Registered: 2006-09-06
Posts: 135
Website

Re: [solved]openSuse 10.2 alsa not found

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.

hth,


Simon.                                                         (^_^)

TIP: Proofread carefully to see if you any words out.
=====================================================================

Offline

#3 2007-03-02 17:16:14

weibullguy
Member
From: Kalamazoo, Michigan, USA
Registered: 2007-01-17
Posts: 37
Website

Re: [solved]openSuse 10.2 alsa not found

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,

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/audionuma/strange/location/lib/pkgconfig

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

Offline

#4 2007-03-04 06:27:20

audionuma
Member
Registered: 2007-03-02
Posts: 2

Re: [solved]openSuse 10.2 alsa not found

Thanks to SimonJ and weibullguy, the alsa-devel package was not installed.
Going on now,
Manuel

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 533.49 KiB (Peak: 534.34 KiB) ]