Menu

#1 can't install with Gnome 2.0

open
Ed Falk
None
5
2010-01-03
2010-01-03
Anonymous
No

xdraft looks for gnome 1.0 , more precisely gnome-config. Even when changed to pkg-config, it won't compile..

--MAKE OUTPUT---
[mario@leni xdraft-0.13]$ make
cd Widgets ; make
make[1]: Ulazim u direktorij `/home/mario/Downloads/xdraft-0.13/Widgets'
cc -O `pkg-config --cflags libgnome-2.0 libgnomeui-2.0` -c -o dialog_helper.o dialog_helper.c
dialog_helper.c: In function ‘param_width’:
dialog_helper.c:388: error: ‘GtkStyle’ has no member named ‘font’
dialog_helper.c: In function ‘param_height’:
dialog_helper.c:414: error: ‘GtkStyle’ has no member named ‘font’
dialog_helper.c: In function ‘widget_common’:
dialog_helper.c:578: error: ‘GtkStyle’ has no member named ‘font’
dialog_helper.c:579: error: ‘GtkStyle’ has no member named ‘font’
dialog_helper.c:580: error: ‘GtkStyle’ has no member named ‘font’
dialog_helper.c: In function ‘DHTree’:
dialog_helper.c:924: warning: passing argument 1 of ‘dialog_simple’ makes pointer from integer without a cast
dialog_helper.c:601: note: expected ‘struct GtkWidget *’ but argument is of type ‘int’
dialog_helper.c: In function ‘DHEntry’:
dialog_helper.c:1017: warning: passing argument 3 of ‘gtk_signal_connect_full’ from incompatible pointer type
/usr/include/gtk-2.0/gtk/gtksignal.h:119: note: expected ‘GCallback’ but argument is of type ‘void (*)(struct GtkWidget *, struct GdkEventFocus *, void *)’
dialog_helper.c: In function ‘DHGnomeEntry’:
dialog_helper.c:1047: warning: passing argument 3 of ‘gtk_signal_connect_full’ from incompatible pointer type
/usr/include/gtk-2.0/gtk/gtksignal.h:119: note: expected ‘GCallback’ but argument is of type ‘void (*)(struct GtkWidget *, struct GdkEventFocus *, void *)’
dialog_helper.c: In function ‘DHText’:
dialog_helper.c:1066: warning: assignment makes pointer from integer without a cast
dialog_helper.c: In function ‘get_pixmap’:
dialog_helper.c:2122: warning: return makes pointer from integer without a cast
dialog_helper.c:2130: warning: passing argument 1 of ‘gnome_pixmap_new_from_xpm_d’ from incompatible pointer type
/usr/include/libgnomeui-2.0/libgnomeui/gnome-pixmap.h:75: note: expected ‘const gchar **’ but argument is of type ‘char **’
make[1]: *** [dialog_helper.o] Greška 1
make[1]: Izlazim iz direktorija `/home/mario/Downloads/xdraft-0.13/Widgets'
make: *** [Widgets/libutil.a] Greška 2

Discussion

  • Ed Falk

    Ed Falk - 2010-01-03

    Xdraft uses gtk+/gnome 1.x and not gtk/gnome 2.0. Unfortunately, gtk 2 is not backward-compatible with gtk+ (this is one of several reasons why I no longer consider gtk to be my friend)

    The good news is that you can have both gtk+ and gtk2 installed on your system at the same time. Just install libgtk1.2 and libgnome32 packages on your system and you should be good to go.

     
  • Ed Falk

    Ed Falk - 2010-01-03
    • assigned_to: nobody --> efalk
     

Log in to post a comment.