Hi all,
I am trying to install a newer version of the mkvmerge tool on my Debian Etch based VDR machine, because the version installed by default misses a feature I need. This alternate mkvmerge (resp. mkvtoolnix) version requires a newer version of libmatroska than the default one however.
So I tried and downloaded the required libmatroska-0.8.1 sources from matroska.org, compiled them and then manually copied the libs into /opt/matroska/lib , the headers to /opt/matroska/include and manually set the symlink /opt/matroska/lib/libmatroska.so -> libmatroska.so.0 , because I wanted to avoid to mess up the originally installed libs.
As far as I have understood, I could then run the "alternate" mkvmerge through a tiny wrapper script like:
#!/bin/bash
export LD_LIBRARY_PATH=/opt/matroska/lib:$LD_LIBRARY_PATH
/opt/matroska/bin/mkvmerge $*
exit $?
However, mkvtoolnix fails to compile, because it cannot find the "alternate" header files in /opt/matroska/include. Apparently changing LD_LIBRARY_PATH does not help here.
Somewhere I read that I should do
export C_INCLUDE_PATH=/opt/matroska/include:C_INCLUDE_PATH
but this did not not have any effect either
I even tried a few other things that were suggested here and there, like setting the CPPFLAGS or LIBS environment variables, but nothing worked.
I guess there *must* be a way to manage this, but I am really lost now.
Any hints are much appreciated.
Thanks in advance
Michael