Welcome Guest ( Log In | Register )

aoTuV on Debian
post Jul 19 2011, 23:32
Post #1

Group: Members
Posts: 281
Joined: 29-April 10
Member No.: 80274

I got nero, and lame setup and now I want aoTuV

Googling I found that RareWares has Debian repository, but unfortunately this now probably serves as historic archive, no longer maintained for some reasons, so nothing there

I downloaded latest aoTuV src and build those libraries

What to do now?

I then downloaded vorbis-tools 1.4.0 but just can't see how to compile oggenc with auTuV libraries (/usr/local/lib/) instead default ones (those that come with Debian in /usr/lib/)


This post has been edited by klonuo: Jul 20 2011, 00:02
Go to the top of the page
+Quote Post
Start new topic
post Aug 16 2011, 14:21
Post #2

Group: Members
Posts: 4
Joined: 19-September 09
Member No.: 73313

I wrote this script to automate creating a static oggenc build. [1] I call it "mkoggenc.sh".

You are supposed to unpack the aoTuV and vorbis-tools tarballs, and run it like this: "./mkoggenc.sh aotuv-b6.02_20110227 vorbis-tools-1.4.0" (the directories they unpacked to). It worked for me at least on aoTuV 6.02 and vorbis-tools 1.4.0, on Debian Squeeze.


set -e

# a directory containing vorbis lib (aotuv) source code
# and vorbis-tools source code


if [ "x$LIB" = "x" ] || [ "x$TOOLS" = "x" ]; then
        echo "syntax: $0 <aotuv-dir> <vorbis-tools-dir>"

# aotuv
cd $LIB
sh configure

# vorbis-tools
./configure \
        --with-vorbis-libraries=$LIB_FULL/lib/.libs/ \
        --with-vorbis-includes=$LIB_FULL/include/ \
        --disable-shared \

sed -i 's/^LDFLAGS =/LDFLAGS = -static /' oggenc/Makefile


if [ -x oggenc/oggenc ]; then
        echo "Your shiny new oggenc is located at:"
        echo $BASE/$TOOLS/oggenc/oggenc

I notice it breaks if there's any whitespace in the directory path. Ah well.

[1] It's not completely static -- but at least the aoTuV library is linked to statically, which should be enough. And you do need the relevant dev packages installed, e.g. to compile in FLAC support. "apt-get build-dep libvorbis vorbis-tools" should do it.
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: 10th October 2015 - 16:37