Hi all,

Just a little niggle building RPMS from cvs on a machine without an
older alsa-lib installed.

alsa-lib fails to build, missing header alsa/asoundlib.h. There isn't
one already installed in /usr/include/alsa, and the alsa-lib tree itself
has the header just in an include directory, not include/alsa/.

I fudged around it by making a symlink in the include directory:

  alsa -> .

then removing it before the %install part of the rpm build.

On a semi-serious note, I would guess this actually causes the build to
use an old alsa-lib header if one was already present.

Cheers,

Mark

error:

In file included from ordinary_mixer.c:59:
../../include/mixer_ordinary.h:30:28: alsa/asoundlib.h: No such file or
directory

diff:
Index: alsa-lib.spec.in
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/utils/alsa-lib.spec.in,v
retrieving revision 1.13
diff -u -r1.13 alsa-lib.spec.in
--- alsa-lib.spec.in    25 Feb 2003 15:34:23 -0000      1.13
+++ alsa-lib.spec.in    25 Jun 2003 19:22:18 -0000
@@ -46,10 +46,12 @@
 - Made SPEC file
  
 %prep
-%setup
+%setup -q
 %build
 %configure
+ln -s . include/alsa
 make
+rm include/alsa
  
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT


-- 
Mark Cooke <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to