To: | krb5-bugs@mit.edu |
From: | James A Goodwin <jagoodwi@us.ibm.com> |
Date: | Wed, 30 Mar 2005 12:52:20 -0600 |
Subject: | Kerberos 1.4 will not build gssapi_krb5.h on AIX 5.2 |
Submitter-Id: jagoodwi@us.ibm.com
Originator: James A. Goodwin
Organization: IBM
Confidential: no
Synopsis: Kerberos 1.4 will not build
gssapi_krb5.h
on AIX 5.2
Severity: serious
Priority: medium
Category: krb5-build
Class: sw-bug
Release: 1.4
Environment: AIX 5.2, C for AIX Compiler 6.0.0.0
System: pSeries 6C1
Machine: RS/6000
Description:
Initial make of Kerberos 1.4 fails with a Makefile syntax error:
making all in lib/gssapi/krb5...
/bin/sh: 0403-057 Syntax error at line 1 : `(' is not matched.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
How-To-Repeat:
Perform initial extract of Kerberos 1.4 distribution, configure, and run make:
> cd /usr/local/krb5-1.4/src
> ./configure CC=cc --without-tcl --without-krb4
> make
Fix:
Update the lib/gssapi/krb5/Makefile as specified by this 'diff -c' output:
*** Makefile.orig Wed Mar 30 12:09:15 2005
--- Makefile Wed Mar 30 12:16:30 2005
***************
*** 752,764 ****
##DOS##!if 0
gssapi_krb5.h: gssapi_krb5.hin
! @echo "Creating gssapi.h" ; \
! h=gss$$$$; $(RM) $$h; \
! (echo "/* This is the gssapi_krb5.h prologue. */"; \
! echo "$(include_stdint)" ; \
! echo "/* End of gssapi_krb5.h prologue. */"; \
! cat $(srcdir)/gssapi_krb5.hin )> $$h && \
! (set -x; $(MV) $$h $@) ; e=$$?; $(RM) $$h; exit $$e
##DOS##!endif
##DOS### No prologue needed for Windows, the support is
##DOS### in gssapi_krb5.hin already.
--- 752,762 ----
##DOS##!if 0
gssapi_krb5.h: gssapi_krb5.hin
! @echo "Creating gssapi.h"
! @echo "/* This is the gssapi_krb5.h prologue. */" > $@
! @echo "$(include_stdint)" >> $@
! @echo "/* End of gssapi_krb5.h prologue. */" >> $@
! cat $(srcdir)/gssapi_krb5.hin >> $@
##DOS##!endif
##DOS### No prologue needed for Windows, the support is
##DOS### in gssapi_krb5.hin already.