gtk2 compiling problem

Ryan Schmidt ryandesign at macports.org
Sun May 6 19:31:24 PDT 2007


On May 6, 2007, at 20:26, Daniel Wolk wrote:

> I tried installing gtk2 with the following command:
>
> port -v install gtk2
>
> It errored out with the following:
>
> gtkprintbackendcups.c: In function 'create_pickone_option':
> gtkprintbackendcups.c:1859: error: 'ppd_coption_t' undeclared (first
> use in this function)
> gtkprintbackendcups.c:1859: error: (Each undeclared identifier is
> reported only once
> gtkprintbackendcups.c:1859: error: for each function it appears in.)
> gtkprintbackendcups.c:1859: error: 'coption' undeclared (first use in
> this function)
> gtkprintbackendcups.c:1881: error: 'ppd_cparam_t' undeclared (first
> use in this function)
> gtkprintbackendcups.c:1881: error: 'cparam' undeclared (first use in
> this function)
> gtkprintbackendcups.c:1885: warning: comparison between pointer and  
> integer
> gtkprintbackendcups.c:1889: error: 'PPD_CUSTOM_INT' undeclared (first
> use in this function)
> gtkprintbackendcups.c:1893: error: 'PPD_CUSTOM_PASSCODE' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1897: error: 'PPD_CUSTOM_PASSWORD' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1901: error: 'PPD_CUSTOM_REAL' undeclared (first
> use in this function)
> gtkprintbackendcups.c:1905: error: 'PPD_CUSTOM_STRING' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1909: error: 'PPD_CUSTOM_POINTS' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1912: error: 'PPD_CUSTOM_CURVE' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1915: error: 'PPD_CUSTOM_INVCURVE' undeclared
> (first use in this function)
> 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
>
> Warning: the following items did not execute (for gtk2):
> com.apple.activate com.apple.build com.apple.destroot
> com.apple.install
> Error: Status 1 encountered during processing.
>
> ....
>
> Any ideas?

Need more info...

- What machine are you running this on?
- What version of Mac OS X are you using?
- Have you installed all Apple software updates for your OS?
- Do you have the latest Xcode? (2.4.1 for Mac OS X 10.4.9, 1.5 for  
10.3.9)
- Do you also have Fink installed? (That's been causing problems for  
others lately so now I'm asking it up front.)





More information about the macports-users mailing list