Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#10699 closed defect (worksforme)

BUG: gtk2-2.10.2 doesn't build on Mac OS X 10.3

Reported by: ljosa-macports@… Owned by: yeled@…
Priority: Normal Milestone:
Component: ports Version: 1.3.2
Keywords: gtk2 Cc: markd@…
Port:

Description

gtk2 2.10.2, Revision 1 builds just fine on Mac OS X 10.4, but not on 10.3. See error messages below. Installing cups-headers makes no difference.

Darwin amacrine.ece.ucsb.edu 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc

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.2" && make all CFLAGS+="-I/usr/X11R6/include"" returned error 2
Command output: gtkprintbackendcups.c:2283: error: request for member `num_groups' in something not a structure or union
gtkprintbackendcups.c:2284: error: request for member `groups' in something not a structure or union
gtkprintbackendcups.c: At top level:
gtkprintbackendcups.c:2294: error: parse error before "ppd_file_t"
gtkprintbackendcups.c:2294: warning: no semicolon at end of struct or union
gtkprintbackendcups.c: In function `foreach_option_get_settings':
gtkprintbackendcups.c:2537: error: dereferencing pointer to incomplete type
gtkprintbackendcups.c: In function `cups_printer_get_settings_from_options':
gtkprintbackendcups.c:2589: error: storage size of `data' isn't known
gtkprintbackendcups.c: In function `cups_printer_list_papers':
gtkprintbackendcups.c:2685: error: `ppd_file_t' undeclared (first use in this function)
gtkprintbackendcups.c:2686: error: `ppd_size_t' undeclared (first use in this function)
gtkprintbackendcups.c:2686: error: `size' undeclared (first use in this function)
gtkprintbackendcups.c:2690: error: `ppd_option_t' undeclared (first use in this function)
gtkprintbackendcups.c:2690: error: `option' undeclared (first use in this function)
gtkprintbackendcups.c:2691: error: `ppd_choice_t' undeclared (first use in this function)
gtkprintbackendcups.c:2691: error: `choice' undeclared (first use in this function)
gtkprintbackendcups.c:2701: error: request for member `num_sizes' in something not a structure or union
gtkprintbackendcups.c:2703: error: request for member `sizes' in something not a structure or union
gtkprintbackendcups.c: In function `cups_printer_get_hard_margins':
gtkprintbackendcups.c:2744: error: `ppd_file_t' undeclared (first use in this function)
gtkprintbackendcups.c:2750: error: request for member `custom_margins' in something not a structure or union
gtkprintbackendcups.c:2751: error: request for member `custom_margins' in something not a structure or union
gtkprintbackendcups.c:2752: error: request for member `custom_margins' in something not a structure or union
gtkprintbackendcups.c:2753: 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

Change History (6)

comment:1 Changed 18 years ago by ljosa-macports@…

Not sure why this was assigned to yeled@…. The maintainer, mij@…, was not on the list, so I tried to leave it unassigned.

comment:2 Changed 18 years ago by meckports@…

This is the Output for the gtk+-2.10.3-version on Panther: (cups-headers installed or not makes no difference.) Last running Version on my machine was gtk+-2.8.19.

gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../gtk -I../../../gtk -I../../../gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -D_REENTRANT -DXTHREADS -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/atk-1.0 -DG_DISABLE_CAST_CHECKS -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/usr/X11R6/include -I/usr/X11R6/include -MT gtkcupsutils.lo -MD -MP -MF .deps/gtkcupsutils.Tpo -c gtkcupsutils.c -fno-common -DPIC -o .libs/gtkcupsutils.o gtkcupsutils.c: In function `_post_send': gtkcupsutils.c:537: error: structure has no member named `authstring' gtkcupsutils.c: In function `_get_send': gtkcupsutils.c:824: error: structure has no member named `authstring' make[4]: * [gtkcupsutils.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

I will try to install it manually.

So long, Jens

comment:3 Changed 18 years ago by pipping@…

Milestone: Port Bugs

comment:4 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: worksforme
Status: newclosed

Newer versions of the GTK port have installed fine on 10.3.

comment:5 Changed 17 years ago by william.allen.simpson@…

Recurred for Ticket #11379, 2.10.7, 2.10.9, 2.10.11, 2.10.13_0, and counting....

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.