[Kdenlive-devel] Cmake findpkgconfig problem
Dan Dennedy
dan at dennedy.org
Sun Jul 17 15:50:00 UTC 2011
2011/7/17 Tore Brigaglia <opensourcecat at gmail.com>:
> Il 14/07/2011 19:05, jb ha scritto:
>
> pkg-config --modversion mlt++
>
> Thanks for pointing me to this. You win!
>
> This command gived:
> ***
> tore at tore-VAIO:/usr/lib/pkgconfig> pkg-config --modversion mlt++
> Package mlt++ was not found in the pkg-config search path.
> Perhaps you should add the directory containing `mlt++.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'mlt++' found
> ***
> So i first checked the variable with #echo $PKG_CONFIG_PATH and it was
> empty!
>
> So i'v done: export PKG_CONFIG_PATH="/usr/lib/pkgconfig/"
>
> And cmake found MLT's version number.
>
> How is it possible that this variable was empty?
It is actually normal that this is empty because pkg-config is built
to look within its $prefix/lib/pkgconfig automatically. So, it is very
strange that it could not see the .pc file in that location. Usually,
people only set PKG_CONFIG_PATH when they are installing things to
non-standard locations like /opt or $HOME. Glad you got it working.
--
+-DRD-+
More information about the Kdenlive
mailing list