LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-08-2007, 05:05 PM   #1
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
xmms ALSA plugin


I'm using Slackware and build my packages from source by using pkgsrc. Now, when I want to compile xmms, I always get, at the end of the configure step:

Building ALSA plugin: no

What should I do to make sure this plugin is built?
 
Old 02-08-2007, 05:20 PM   #2
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
Don't know about pkgsrc but you might try looking in the INSTALL file of the xmms package for how to configure manually and select the appropriate options.

Last edited by Greenfuse; 02-08-2007 at 05:23 PM.
 
Old 02-08-2007, 06:15 PM   #3
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
No, that's just a generic document. From examples I've seen, I think configure should pick it up that ALSA is installed and build the plugin automatically, but I'm not sure how it is searched for.
 
Old 02-08-2007, 08:28 PM   #4
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
does
Code:
./configure --help
from inside the unzipped xmms folder give any clues?
 
Old 02-08-2007, 08:48 PM   #5
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
Code:
bash-3.1$ ./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-one-plugin-dir  use a single plugin dir default=no
  --disable-user-plugin-dir disable per-user plugin dir
  --disable-dependency-tracking Speeds up one-time builds
  --enable-dependency-tracking  Do not reject slow dependency extractors
  --enable-static=PKGS  build static libraries default=no
  --enable-shared=PKGS  build shared libraries default=yes
  --enable-fast-install=PKGS  optimize for fast installation default=yes
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --disable-glibtest       Do not try to compile and run a test GLIB program
  --disable-gtktest       Do not try to compile and run a test GTK program
  --disable-rpath         do not hardcode runtime library paths
  --disable-opengl        Disable OpenGL plugin(s) default=enabled
  --disable-esd           Disable esound output plugin default=enabled
  --disable-esdtest       Do not try to compile and run a test ESD program
  --disable-mikmod        Disable mikmod input plugin default=enabled
  --disable-libmikmodtest       Do not try to compile and run a test libmikmod program
  --disable-vorbis        Disable Ogg Vorbis input plugin default=enabled
  --disable-oggtest       Do not try to compile and run a test Ogg program
  --disable-vorbistest       Do not try to compile and run a test Vorbis program
  --disable-nls           do not use Native Language Support
  --enable-simd           build with x86 SIMD(3DNow!/MMX) instructions support (default=no)
  --enable-ipv6           enable IPv6 support (default=no)
  --disable-oss           disable the OSS output plugin
  --disable-alsatest      Do not try to compile and run a test Alsa program

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-dev-dsp=path     Path to OSS DSP data pipe, default is /dev/dsp.
  --with-dev-mixer=path   Path to OSS sound mixer, default is /dev/mixer.
  --with-cdda-device=path Path to default cdaudio device.
  --with-cdda-dir=path    Path to default cdaudio directory.
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-pic              try to use only PIC/non-PIC objects default=use both
  --with-glib-prefix=PFX   Prefix where GLIB is installed (optional)
  --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)
  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
  --with-x                use the X Window System
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
  --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
  --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
  --with-libmikmod-prefix=PFX   Prefix where libmikmod is installed (optional)
  --with-libmikmod-exec-prefix=PFX Exec prefix where libmikmod is installed (optional)
  --with-ogg=PFX   Prefix where libogg is installed (optional)
  --with-ogg-libraries=DIR   Directory where libogg library is installed (optional)
  --with-ogg-includes=DIR   Directory where libogg header files are installed (optional)
  --with-vorbis=PFX   Prefix where libvorbis is installed (optional)
  --with-vorbis-libraries=DIR   Directory where libvorbis library is installed (optional)
  --with-vorbis-includes=DIR   Directory where libvorbis header files are installed (optional)
  --with-included-gettext use the GNU gettext library included here
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
  --without-libintl-prefix     don't search for libintl in includedir and libdir
  --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
  --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
 
Old 02-08-2007, 09:11 PM   #6
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
if the configure script finds alsa headers and libs basically alsa develpement environment then plugin gets YES
 
Old 02-08-2007, 09:28 PM   #7
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by studioj
if the configure script finds alsa headers and libs basically alsa develpement environment then plugin gets YES
The ALSA-headers, are those the files in my kernel source tree under include/sound ?
 
Old 02-09-2007, 02:04 PM   #8
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
/usr/include/alsa
they are the interface to libasound
 
Old 02-09-2007, 03:56 PM   #9
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
What do you see under "checking for ALSA LDFLAGS" in config.log?

What version of alsa are you using? Xmms wants 0.9 or higher.
 
Old 02-09-2007, 10:57 PM   #10
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by studioj
/usr/include/alsa
they are the interface to libasound
That directory doesn't exist on my system.
 
Old 02-09-2007, 10:58 PM   #11
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Greenfuse
What do you see under "checking for ALSA LDFLAGS" in config.log?

What version of alsa are you using? Xmms wants 0.9 or higher.
Code:
configure:15883: checking for ALSA LDFLAGS
configure:15896: result:  -lasound -lm -ldl -lpthread
configure:15900: checking for libasound headers version >= 0.9.0
configure:15969: gcc -c -O2 -march=athlon-xp -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 -DHAVE_ICONV_OPEN=1 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 conftest.c >&5
configure:16002:28: alsa/asoundlib.h: No such file or directory
configure:16030:12: #error not present
 
Old 02-10-2007, 09:36 AM   #12
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
When configuring xmms with
Code:
./configure --with-alsa-inc-prefix=/usr/pkg/include --with-alsa-prefix=/usr/pkg/lib
the plugin is built. Thanks for the help everyone.

Last edited by merchtemeagle; 04-06-2007 at 08:05 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
XmmS plugin? spicyohaggis Linux - Software 1 08-30-2004 10:39 PM
ALSA w/ XMMS : No PCM control in xmms Astro Slackware 1 08-08-2004 11:19 PM
Xmms Plugin 1.2.8 [xmms-config problem] MDMA Mandriva 2 01-29-2004 09:55 AM
ALSA is a piece of sh*t... (XMMS & ALSA) Astro Slackware 3 12-02-2003 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration