From gje@bolekaja.mindspring.com Wed Mar 19 20:28:06 1997 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA16837 for ; Wed, 19 Mar 1997 20:28:05 -0500 Received: from bolekaja.mindspring.com by MIT.EDU with SMTP id AA17799; Wed, 19 Mar 97 20:28:04 EST Received: from localhost by bolekaja.mindspring.com with smtp id m0w7WKU-000MNOC (Debian Smail-3.2 1996-Jul-4 #2); Wed, 19 Mar 1997 20:07:22 -0500 (EST) Message-Id: Date: Wed, 19 Mar 1997 20:07:21 -0500 (EST) From: gje@bolekaja.mindspring.com To: krb5-bugs@MIT.EDU Subject: bash-2.02 syntax errs on recursion rules >Number: 403 >Category: krb5-build >Synopsis: bash-2.02 syntax errs on recursion rules >Confidential: no >Severity: serious >Priority: medium >Responsible: tlyu >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Wed Mar 19 20:29:01 EST 1997 >Last-Modified: Fri May 30 16:04:01 EDT 1997 >Originator: >Organization: >Release: >Environment: >Description: Bash 2.02 will not process the Makefiles produced by ./configure all-recurse clean-recurse install-recurse check-recurse Makefiles-recurse: @case "`echo '$(MFLAGS)'|sed -e 's/ --.*$$//'`" in \ *[ik]*) e=:;; *) e="exit 1";; esac; \ for i in $(SUBDIRS) ; do \ if test -d $$i ; then \ target=`echo $@|sed s/-recurse//`; \ echo "making $$target in $(CURRENT_DIR)$$i..."; \ if (cd $$i ; $(MAKE) CC="$(CC)" CCOPTS="$(CCOPTS)" \ CURRENT_DIR=$(CURRENT_DIR)$$i/ $$target) then :; \ else $$e; fi; \ else \ echo "Skipping missing directory $(CURRENT_DIR)$$i" ; \ fi \ done The make command would bring back a syntax error. If you change the last 'fi \' to 'fi ; \' it would work until it found the next Makefile with the same syntax. I did a find -name Makefile in the src/ and got 97. Since I am running Debian-1.2 I choose to downgrade back to bash 1.14 and it's compiling fine now. I hope that this info is useful GlennEverette|gje@mindspring.com|ElectronicServices|InternalUnixAdministrator|MindSpringEnterprises,Inc|Atlanta|GA|30309|404.815.0770x2876|Linux|Debian|[XE]macs|X11|AfterStep|Gnus|Lynx|Netscape|TCP/IP|GNU|!Win95|!NT|!IE|!OS/2|Escape|Meta|Alt|Control|Shift|are|the|keys|to|true|happiness|EOL [Internet=1=Thought] >How-To-Repeat: >Fix: >Audit-Trail: Responsible-Changed-From-To: gnats-admin->tlyu Responsible-Changed-By: tlyu Responsible-Changed-When: Wed Mar 19 20:40:40 1997 Responsible-Changed-Why: Refiled State-Changed-From-To: open-feedback State-Changed-By: tlyu State-Changed-When: Wed Mar 19 20:44:36 1997 State-Changed-Why: This is going to need an explicit patch on the 1.0 branch since lots of stuff has happened to post.in in the interim. From: Tom Yu To: gje@bolekaja.mindspring.com Cc: krb5-bugs@MIT.EDU Subject: Re: krb5-build/403: bash-2.02 syntax errs on recursion rules Date: Wed, 19 Mar 1997 20:44:22 -0500 Thank you for your bug report. It's not clear from various bourne shell manpages whether the syntax is "for _name_ in _word_; do _list_ ; done" or "for _name_ in _word_; do _list_ done" And this seems to be a case where the ambiguity bites us. The way to fix this without downgrading would be to edit the appropriate part of src/config/post.in, which is where the recursion rule occurs. We will be including this fix in a later release. ---Tom State-Changed-From-To: feedback-closed State-Changed-By: tlyu State-Changed-When: Fri May 30 16:03:48 1997 State-Changed-Why: 1.0pl1 has been released >Unformatted: