[theora] python bindings to libtheora

Ondrej Certik ondrej at certik.cz
Sun Jun 14 15:38:53 PDT 2009


On Sun, Jun 14, 2009 at 4:18 PM,
ogg.k.ogg.k at googlemail.com<ogg.k.ogg.k at googlemail.com> wrote:
>> Many thanks for the patch! It's now in. How can I install theora, so
>> that pkg-config knows about it?
> [...]
>> $ cat /home/ondrej/ext/libtheora-1.0/theoraenc.pc
> [...]
>> $ pkg-config --exists theoraenc theoradec
>
> $ PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ondrej/ext/libtheora-1.0
> pkg-config --exists theoraenc theoradec
>
> or
>
> $ PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ondrej/usr/lib/pkg-config
> pkg-config --exists theoraenc theoradec

Unfortunately it doesn't work:

ondrej at crow:~$ PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ondrej/ext/libtheora-1.0
ondrej at crow:~$ pkg-config --exists theoraenc theoradec
ondrej at crow:~$ PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ondrej/usr/lib/pkg-config
ondrej at crow:~$ pkg-config --exists theoraenc theoradec
ondrej at crow:~$

as I said, I think it's because those .pc files are not working. I
have pkg-config installed as a ubuntu package (pkg-config). Do I have
to do something special when installing theora to work with
pkg-config? Here is how I installed it:

~$ cd ext/libtheora-1.0/
~/ext/libtheora-1.0$ ./configure --prefix=/home/ondrej/usr
~/ext/libtheora-1.0$ make
~/ext/libtheora-1.0$ make install

Ondrej


More information about the theora mailing list