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? ---> 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_dp orts_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.
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.
I'm in a similar situation and in the process of getting gnucash to install. Are you sure your gtk2 error is not about "cups/cups.h"? Because that was the case here, and installing the cups-headers port solved the issue (it doesn't seem to be reported in gtk2's deps though?). Ryan Schmidt wrote:
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.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- ...egal ob hyperventilierend oder ausgeruht.
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?
On 31/05/2007, at 7:48 PM, Rolo wrote:
I'm in a similar situation and in the process of getting gnucash to install. Are you sure your gtk2 error is not about "cups/cups.h"? Because that was the case here, and installing the cups-headers port solved the issue (it doesn't seem to be reported in gtk2's deps though?).
That's the trick. After installing cups-headers gtk2 installed and bluefish finished installing without any trouble. It's up and running now. thanks malcolm
participants (3)
-
Malcolm Fitzgerald
-
Rolo
-
Ryan Schmidt