Install gtk2 fails

Ryan Schmidt ryandesign at macports.org
Thu May 31 02:25:20 PDT 2007


On May 31, 2007, at 02:31, Malcolm Fitzgerald wrote:

> I've just installed MacPorts. I'm trying to install bluefish. It  
> stops on an error while compiling gtk2. The messages are below.  
> What can I do to get past this problem?

I don't know. Can you give us more info? Processor architecture?  
Version of Mac OS, Xcode and MacPorts? Make sure you have the latest  
version of the software.

> --->  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.11" && 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