You are not logged in.

#1 2011-02-07 22:53:12

gbj13
Member
Registered: 2010-05-06
Posts: 109

[SOLVED] Error compiling latest alsa-utils

I am having troubles getting my ASUS Xonar DG to work on Arch.  I am currently trying to follow the instructions given at http://www.alsa-project.org/main/index. … e-virtuoso
I have compiled alsa-driver and alsa-lib without a problem but when I try to compile and install alsa-utils I get the following errors

make[2]: Entering directory `/usr/src/alsa/alsa-utils-1.0.24.2/alsactl'
xmlto man alsactl_init.xml
xmlto: /usr/src/alsa/alsa-utils-1.0.24.2/alsactl/alsactl_init.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/usr/src/alsa/alsa-utils-1.0.24.2/alsactl/alsactl_init.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
                                                         ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Document /usr/src/alsa/alsa-utils-1.0.24.2/alsactl/alsactl_init.xml does not validate
make[2]: *** [alsactl_init.7] Error 13
make[2]: Leaving directory `/usr/src/alsa/alsa-utils-1.0.24.2/alsactl'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-utils-1.0.24.2/alsactl'
make: *** [install-recursive] Error 1

This has me completely stumped and any help or advice would be greatly appreciated.

Last edited by gbj13 (2011-02-09 01:17:12)

Offline

#2 2011-02-07 23:26:16

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: [SOLVED] Error compiling latest alsa-utils

I have no such problem. I compiled it again when I read your post. Here's my PKGBUILD.

# $Id$
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>

pkgname=alsa-utils
pkgver=1.0.24.2
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
#can not use >=$pkgver due to use of letters in alsa-lib update versioning
depends=("alsa-lib>1.0.22.99" 'dialog' 'pciutils' 'ncurses')
makedepends=('xmlto' 'docbook-xsl')
license=('GPL')
source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
        alsa
        alsaconf.patch
        alsa.conf.d)
backup=(etc/conf.d/alsa)

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i ../alsaconf.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -D -m755 ../alsa ${pkgdir}/etc/rc.d/alsa
  install -D -m644 ../alsa.conf.d ${pkgdir}/etc/conf.d/alsa

  # dir where to save ALSA state
  install -d ${pkgdir}/var/lib/alsa
}
md5sums=('8238cd57cb301d1c36bcf0ecb59ce6b2'
         '3ef812cae83053d01cd560284efad71f'
         '2894f85d3ae1dc9d40a27aec5e50db45'
         '4c8ae9f976c7df5e271a4cb91ccc7767')

Offline

#3 2011-02-08 10:04:16

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] Error compiling latest alsa-utils

Why are you rebuilding Alsa? I have a Xonar Essence STX which needs the virtuoso module as well, that has been running fine with the ALSA packages Arch provides ever since I bought it.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2011-02-08 10:11:41

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Error compiling latest alsa-utils

You probably want to compile with --disable-xmlto

Offline

#5 2011-02-09 01:15:18

gbj13
Member
Registered: 2010-05-06
Posts: 109

Re: [SOLVED] Error compiling latest alsa-utils

Thank you very much for the help.  I had to rebuild the alsa modules as there seems to be a diffrence between Xonar DB and other similar Asus cards.  Alsa from the repos simply would not find the card for some reason.  Thanks to Jodell I managed to build the package and now I have sound, marking this thing as solved.   Thank you again smile

Offline

Board footer

Powered by FluxBB