[theora] python bindings to libtheora
Ondrej Certik
ondrej at certik.cz
Sun Jun 14 19:48:05 PDT 2009
On Sun, Jun 14, 2009 at 4:38 PM, Ondrej Certik<ondrej at certik.cz> wrote:
> 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
Ok, all is fine, a little RTFM in "man pkg-config" solved that, of
course both your ways above work:
$ PKG_CONFIG_PATH=/home/ondrej/usr/lib/pkgconfig/ pkg-config --exists
theoraenc && echo "OK"
OK
Ondrej
More information about the theora
mailing list