parse error on job.h

Helge Blischke h.blischke at srz.de
Fri Jan 25 12:54:26 PST 2008


gary wrote:
> I just started to use CUPS for printing.
> The  version downloaded is 1.3.5 and above.
> The host is SUN E3000 on Solaris 8.
> i have installed gcc, make, autoconf, m4 from GNU.
> 
> when "make", it stops in compiling auth.c with the following error,
> 
> job.h:60: parse error before `krb5_ccache'
> job.h:60: warning: no semicolon at end of struct or union
> job.h:63: parse error before `}'
> job.h:63: warning: type defaults to `int' in declaration of `cupsd_job_t'
> job.h:63: warning: data definition has no type or storage class
> job.h:100: parse error before `*'
> job.h:100: warning: type defaults to `int' in declaration of `cupsdAddJob'
> job.h:100: warning: data definition has no type or storage class
> job.h:101: parse error before `*'
> job.h:107: parse error before `*'
> job.h:108: parse error before `*'
> 
> line 60 of /scheduler/job.h has the following lines,
> 
> #ifdef HAVE_GSSAPI
>   krb5_ccache           ccache;         /* Kerberos credential cache */
>   char                  *ccname;        /* KRB5CCNAME environment variable */
> #endif /* HAVE_GSSAPI */
> } cupsd_job_t;
> 
> I do not see anything wrong with that "ifdef......."
> 
> What have I missed ?
> 

Probably there is no kerberos installed or the
installed one is not recent enough. If you do not
really need kerberos authentication, rerun configure
with the option
	--disable-gssapi
or otherwise install Heimdahl kerberos, which should
be OK.

Helge


-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list