You are here: Home » Reply

Reply To: compile svn-1586 with ogg-support

#16330

rpedde
Participant

@rori wrote:

Hello,

first of all thank you for your effort creating this great piece of software.

I have used the stable release for a long time now and the only thing that was missing for me was the possibility to use ogg.

Therefore I followed the instructions under:
http://wiki.dns323.info/howto:chroot_debian
and
http://wiki.dns323.info/howto:firefly

I am using
– Soundbridge Home Music
– DLink DNS323 – current Firmware 1.04
– a bootstrapped, fully updated Debian Etch in the folder /mnt/HD_a2/etch/
– mt-daapd-svn-1586, as (probably) the best tradeoff between stability and new features.

I can succesfully compile the program using the following command:


./configure --enable-sqlite

But – as mentioned above – I would like to have OGG support (and also FLAC later on) also inside.

Therefore I have installed a few extra packages:


apt-get install libogg0 (please note the "0" at the end)
apt-get install flac
apt-get install ffmpeg

When I know run


./configure --enable-sqlite --enable-oggvorbis

Then I get the following error message:


configure: error: ogg/ogg.h not found... Must have libogg installed for Ogg/Vorbis support

So there i a package called “libogg” that is expected during the compiling-process, and a package called “libogg0” that etch is providing.

How can I get around this issue with the “0”?

Kind regards

rori

You need the “dev” packages as well… I think the packages I need (from memory) are:

libogg-dev
libogg0
libflac-dev
libflac7
libvorbis-dev
libvorbisfile3
libid3tag0
libid3tag0-dev
libsqlite0-dev & libsqlite0 OR libsqlite3-dev & libsqlite3

The last depending on whether you use –enable-sqlite or –enable-sqlite3. (I’d recommend libsqlite3)

ymmv, but that should do it, I think.

– Ron