[cups.general] Compiling on Solaris 10 error

Michael Sweet msweet at apple.com
Tue Aug 17 19:16:49 PDT 2010


The Kerberos headers in stock Solaris are broken.  You need to get the various updates for Solaris 10 installed in order to build anything against Kerberos...

On Aug 17, 2010, at 6:51 PM, Steven Gelsie wrote:

> I tried compiling cups on Solaris 10 (sparc) and I get the following error when trying to compile.  Thank in advance.  I tried make and gmake. I am using kerberos krb5-1.8.2.
> 
> Making all in ppdc...
> Compiling ppdc-array.cxx...
> In file included from /usr/local/include/gssapi/gssapi_krb5.h:32,
>                 from ../cups/http-private.h:51,
>                 from ../cups/globals.h:26,
>                 from ppdc-private.h:24,
>                 from ppdc-array.cxx:29:
> /usr/include/kerberosv5/krb5.h:3122: error: expected declaration before '}' token
> In file included from /usr/local/include/gssapi/gssapi_krb5.h:32,
>                 from ../cups/http-private.h:51,
>                 from ../cups/globals.h:26,
>                 from ppdc-private.h:24,
>                 from ppdc-array.cxx:29:
> /usr/include/kerberosv5/krb5.h:3121:1: unterminated #ifdef
> /usr/include/kerberosv5/krb5.h:8:1: unterminated #ifndef
> In file included from ../cups/http-private.h:51,
>                 from ../cups/globals.h:26,
>                 from ppdc-private.h:24,
>                 from ppdc-array.cxx:29:
> /usr/local/include/gssapi/gssapi_krb5.h:27:1: unterminated #ifndef
> In file included from ../cups/globals.h:26,
>                 from ppdc-private.h:24,
>                 from ppdc-array.cxx:29:
> ./cups/http-private.h:50:1: unterminated #ifdef
> ./cups/http-private.h:43:1: unterminated #ifdef
> ./cups/http-private.h:18:1: unterminated #ifndef
> In file included from ppdc-private.h:24,
>                 from ppdc-array.cxx:29:
> ./cups/globals.h:18:1: unterminated #ifndef
> In file included from ppdc-array.cxx:29:
> ppdc-private.h:15:1: unterminated #ifndef
> gmake[1]: *** [ppdc-array.o] Error 1
> gmake: *** [all] Error 1
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list