Ich wollte eigentlich nur das libwxgtk mit gtk2 repacken.
apt-get source libwxgtk2.4, dann debian/rules geändert (überall mit --enable-gtk2)
und dann compiliert.
Aber ich bekomme immer wieder die selbe Fehlermeldung !!! (und das egal mit welchem compiler! Ich habe gcc.3.3 und gcc3.2 versucht, bei beiden das selbe):
Code: Alles auswählen
In file included from /usr/include/gtk-1.2/gdk/gdk.h:31,
from /usr/include/gtk-1.2/gtk/gtk.h:31,
from src/helpers.cpp:26:
/usr/include/gtk-1.2/gdk/gdktypes.h:52: conflicting types for `typedef gulong
GdkAtom'
/tmp/wxwindows2.4-2.4.1.2/include/wx/defs.h:2053: previous declaration as `
typedef struct _GdkAtom*GdkAtom'
/usr/include/gtk-1.2/gdk/gdktypes.h:57: conflicting types for `typedef struct
_GdkWindow GdkWindow'
/tmp/wxwindows2.4-2.4.1.2/include/wx/defs.h:2054: previous declaration as `
typedef struct _GdkDrawable GdkWindow'
/usr/include/gtk-1.2/gdk/gdktypes.h:58: conflicting types for `typedef struct
_GdkWindow GdkPixmap'
/tmp/wxwindows2.4-2.4.1.2/include/wx/defs.h:2056: previous declaration as `
typedef struct _GdkDrawable GdkPixmap'
/usr/include/gtk-1.2/gdk/gdktypes.h:59: conflicting types for `typedef struct
_GdkWindow GdkBitmap'
/tmp/wxwindows2.4-2.4.1.2/include/wx/defs.h:2055: previous declaration as `
typedef struct _GdkDrawable GdkBitmap'
error: command 'gcc-3.2' failed with exit status 1
make: *** [build-gtk-py-stamp] Fehler 1