Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#14580 closed defect (fixed)

gtk2: fails to install with error in gtkprintbackendcups.c

Reported by: greg_kellum@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gtk2 Cc:
Port:

Description

I'm running OS 10.5.2 on an Intel MacBook. I tried to install gtk2, and the installation failed with the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../gtk -I../../../gtk -I../../../gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -D_REENTRANT -DPNG_NO_MMX_CODE -DXTHREADS -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/atk-1.0 -DG_DISABLE_CAST_CHECKS -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include -I/usr/X11/include -I/usr/X11R6/include -MT gtkprintbackendcups.lo -MD -MP -MF .deps/gtkprintbackendcups.Tpo -c gtkprintbackendcups.c -fno-common -DPIC -o .libs/gtkprintbackendcups.o

gtkprintbackendcups.c: In function 'cups_dispatch_watch_check': gtkprintbackendcups.c:528: error: dereferencing pointer to incomplete type 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

Opening up the source file shows that it fails here:

#ifdef HAVE_CUPS_API_1_2

dispatch->data_poll->fd = httpGetFd (dispatch->request->http);

#else

dispatch->data_poll->fd = dispatch->request->http->fd;

#endif

Change History (3)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to nox@…

Assigning to maintainer.

comment:2 Changed 16 years ago by nox@…

Resolution: fixed
Status: newclosed

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.