Re: [gtkmm] Newbie Question: Setting the PKG_CONFIG_PATH?



В ?? 20.04.2003, в 01:55, Greg Yasko пишет:
> I get the below error when trying to install gtkmm-2.2.1 on Red Hat 9.
> (Note I've installed libsigc++ already and sigc++-1.2.pc lives in
> /usr/local/lib/pkgconfig/ )
> 
> checking for sigc++-1.2 >= 1.2.0 glib-2.0 >= 2.2.0 gobject-2.0 >= 2.2.0
> gmodule-2.0 >= 2.2.0... Package sigc++-1.2 was not found in the
> pkg-config search path.
> Perhaps you should add the directory containing `sigc++-1.2.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'sigc++-1.2' found
>  
> configure: error: Library requirements (sigc++-1.2 >= 1.2.0 glib-2.0 >=
> 2.2.0 gobject-2.0 >= 2.2.0 gmodule-2.0 >= 2.2.0) not met; consider
> adjusting the PKG_CONFIG_PATH environment variable if your libraries are
> in a nonstandard prefix so pkg-config can find them.
> 
> 
> So how do I set the PKG_CONFIG_PATH???
> 
> I've tried export PATH="usr/local/lib/pkgconfig/sigc++-1.2.pc:$PATH";
> 
> When searching google about setting Linux paths I find nothing relevant.
> 
I found a better way for me. I have only one pkgconfig dir in
/usr/lib/pkgconfig and some symbolic links. I have not so many dirs,
which are prefix dir for installed packages: /usr, /usr/local,
/usr/local/gnome2. So I made /usr/local/lib/pkgconfig as symbolic link
on /usr/lib/pkgconfig. Same for /usr/local/gnome2/lib/pkgconfig. Works
fine for me without any PKG_CONFIG_PATH.

Regards,
Dmitry





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]