Thanks Przemyslaw,
>Do not build GTK yourself.
I have already built and installed GTK from source - not sure how to remove?
I installed Harbour from RPMs built by using your mpkg_rpm_from_svn.sh
script. It works fine.

>Then download currect xhgtk CVS  
I cannot find this in SF - all I see on xhgtk page is a download for source
and a download for Windows installer.
I am looking here:-
https://sourceforge.net/project/showfiles.php?group_id=123078
This is why I am struggling trying to build from source.
I do not understand how CVS works although I know what it is.

I have added the two -devel packages that Thomas suggested but the make is
still failing :-

[EMAIL PROTECTED] xhgtk]$ make
gcc -c -W -Wall -O2 `pkg-config --cflags gtk+-2.0 libglade-2.0`
-I/usr/include/harbour -Iinclude -oobj/callback.o source/callback.c             
                                                  
Package gdk-x11-2.0-uninstalled was not found in the pkg-config search path.    
                 
Perhaps you should add the directory containing `gdk-x11-2.0-uninstalled.pc'    
                 
to the PKG_CONFIG_PATH environment variable                                     
                 
Package 'gdk-x11-2.0-uninstalled', required by 'GTK+ Uninstalled', not found    
                 
In file included from source/callback.c:15:                                     
                 
include/xhgtk.h:21:18: error: glib.h: No such file or directory                 
                 
include/xhgtk.h:22:21: error: gtk/gtk.h: No such file or directory 
etc. etc.

Cheers, 
Barry


Przemyslaw Czerpak-2 wrote:
> 
> Do not build GTK yourself. Use RPM packages compiled for your
> distribution. Tomas gave you valid names.
> Harbour also installs from RPMs. You can create them from non
> root account by ./mpkg_rpm.sh. They will be storred in
> $HOME/RPM/RPMS/<arch> directory.
> Install them as root.
> Then download currect xhgtk CVS (see on SF xhgtk page valid addresses
> for CVS configuration) and create XHGTK RPMs from non root account by
> ./make_rpm.sh in XHGKT directory. Then install them as root.
> Use hb* scripts to compile and link your applications with -lxhgtk
> parameter. If you will want to use xhgtk static library with hardcoded
> GTK dependencies inside your application then use -xhgtk hb* script
> parameter.
> That's all what you need.
-- 
View this message in context: 
http://www.nabble.com/Re%3A-Building-xhgtk-library-Click-to-flag-this-post-tp20794596p20831902.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to