[MacPorts] #14580: gtk2: fails to install with error in gtkprintbackendcups.c

MacPorts trac at macosforge.org
Fri Mar 7 08:09:46 PST 2008


#14580: gtk2: fails to install with error in gtkprintbackendcups.c
-------------------------------------+--------------------------------------
 Reporter:  greg_kellum at hotmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.6.0                                
 Keywords:  gtk2                     |  
-------------------------------------+--------------------------------------
 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

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14580>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list