doctordruidphd
unread,Oct 11, 2012, 5:28:58 PM10/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mat...@googlegroups.com
Downloaded mathmap-1.3.5.tar.gz.
Had to make a symlink from /usr/include/gtksourceview-3.0 to /usr/include/gtksourceview
Compiling crashes at this point:
greenman@Wolfenstein:/opt/mathmap/mathmap-1.3.5$ make
Package gtksourceview-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtksourceview-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtksourceview-2.0' found
gcc -I. -I/usr/local/include -D_GNU_SOURCE -O2 -Wall -DCGEN_CC="\"gcc -O2 -c -fPIC -o\"" -DCGEN_LD="\"gcc -shared -o\"" -pthread -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/gimp-2.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DLOCALEDIR=\"/usr/local/share/locale\" -DTEMPLATE_DIR=\"/usr/local/share/gimp/2.0/mathmap\" -DPIXMAP_DIR=\"/usr/local/share/gimp/2.0/mathmap\" -DENABLE_NLS -DHAVE_FFTW -DUSE_GTHREADS -DUSE_GTKSOURCEVIEW -std=gnu99 -DGIMPDATADIR=\"/usr/local/share/gimp/2.0\" -DMATHMAP_VERSION=\"1.3.5\" -DRWIMG_JPEG -DRWIMG_PNG -DRWIMG_GIF -o mathmap.o -c mathmap.c
In file included from /usr/include/gtksourceview/gtksourcebuffer.h:32:0,
from /usr/include/gtksourceview/gtksourceview.h:29,
from mathmap.c:55:
/usr/include/gtksourceview/gtksourcestylescheme.h:90:10: error: unknown type name ‘GdkRGBA’
In file included from /usr/include/gtksourceview/gtksourcegutter.h:30:0,
from /usr/include/gtksourceview/gtksourceview.h:30,
from mathmap.c:55:
/usr/include/gtksourceview/gtksourcegutterrenderer.h:186:54: error: unknown type name ‘GdkRGBA’
/usr/include/gtksourceview/gtksourcegutterrenderer.h:189:54: error: unknown type name ‘GdkRGBA’
In file included from /usr/include/gtksourceview/gtksourceview.h:31:0,
from mathmap.c:55:
/usr/include/gtksourceview/gtksourcemarkattributes.h:66:66: error: unknown type name ‘GdkRGBA’
/usr/include/gtksourceview/gtksourcemarkattributes.h:69:66: error: unknown type name ‘GdkRGBA’
mathmap.c: In function ‘build_fast_image_source’:
mathmap.c:1271:14: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
mathmap.c: In function ‘mathmap_dialog’:
mathmap.c:1828:3: warning: implicit declaration of function ‘gtk_source_view_set_mark_category_pixbuf’ [-Wimplicit-function-declaration]
make: *** [mathmap.o] Error 1