Hello people. I wanted to recompile gtksourceview 2.11.2, because it was linked to an older version of libpng, and this caused some problems.
- The original version (actually installed) was compiled before I installed gtk3 - Now I have a compile (not configure) error. - Checking, it seems the the configure script checks if gtk3 is installed, and, if so, always tries to link with gtk3 (that, by itself, seems strange - gtksourceview 2.xx - < 2.90 - linking with gtk3?) - I can't see any option to select/force configuration with gtk2 Short of uninstalling gtk3 - is there a possibility to compile sourceview for 2.0? This is the make error: CC gtksourcecompletionwords.lo In file included from gtksourcecompletionwords.c:27:0: ../../../gtksourceview/gtksourcecompletion.h:60:2: error: expected specifier-qualifier-list before ‘GtkObject’ make[5]: ***[gtksourcecompletionwords.lo] Error 1 make[5]: Leaving directory`/usr/local/src/gnome/gtksourceview-2.11.2/gtksourceview/completion-providers/words' Here's the test in configure: if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 2.90\""; } ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 2.90") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then GTK_REQUIRED=gtk+-3.0 GTK_REQUIRED_VERSION=2.90.0 GTK_TYPELIB=Gtk-3.0 else GTK_REQUIRED=gtk+-2.0 GTK_REQUIRED_VERSION=2.16.0 GTK_TYPELIB=Gtk-2.0 fi _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list