gtk2: gtkprintbackendcups.c compile error

Teus Benschop teus at teusbenschop.nl
Wed Feb 21 09:52:20 PST 2007


Hi,

Trying to install gtk2 using command sudo port install gtk2, it gives 
the errors given below. It happens on OS 10.3.

Does anybody know how to get around this?

Thank you,

Teus.

--->  Building gtk2 with target all
Error: Target com.apple.build returned: shell command "cd 
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_gtk2/work/gtk+-2.10.9" 
&& make all CFLAGS+="-I/usr/X11R6/include"" returned error 2
Command output: gtkprintbackendcups.c:2322: error: request for member 
`num_groups' in something not a structure or union
gtkprintbackendcups.c:2323: error: request for member `groups' in 
something not a structure or union
gtkprintbackendcups.c: At top level:
gtkprintbackendcups.c:2333: error: parse error before "ppd_file_t"
gtkprintbackendcups.c:2333: warning: no semicolon at end of struct or union
gtkprintbackendcups.c: In function `foreach_option_get_settings':
gtkprintbackendcups.c:2576: error: dereferencing pointer to incomplete type
gtkprintbackendcups.c: In function `cups_printer_get_settings_from_options':
gtkprintbackendcups.c:2628: error: storage size of `data' isn't known
gtkprintbackendcups.c: In function `cups_printer_list_papers':
gtkprintbackendcups.c:2724: error: `ppd_file_t' undeclared (first use in 
this function)
gtkprintbackendcups.c:2725: error: `ppd_size_t' undeclared (first use in 
this function)
gtkprintbackendcups.c:2725: error: `size' undeclared (first use in this 
function)
gtkprintbackendcups.c:2729: error: `ppd_option_t' undeclared (first use 
in this function)
gtkprintbackendcups.c:2729: error: `option' undeclared (first use in 
this function)
gtkprintbackendcups.c:2730: error: `ppd_choice_t' undeclared (first use 
in this function)
gtkprintbackendcups.c:2730: error: `choice' undeclared (first use in 
this function)
gtkprintbackendcups.c:2740: error: request for member `num_sizes' in 
something not a structure or union
gtkprintbackendcups.c:2742: error: request for member `sizes' in 
something not a structure or union
gtkprintbackendcups.c: In function `cups_printer_get_hard_margins':
gtkprintbackendcups.c:2783: error: `ppd_file_t' undeclared (first use in 
this function)
gtkprintbackendcups.c:2789: error: request for member `custom_margins' 
in something not a structure or union
gtkprintbackendcups.c:2790: error: request for member `custom_margins' 
in something not a structure or union
gtkprintbackendcups.c:2791: error: request for member `custom_margins' 
in something not a structure or union
gtkprintbackendcups.c:2792: error: request for member `custom_margins' 
in something not a structure or union
make[4]: *** [gtkprintbackendcups.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.




More information about the macports-users mailing list