[cups.general] Kerberos support does not compile on [Open]Solaris 10

Helge Blischke h.blischke at srz.de
Sat Nov 10 07:57:54 PST 2007


Michael R Sweet wrote:
> Helge Blischke wrote:
> 
>> Though the configure does not complain, cups 1.3.4
>> does not compile on sparc Solaris 10 unless configured
>> with "--disable-gssapi". The make run (GNU make 3.80,
>> gcc 3.4.3) complains about syntax errors when compiling
>> cupsd.
> 
> 
> I haven't seen this myself - please post a snippet from the make
> output...
> 

Here it is:

---snip--- configure output:
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... ./install-sh -c
checking for ranlib... ranlib
checking for ar... /usr/ccs/bin/ar
checking for htmldoc... no
checking for ld... /usr/ccs/bin/ld
checking for ln... /usr/bin/ln
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for sed... /usr/bin/sed
checking for strip... /usr/ccs/bin/strip
checking for library containing crypt... none required
checking for library containing getspent... none required
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking usersec.h usability... no
checking usersec.h presence... no
checking for usersec.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking scsi/sg.h usability... no
checking scsi/sg.h presence... no
checking for scsi/sg.h... no
checking for strdup... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for mkstemp... yes
checking for mkstemps... no
checking for geteuid... yes
checking for vsyslog... yes
checking for sigset... yes
checking for sigaction... yes
checking for waitpid... yes
checking for wait3... yes
checking for tm_gmtoff member in tm structure... no
checking for removefile... no
checking for library containing acl_init... no
checking whether to build image filters... yes
checking for library containing pow... -lm
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng... yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for stdlib.h... (cached) yes
checking for library containing socket... -lsocket
checking for library containing gethostbyaddr... -lnsl
checking for library containing getifaddrs... no
checking for library containing hstrerror... -lresolv
checking for library containing rresvport_af... none required
checking for library containing getaddrinfo... none required
checking for library containing getnameinfo... none required
checking for struct sockaddr.sa_len... no
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for AppleTalk/at_proto.h... no
checking for poll... yes
checking for epoll_create... no
checking for kqueue... no
checking slp.h usability... yes
checking slp.h presence... yes
checking for slp.h... yes
checking for SLPOpen in -lslp... yes
checking for krb5-config... no
checking for gss_display_status in -lgss... yes
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
checking gssapi.h usability... no
checking gssapi.h presence... no
checking for gssapi.h... no
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking gssapi/gssapi_generic.h usability... no
checking gssapi/gssapi_generic.h presence... no
checking for gssapi/gssapi_generic.h... no
checking gssapi/gssapi_krb5.h usability... no
checking gssapi/gssapi_krb5.h presence... no
checking for gssapi/gssapi_krb5.h... no
checking for gsskrb5_register_acceptor_identity... no
checking for krb5_cc_new_unique... no
checking for GSS_C_NT_HOSTBASED_SERVICE... yes
checking for Heimdal Kerberos... no
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking for ldap_initialize in -lldap... no
checking for libgnutls-config... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
     Using SSLLIBS="-lssl -lcrypto"
     Using SSLFLAGS="-DOPENSSL_DISABLE_OLD_DES_SUPPORT"
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for long long int... yes
checking for strtoll... yes
checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no
checking for launch_msg... no
checking launch.h usability... no
checking launch.h presence... no
checking for launch.h... no
checking whether to use network default printers... yes
checking for default print user... lp
checking for default print group... lp
checking for default system groups... "sys root"
checking whether to enable raw printing... no
checking for java... /usr/bin/java
checking for perl... /usr/bin/perl
checking for php... no
checking for python... /usr/sfw/bin/python
configure: creating ./config.status
....
---snip---

and here is the make output snippet

Making all in scheduler...
Compiling auth.c...
In file included from cupsd.h:127,
                  from auth.c:57:
job.h:60: error: syntax error before "krb5_ccache"
job.h:60: warning: no semicolon at end of struct or union
job.h:63: error: syntax error before '}' token
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: error: syntax error before '*' token
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: error: syntax error before '*' token
job.h:107: error: syntax error before '*' token
job.h:108: error: syntax error before '*' token
job.h:108: warning: type defaults to `int' in declaration of `cupsdFindJob'
job.h:108: warning: data definition has no type or storage class
job.h:109: error: syntax error before '*' token
job.h:113: error: syntax error before '*' token
job.h:115: error: syntax error before '*' token
job.h:116: error: syntax error before '*' token
job.h:117: error: syntax error before '*' token
job.h:118: error: syntax error before '*' token
job.h:120: error: syntax error before '*' token
job.h:121: error: syntax error before '*' token
job.h:122: error: syntax error before '*' token
job.h:124: error: syntax error before '*' token
job.h:125: error: syntax error before '*' token
In file included from cupsd.h:128,
                  from auth.c:57:
conf.h:227: error: syntax error before '*' token
In file included from cupsd.h:132,
                  from auth.c:57:
subscriptions.h:77: error: syntax error before "cupsd_job_t"
subscriptions.h:77: warning: no semicolon at end of struct or union
subscriptions.h:78: warning: type defaults to `int' in declaration of `cupsd_event_t'
subscriptions.h:78: warning: data definition has no type or storage class
subscriptions.h:91: error: syntax error before "cupsd_job_t"
subscriptions.h:91: warning: no semicolon at end of struct or union
subscriptions.h:93: error: 'pipe' redeclared as different kind of symbol
/usr/include/unistd.h:406: error: previous declaration of 'pipe' was here
subscriptions.h:93: error: 'pipe' redeclared as different kind of symbol
/usr/include/unistd.h:406: error: previous declaration of 'pipe' was here
subscriptions.h:100: error: syntax error before '*' token
subscriptions.h:100: warning: type defaults to `int' in declaration of `events'
subscriptions.h:100: warning: data definition has no type or storage class
subscriptions.h:101: error: syntax error before '}' token
subscriptions.h:101: warning: type defaults to `int' in declaration of `cupsd_subscription_t'
subscriptions.h:101: warning: data definition has no type or storage class
subscriptions.h:139: error: syntax error before "cupsd_job_t"
subscriptions.h:140: error: syntax error before '*' token
subscriptions.h:142: error: syntax error before "cupsd_job_t"
subscriptions.h:143: warning: type defaults to `int' in declaration of `cupsdAddSubscription'
subscriptions.h:143: warning: data definition has no type or storage class
subscriptions.h:145: error: syntax error before '*' token
subscriptions.h:151: error: syntax error before '*' token
subscriptions.h:152: warning: type defaults to `int' in declaration of `cupsdFindSubscription'
subscriptions.h:152: warning: data definition has no type or storage class
subscriptions.h:154: error: syntax error before "cupsd_job_t"
In file included from auth.c:57:
cupsd.h:163: error: syntax error before "KerberosContext"
cupsd.h:163: warning: type defaults to `int' in declaration of `KerberosContext'
cupsd.h:163: warning: data definition has no type or storage class
cupsd.h:209: warning: declaration of 'pid' shadows a global declaration
subscriptions.h:92: warning: shadowed declaration is here
cupsd.h:210: warning: declaration of 'pid' shadows a global declaration
subscriptions.h:92: warning: shadowed declaration is here
cupsd.h:214: warning: declaration of 'pid' shadows a global declaration
subscriptions.h:92: warning: shadowed declaration is here
make[1]: *** [auth.o] Error 1
make: *** [all] Error 1


Hope that helps

Helge

-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list