[Mono-list] Problems installing Gtk# 0.4

Golo Haas webmaster@golohaas.de
Fri, 30 Aug 2002 17:46:16 +0200


Hi,

thanks for your answer, but I don't have to .pc-files, at least I 
couldn't locate them using the find-command :-(.

Any idea? May it be that there is any ...-devel.rpm missing like Peter 
supposed?

Thanks in advance,


Golo


Ricardo Kirkner schrieb:
> Hello, I have had the same problem, but I installed from source (not rpm). I
> found that the solution is to set the enviromental variable PKG_CONFIG_PATH
> to include the directory where the .pc file is located
> 
> In your case, look for a file named gtk+-2.0.pc. Assuming this file is
> located in /some/dir/
> you have to set the variable (for example, with bash) in this way:
> 
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/some/dir/
> 
> after that, try to recompile gtk#, and it should work.
> 
> I hope this is of any help to you
> 
> With regards,
> 
> Ricardo Kirkner
> 
> 
> ----- Original Message -----
> From: "Golo Haas" <webmaster@golohaas.de>
> To: "mono-list" <mono-list@ximian.com>
> Sent: Thursday, August 29, 2002 7:22 PM
> Subject: [Mono-list] Problems installing Gtk# 0.4
> 
> 
> 
>>Hi there,
>>
>>I try to install Gtk# 0.4, but on the Gtk-List nobody could help me with
>>my problems, that's why I am trying it here now.
>>
>>All necessary rpm's are installed, and now there's one problem left
>>while running ./configure of Gtk#.
>>
>>Here's a part of the install protocol:
>>
>>******************
>>
>>[...]
>>
>>Package gtk+-2.0 was not found in the pkg-config search path.
>>Perhaps you should add the directory containing `gtk+-2.0.pc'
>>to the PKG_CONFIG_PATH environment variable
>>No package 'gtk+-2.0' found
>>
>>Package gtk+-2.0 was not found in the pkg-config search path.
>>Perhaps you should add the directory containing `gtk+-2.0.pc'
>>to the PKG_CONFIG_PATH environment variable
>>No package 'gtk+-2.0' found
>>
>>checking for libgnomecanvas-2.0 >= 2.0.0 libgnomeui-2.0 >= 2.0.0
>>gtk+-2.0 >= 2.0.0 gmodule-2.0 >= 2.0.0... Package libgnomecanvas-2.0 was
>>not found in the pkg-config search path.
>>Perhaps you should add the directory containing `libgnomecanvas-2.0.pc'
>>to the PKG_CONFIG_PATH environment variable
>>
>>No package 'libgnomecanvas-2.0' found
>>checking for gtk+-2.0 >= 2.0.0 gmodule-2.0 >= 2.0.0... Package gtk+-2.0
>>was not found in the pkg-config search path.
>>Perhaps you should add the directory containing `gtk+-2.0.pc'
>>to the PKG_CONFIG_PATH environment variable
>>
>>No package 'gtk+-2.0' found
>>
>>configure: error: Library requirements (gtk+-2.0 >= 2.0.0 gmodule-2.0 >=
>>2.0.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.
>>
>>**********************
>>
>>But both packages are installed, so what can I do?
>>
>>Thanks in advance,
>>
>>
>>Golo
>>
>>
>>_______________________________________________
>>Mono-list maillist  -  Mono-list@ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-list
>>
> 
> 
> 
>