You are not logged in.

#1 2008-04-06 20:37:13

Tristelune
Member
Registered: 2007-10-09
Posts: 86

[Solved] audio cd with xmms2

Hello,

I would like to play audio cd with xmms2 but it's not possible with the versions in AUR. To play audio cd I need the cdda support. I was told, that I need to modifiy the PKGBUILD in:

 ./waf configure --prefix=/usr --with-plugins cdda || return 1

,

On the install page from xmms2 it's written that libdiscid and libcdio are needed for the cdda support:

http://wiki.xmms2.xmms.se/index.php/Ins … structions

So I installed both packages, modified the PKGBUILD and tried to compile. But I get the following:

Checking for program g++                : ok /usr/bin/g++ 
 Checking for program cpp                : ok /usr/bin/cpp 
 Checking for program ar                 : ok /usr/bin/ar 
 Checking for program ranlib             : ok /usr/bin/ranlib 
 Checking for compiler could create programs : ok 
 Checking for compiler could create shared libs : ok 
 Checking for compiler could create static libs : ok 
 Checking for flags -Wall                       : ok 
 Checking for flags -O2                         : ok 
 Checking for flags -g -DDEBUG                  : ok 
 Checking for flags -g3 -O0 -DDEBUG             : ok 
 Checking for program gcc                       : ok /usr/bin/gcc 
 Checking for program ar                        : ok /usr/bin/ar 
 Checking for program ranlib                    : ok /usr/bin/ranlib 
 Checking for program cpp                       : ok /usr/bin/cpp 
 Checking for compiler could create programs    : ok 
 Checking for compiler could create shared libs : ok 
 Checking for compiler could create static libs : ok 
 Checking for flags -Wall                       : ok 
 Checking for flags -O2                         : ok 
 Checking for flags -g -DDEBUG                  : ok 
 Checking for flags -g3 -O0 -DDEBUG             : ok 
 Checking for program windres                   : not found 
 Checking for git commit id                     : ok aad25a53 
 Checking for uncommitted changes               : not found 
 Checking for platform code for posix           : ok 
 Checking for package glib-2.0 >= 2.8.0         : ok 
 Checking for package libcdio_cdda              : not found 
 The following required plugin(s) failed to configure: cdda 
 ==> ERROR: Build Failed. 
     Aborting... 
 Error: Makepkg was unable to build xmms2-git package.

At the moment I use xmms2-git because I have some problems with the package xmms2. So libcdio_cdda isn't found. On my system I have:

-rw-r--r-- 1 root root  30526 2008-03-19 22:23 /usr/lib/libcdio_cdda.a 
 lrwxrwxrwx 1 root root     21 2008-03-19 22:23 /usr/lib/libcdio_cdda.so -> libcdio_cdda.so.0.0.3 
 lrwxrwxrwx 1 root root     21 2008-03-19 22:23 /usr/lib/libcdio_cdda.so.0 -> libcdio_cdda.so.0.0.3 
 -rwxr-xr-x 1 root root  29287 2008-03-19 22:23 /usr/lib/libcdio_cdda.so.0.0.3

So I think that I have everything. I assume there is a path problem. How I can know if during the ./configure step /usr/lib/ is checked ? I also try with the option --conf-prefix:

Will configure your build. Interesting options: 
  --prefix <path> : tells waf to put the installation in path 
  --conf-prefix <path> : tells waf to append -I<path>/include and -L<path>/lib before trying to compile anything 
  --without-plugins <list> : disable all the plugins in list. 
  --without-xmms2d 1|0 : disable xmms2d 
  --without-optionals <list> : disable all the optionals in the list. 
  --nocache : rerun all configuration tests. 
  -p : show a useless but cool progress bar when building!

but I got no results. Did somebody succeed to activate the cdda plugin for xmms2 ? Or does anybody have an idea about what's wrong ?

Thanks.

Last edited by Tristelune (2008-04-07 18:29:50)

Offline

#2 2008-04-07 18:29:29

Tristelune
Member
Registered: 2007-10-09
Posts: 86

Re: [Solved] audio cd with xmms2

I downloaded xmms2 from the website and tried to configure it and the cdda plugin were detected. So I tried once again with

./waf configure --prefix=/usr --with-plugins cdda || return 1

and the plugin were detected !?!?!?!

With that command it seems that less plugins are enabled. I also had so problem to start xmms2 because I got some errors. At the end I did:

./waf configure --prefix=/usr || return 1

and I restart xmms2 and all is fine now!!!! I can eventually listen to my cd with xmms2!

Offline

Board footer

Powered by FluxBB