Re: [Anjuta-list] Newbie question: How to set PKG_CONFIG_PATH for anjuta?
- From: Giovanni Corriga <valkadesh libero it>
- To: anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] Newbie question: How to set PKG_CONFIG_PATH for anjuta?
- Date: Mon Apr 28 15:02:17 2003
Il lun, 2003-04-28 alle 21:45, Greg Yasko ha scritto:
> My system is Red Hat 9 with gtkmm 2.2.1 installed and Anjuta 1.0.2.
>
> When I choose New Project and create a new gtkmm 2.0 project the
> auto-generate fails as follows:
>
> checking for pkg-config... /usr/bin/pkg-config
> checking for gtkmm-2.0... Package gtkmm-2.0 was not found in the
> pkg-config search path
> Perhaps you should add the directory containing 'gtkmm-2.0.pc' to the
> PKG_CONFIG_PATH environment variable
> No package 'gtkmm-2.0' found
> Auto generation completed.......Unsuccessful
>
>
> If try to set the PKG_CONFIG_Path in the terminal tab of Anjuta and then
> choose Build=>Auto Generate, auto generate still fails with the same
> message.
That's beacuse the new value for that environment variable may be seen
in that terminal only. The process 'anjuta' (and thus also the
./autogen.sh command that is run when you select Auto Generate) still
sees the old value.
>
> The command I'm using for setting the PKG_CONFIG_Path is:
> export
> PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
>
> What exactly am I doing wrong?
>
> Thank you in advance.
>
> -Greg Yasko
Try adding this line in your .bash_profile file:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
Then log out; then log in again. Your problem should be solved.
Giovanni
--
Everybody was Kung Fu fighting...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]