Hello, i hope somebody can help me… i have openSuse 11.0 and like to install gutenprint 5.1.7 because only in this Version my Epson Stylus Photo R285 is included! I don’t find any RPM File for Suse so i must install it over the Source Download.
./configure --with-gimp2 is running without any errors but “make” shows at the end some errors:
gcc -DHAVE_CONFIG_H -I. -I…/… -I…/…/include -I…/…/include -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations-Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072 -Disfinite=finite -O6 -MT escputil.o -MD -MP -MF .deps/escputil.Tpo -c -o escputil.o escputil.c
escputil.c: In function ‘main’:
escputil.c:291: warning: unused variable ‘locale’
escputil.c: In function ‘do_align_help’:
escputil.c:1802: warning: format not a string literal, argument types not checked
escputil.c:1804: warning: format not a string literal, argument types not checked
escputil.c: In function ‘do_align’:
escputil.c:1976: warning: format not a string literal, argument types not checked
mv -f .deps/escputil.Tpo .deps/escputil.Po
/bin/sh …/…/libtool --tag=CC --mode=link gcc -Disfinite=finite -O6 -o escputil d4lib.o escputil.o …/…/src/main/libgutenprint.la
mkdir .libs
gcc -Disfinite=finite -O6 -o .libs/escputil d4lib.o escputil.o …/…/src/main/.libs/libgutenprint.so -lm
creating escputil
make[3]: Leaving directory /home/mathias/Desktop/gutenprint-5.1.7/src/escputil' Making all in gimp2 make[3]: Entering directory
/home/mathias/Desktop/gutenprint-5.1.7/src/gimp2’
gcc -DHAVE_CONFIG_H -I. -I…/… -I…/…/include -I…/…/include -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072 -Disfinite=finite -O6 -MT print-image-gimp.o -MD -MP -MF .deps/print-image-gimp.Tpo -c -o print-image-gimp.o print-image-gimp.c
In file included from print-image-gimp.c:30:
print_gimp.h:36:21: error: gtk/gtk.h: Datei oder Verzeichnis nicht gefunden
print_gimp.h:37:26: error: libgimp/gimp.h: Datei oder Verzeichnis nicht gefunden
print_gimp.h:38:28: error: libgimp/gimpui.h: Datei oder Verzeichnis nicht gefunden
In file included from …/…/include/gutenprintui2/gutenprintui.h:45,
from print_gimp.h:41,
from print-image-gimp.c:30:
…/…/include/gutenprintui2/curve.h:41:21: error: gdk/gdk.h: Datei oder Verzeichnis nicht gefunden
…/…/include/gutenprintui2/curve.h:42:32: error: gtk/gtkdrawingarea.h: Datei oder Verzeichnis nicht gefunden
In file included from …/…/include/gutenprintui2/gutenprintui.h:45,
from print_gimp.h:41,
from print-image-gimp.c:30:
…/…/include/gutenprintui2/curve.h:72: error: expected specifier-qualifier-list before ‘GtkDrawingArea’
…/…/include/gutenprintui2/curve.h:96: error: expected specifier-qualifier-list before ‘GtkDrawingAreaClass’
…/…/include/gutenprintui2/curve.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘stpui_curve_get_type’
…/…/include/gutenprintui2/curve.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
…/…/include/gutenprintui2/curve.h:111: error: expected declaration specifiers or ‘…’ before ‘gfloat’
…/…/include/gutenprintui2/curve.h:113: error: expected declaration specifiers or ‘…’ before ‘gfloat’
…/…/include/gutenprintui2/curve.h:113: error: expected declaration specifiers or ‘…’ before ‘gfloat’
…/…/include/gutenprintui2/curve.h:114: error: expected declaration specifiers or ‘…’ before ‘gfloat’
…/…/include/gutenprintui2/curve.h:114: error: expected declaration specifiers or ‘…’ before ‘gfloat’
…/…/include/gutenprintui2/curve.h:116: error: expected declaration specifiers or ‘…’ before ‘gfloat’
…/…/include/gutenprintui2/curve.h:118: warning: type defaults to ‘int’ in declaration of ‘gfloat’
…/…/include/gutenprintui2/curve.h:118: error: expected ‘;’, ‘,’ or ‘)’ before ‘vector’
In file included from …/…/include/gutenprintui2/gutenprintui.h:46,
from print_gimp.h:41,
from print-image-gimp.c:30:
…/…/include/gutenprintui2/gammacurve.h:32:25: error: gtk/gtkvbox.h: Datei oder Verzeichnis nicht gefunden
In file included from …/…/include/gutenprintui2/gutenprintui.h:46,
from print_gimp.h:41,
from print-image-gimp.c:30:
…/…/include/gutenprintui2/gammacurve.h:53: error: expected specifier-qualifier-list before ‘GtkVBox’
…/…/include/gutenprintui2/gammacurve.h:66: error: expected specifier-qualifier-list before ‘GtkVBoxClass’
…/…/include/gutenprintui2/gammacurve.h:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘stpui_gamma_curve_get_type’
…/…/include/gutenprintui2/gammacurve.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '’ token
In file included from …/…/include/gutenprintui2/gutenprintui.h:47,
from print_gimp.h:41,
from print-image-gimp.c:30:
…/…/include/gutenprintui2/typebuiltins.h:7:25: error: glib-object.h: Datei oder Verzeichnis nicht gefunden
In file included from …/…/include/gutenprintui2/gutenprintui.h:47,
from print_gimp.h:41,
from print-image-gimp.c:30:
…/…/include/gutenprintui2/typebuiltins.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘GType’
…/…/include/gutenprintui2/typebuiltins.h:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘command_t_command_t_get_type’
…/…/include/gutenprintui2/typebuiltins.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘stpui_curve_type_get_type’
In file included from print_gimp.h:41,
from print-image-gimp.c:30:
…/…/include/gutenprintui2/gutenprintui.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘typedef’
…/…/include/gutenprintui2/gutenprintui.h:83: error: expected specifier-qualifier-list before ‘orient_t’
…/…/include/gutenprintui2/gutenprintui.h:126: error: expected declaration specifiers or ‘…’ before ‘gint’
…/…/include/gutenprintui2/gutenprintui.h:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘stpui_do_print_dialog’
…/…/include/gutenprintui2/gutenprintui.h:161: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘stpui_compute_orientation’
…/…/include/gutenprintui2/gutenprintui.h:162: error: expected ‘)’ before ‘width’
…/…/include/gutenprintui2/gutenprintui.h:163: error: expected ‘)’ before ‘xres’
…/…/include/gutenprintui2/gutenprintui.h:165: error: expected ‘)’ before ‘channels’
…/…/include/gutenprintui2/gutenprintui.h:166: error: expected ‘)’ before ‘bit_depth’
…/…/include/gutenprintui2/gutenprintui.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
…/…/include/gutenprintui2/gutenprintui.h:170: warning: parameter names (without types) in function declaration
…/…/include/gutenprintui2/gutenprintui.h:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘stpui_get_thumbnail_func’
In file included from print-image-gimp.c:30:
print_gimp.h:44: error: expected ‘)’ before '’ token
print_gimp.h:49: error: expected declaration specifiers or ‘…’ before ‘GimpParamDef’
In file included from print-image-gimp.c:32:
print-intl.h:26:18: error: glib.h: Datei oder Verzeichnis nicht gefunden
print-image-gimp.c:62: error: expected specifier-qualifier-list before ‘GimpDrawable’
print-image-gimp.c: In function ‘compute_alpha_table’:
print-image-gimp.c:139: error: ‘Gimp_Image_t’ has no member named ‘alpha_table’
print-image-gimp.c:142: error: ‘Gimp_Image_t’ has no member named ‘alpha_table’
print-image-gimp.c: In function ‘alpha_lookup’:
print-image-gimp.c:149: error: ‘Gimp_Image_t’ has no member named ‘alpha_table’
print-image-gimp.c: At top level:
print-image-gimp.c:153: error: expected ‘)’ before ‘*’ token
print-image-gimp.c: In function ‘Image_reset’:
print-image-gimp.c:193: error: ‘Gimp_Image_t’ has no member named ‘columns’
print-image-gimp.c:193: error: ‘FALSE’ undeclared (first use in this function)
print-image-gimp.c:193: error: (Each undeclared identifier is reported only once
print-image-gimp.c:193: error: for each function it appears in.)
print-image-gimp.c:194: error: ‘Gimp_Image_t’ has no member named ‘ox’
…
… and much more of this errors…
…
print-image-gimp.c:434: error: ‘Gimp_Image_t’ has no member named ‘tmp’
make[3]: *** [print-image-gimp.o] Fehler 1
make[3]: Leaving directory /home/mathias/Desktop/gutenprint-5.1.7/src/gimp2' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory
/home/mathias/Desktop/gutenprint-5.1.7/src’
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/mathias/Desktop/gutenprint-5.1.7’
make: *** [all] Fehler 2
I think this is not normal because after “make install” no “gutenprint” directory is under /usr/share/cups/model/ … but why? Do anyone knows what i need for correct installation of gutenprint?
br,
Mathias