compile question



Hello,

I have the following question. Any hint would be appreciated. I try to
compile gtk+-2.10.1 on a Linux box. I compiled and installed all
required libraries (I think...) in their up to date version (see the
end of the mail). However, during compile of gtk I get the following
error message, which I don't understand (output attached): 

gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../gtk
-I../../../gtk -I../../../gdk -I../../../gdk
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -pthread
-I/scratch/apps/include/glib-2.0 -I/scratch/apps/lib/glib-2.0/include
-I/scratch/apps/include/pango-1.0 -I/scratch/apps/include/cairo
-I/scratch/apps/include/libpng12 -I/scratch/apps/include/freetype2
-I/scratch/apps/include -I/scratch/apps/include/atk-1.0
-I/usr/X11R6/include -DG_DISABLE_CAST_CHECKS -I/scratch/apps/include
-I/usr/X11R6/include -DG_DISABLE_DEPRECATED -g -O2 -Wall -MT
gtkprintbackendcups.lo -MD -MP -MF .deps/gtkprintbackendcups.Tpo -c
gtkprintbackendcups.c  -fPIC -DPIC -o .libs/gtkprintbackendcups.o
gtkprintbackendcups.c: In function `available_choices':
gtkprintbackendcups.c:1689: structure has no member named `name'
[This line is repeated 26 times]
gtkprintbackendcups.c: In function `create_pickone_option':
gtkprintbackendcups.c:1936: warning: implicit declaration of function
`create_pickone_option_custom'
gtkprintbackendcups.c:1936: warning: assignment makes pointer from
integer without a cast
gtkprintbackendcups.c: In function `handle_option':
gtkprintbackendcups.c:2053: structure has no member named `name'
gtkprintbackendcups.c:2060: structure has no member named `name'
gtkprintbackendcups.c:2067: structure has no member named `name'
gtkprintbackendcups.c: In function `handle_group':
gtkprintbackendcups.c:2096: structure has no member named `name'

/scratch/apps/include/glib-2.0/glib/gstring.h: At top level:
gtkprintbackendcups.c:1611: warning: `get_choice_text' defined but not
used
make[4]: *** [gtkprintbackendcups.lo] Error 1
make[4]: Leaving directory
`/scratch/src/gtk+-2.10.1/modules/printbackends/cups'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/scratch/src/gtk+-2.10.1/modules/printbackends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/scratch/src/gtk+-2.10.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scratch/src/gtk+-2.10.1'
make: *** [all] Error 2

I use the following versions of required libraries:
jpeg v6b, zlib 1.2.3, libpng 1.2.12, tiff 3.8.2, freetype 2.2.1 cairo
1.2.0, Glib 2.12.1, pango 1.13.5, ATK 1.10.3

all of them are installed in the directory /scratch/apps.

Any idea what I'm doing wrong?

Best regards,

Hanno



-- 
Hanno Klemm
klemm phys ethz ch





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]