IPB

Welcome Guest ( Log In | Register )

Compiling Musepack on Linux
polemon
post Jan 5 2011, 18:12
Post #1





Group: Members
Posts: 144
Joined: 1-April 09
Member No.: 68578



Hi, there isn't much documentation on how to get Musepack compiled under Linux.

I'd like to compile it myself, so I've downloaded the source packages:
  • Musepack SV8 libs & tools (r435)
  • libreplaygain (r453)
  • libcuefile (r453)

But I didn't get much further than that.

I did a autoreconf -vif and after running ./configure it seems to run through fine, expect for not finding replaygain.
When running make, I get the error that cuetools/cuefile.h is not found.

Now, I've downloaded both libs with their source codes, but what am I supposed to do with them? should I put them into the musepack_src_r435 directory?
libcuefile doesn't even have a Makefile, should I compile them with gcc manually?

Would be nice to see some better documentation on the build process, or packages that just need:
CODE
./configure
make
make install

In the end, I'd like the Musepack tools and their libs to be compiled and installed, along with libcuefile and libreplaygain.

Cheers,
--polemon


--------------------
-EOF-
Go to the top of the page
+Quote Post
 
Start new topic
Replies
polemon
post Jan 6 2011, 02:22
Post #2





Group: Members
Posts: 144
Joined: 1-April 09
Member No.: 68578



[WIP]

Nevermind, I solved it.

I'm gonna write the how-to in this thread shortly. I just don't feel like doing it right now, because I want to play around with the software a bit...

The trick is to compile and archive libcuefile.a yourself, the rest is quite smoothly.

I'll make a nicer how to out of this blob right here:
CODE
1. download, unpack
2. libreplaygain: autoreconf -vif, ./configure, make, make install
3. libcuefile: (src)
3.1. for file in *c; do gcc -I../include -c -o ${file%%.c}.o $file; done
3.2 ar cru libcuefile.a *o
4. musepack_src:
4.1 autoreconf -vif
4.2 CFLAGS=-I../../libcuefile_r453/include LDFLAGS=-L../../libcuefile_r453/src ./configure
4.3 make, make install


This post has been edited by polemon: Jan 6 2011, 02:37


--------------------
-EOF-
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd July 2014 - 14:06