gtk-config suggestion for 1.2
- From: Mikael Hermansson <mikeh bahnhof se>
- To: gtk-devel-list redhat com
- Subject: gtk-config suggestion for 1.2
- Date: Sat, 22 Jul 2000 17:34:04 +0200
Hello gtk/glib developers!
I just downloaded gtk1.3/pango/glib1.3 for testing (from cvs).
But pango didn't compile.
Reason it calls wrong glib version. Checking it gave me this
CFLAGS from the created Makefiles
-I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0
The first one (-I/usr/local/include) is used by fribidi.
This means Pango is trying to include the old glib.h from gtk 1.2
(/usr/local/include/glib.h)
Probadly this will also happen on gtk1.3 (/usr/local/include/gtk.h)
when i'm trying compile that.
my suggestion is to change the old glib.h/gtk.h to an subdirectory the same
way as the new one (glib-1.2/gtk-1.2) and also change the directives in
gtk-config to make sure not include wrong version.
Or will this break back compabilities? IMHO this will only happen for those
who don't use gtk-config when create Makefile or am a wrong here? :-/)
Other way is to #include <glib-2.0/glib.h> in all c files in gtk+/glib/fribidi
and so on. This is to avoid have to many -I flags when compiling?
Greats
Mikael Hermansson
Btw... Sorry my poor english :-///
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]