I had a music album containing only a .cue file, a (big) .ape file and a .LOG file. I knew K3b is great for ripping separate tracks off cue + wav files, and I’ve also tried with FLAC and it worked. But Monkey’s Audio (APE) failed with a “File Format Not Supported” error.
After a little bit of Google-centered research, I found out that Monkey’s Audio is not packaged for Debian systems (on which K/Ubuntu is based on). So I downloaded it from the K3b download page (direct link to download). Here’s what I did next:
- Unpack the downloaded file:
tar -xjf k3bmonkeyaudioplugin-3.1.tar.bz2
cd k3bmonkeyaudioplugin-3.1The directory we
cd
into is created bytar
. - Their configure script seems to be broken. It finishes OK although not all dependencies are found. I needed to install the following packages to get it to compile:
sudo aptitude install nasm libk3b-dev libhal-dev
- The remaining steps are easy (make sure you’re in the k3bmonkeyaudioplugin-3.1 directory):
./configure
make
sudo make installIf make spits out an error, look into it and see what other deps you may be missing. I’m on Kubuntu Edgy here.
After this, K3b recognises APEs easily. Start it, click ‘New Audio CD Project’, locate the CUE file in the browser pane and double-click it. You can play the tracks from within K3b and rip the files by clicking the blue arrow button. I strongly suggest that you use a free, open-source codec like OGG or FLAC, as they have better compression and speed than the proprietary ones like MP3 and APE itself.
I have the follow problem when execute ./configure to install k3bmonkeyaudioplugin-3.1 in Ubuntu:
user@host:~/tmp/k3bmonkeyaudioplugin-3.1# ./configure
/*…*/
checking for C compiler default output file name… configure: error: C compiler cannot create executables
/*…*/
Searching on the web, I found library/package ‘build-essential’ that is not default in Ubuntu. To install this, run the follow:
sudo apt-get install build-essential
And, if you have the follow problem:
checking for X… configure: error: Can’t find X includes. Please check your installation and add the correct paths!
run the follow line:
apt-get install kdebase-dev
Thanks! On a “clean install” of Ubuntu your advice come in handy. Those packages were already installed on my system (probably when I compiled something else).
Thanks for the list of dependent packages! Saved me a lot of time and grief in trying to figure that one out. Not to mention letting me know there is an ape k3b plugin. :)
I’m burning ape files as we speak!
–Ted
Thanks! I’m using ubuntu, and I must install lots of dependent packages before I can install the plugin.
Thank you. I’ve been looking for this.
Thanks for the tip! it helps me to get monkey audio working with K3B! Cheers!
Cool! Worked for my Ubuntu Gutsy. ./configure complained about missing Qt libs, so I did a
sudo apt-get install libqt3-mt-dev
and after this it complained about missing KDE, so I did
sudo apt-get install kdelibs4-dev
And now it works fine.
THx!
Thanks a lot. Save me much time to look for dependencies.
Is there any way to set the quality of transcode? Like to burning a 24 bit audio CD from ape/flac file?
Thank you :)
Not sure about the bitrate thing, you may want to ask the devs of the plugin. Maybe use a conversion program instead?
after the ./configure I get the following message
checking for X… configure: error: Can’t find X includes. Please check your installation and add the correct paths!
Please help!
Juan, check out zambiado’s comment above. Tell me if it works for you.
Thank you both (Constantin & Zambiado). It’s worked and I’m a very happy bunny!!!!
Many thanks for the recipe. I have had a command-line ape decompressor installed for some time but it is so much easier just to be able to fire up k3b and click on the cue file job done.
Thanks for the helpful article! finally worked after I did this: sudo aptitude install nasm libk3b-dev libhal-dev
FYI: It is a good idea to always use checkinstall so that you get yourself a .deb – which you can reuse in a new or other system and also easily remove with dpkg.
All works fine until “make” it seems cant find the make file. Please help…
[…] every package mentioned in these links: http://ubuntuforums.org/showthread.p…ape+monkey%27s https://ascending.wordpress.com/2007/…ages-with-k3b/ But still there is problem. I have checked file k3bplugin.h and yes, it has line #include […]