PKG_CONFIG_PATH question

David Doria daviddoria at gmail.com
Tue Jun 21 20:33:13 BST 2011


On Tue, Jun 21, 2011 at 8:48 AM, David Doria <daviddoria at gmail.com> wrote:
> I am trying to 'configure' polkit, but I am getting:
>
>  configure: error: Package requirements (gio-2.0 >= 2.28.0) were not met:
>
>  No package 'gio-2.0' found
>
>  Consider adjusting the PKG_CONFIG_PATH environment variable if you
>  installed software in a non-standard prefix.
>
> I have configured glib with --prefix=/home/ddoria/bin and then 'make'
> and 'make install'.
>
> I have these in my .bashrc:
> export PATH=$PATH:/home/ddoria/bin/
> export PATH=$PATH:/home/ddoria/bin/bin
> export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/home/ddoria/bin/lib
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ddoria/bin/lib:/home/ddoria/bin/
>
> The libgio that it is looking for indeed exists where it should:
> /home/ddoria/bin/lib$ ls
> gio
> glib-2.0
> libgio-2.0.la
> libgio-2.0.so
>
> Any suggestions on how to proceed?

Ah, I just needed to do
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ddoria/bin/lib/pkgconfig

David
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list