[MacPorts] #18252: gtk2 on Panther: `ppd_attr_t' undeclared (first use in this function)

MacPorts noreply at macports.org
Fri Jan 30 02:52:59 PST 2009


#18252: gtk2 on Panther: `ppd_attr_t' undeclared (first use in this function)
----------------------------------+-----------------------------------------
 Reporter:  EvilKnight@…          |       Owner:  nox@…           
     Type:  defect                |      Status:  new             
 Priority:  Normal                |   Milestone:  Port Bugs       
Component:  ports                 |     Version:  1.7.0           
 Keywords:                        |        Port:  gtk2            
----------------------------------+-----------------------------------------

Comment(by rob@…):

 Replying to [comment:7 ryandesign@…]:

 > I did a little investigating and found that ppd_attr_t is indeed not
 defined by any file in the cups-headers port. It is, however, defined in
 /usr/include/cups/ppd.h on Tiger. So it looks like gtk2 is now using a
 newer version of CUPS than the cups-headers port provides headers for. We
 could possibly update cups-headers to install headers from a newer version
 of CUPS, but I think the headers have to match the version of CUPS
 provided by the OS. Curiously, according to cups-config, Panther provides
 CUPS 1.1.20rc1 while Tiger has CUPS 1.1.23, but the cups-headers port is
 at version 1.1.15. I wonder if just updating cups-headers to 1.1.20rc1
 would work.
 >
 > Another thing we could do is use "configure.args-append --disable-cups"
 on Panther. This should ensure we don't run into CUPS-related problems on
 Panther in the future, but obviously at the expense of disabling CUPS
 support in gtk2 on Panther.

 Thats great, thank you so much - built it without cups which is fine for
 my requirements.  Doesnt seem as satisfying as fixing it though :) am i
 able to update to cups-headers 1.1.20 without relying on ports and then
 maybe retrying gtk2 with cups support?  may seem like a daft question but
 I'm still learning.
 BTW after gtk2 installed a few more dependencies down the line tk failed
 but I put that in as a new ticket.  Are these fails mainly cos I'm still
 using panther do you think?

-- 
Ticket URL: <http://trac.macports.org/ticket/18252#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list