Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 25662 invoked by uid 6000); 5 Jun 1998 07:49:41 -0000 Received: (qmail 25655 invoked from network); 5 Jun 1998 07:49:39 -0000 Received: from slarti.muc.de (193.174.4.10) by taz.hyperreal.org with SMTP; 5 Jun 1998 07:49:39 -0000 Received: (qmail 26706 invoked by uid 66); 5 Jun 1998 07:48:29 -0000 Received: by en1.engelschall.com (Sendmail 8.9.0) id IAA12424; Fri, 5 Jun 1998 08:41:39 +0200 (CEST) Message-ID: <19980605084139.A28119@engelschall.com> Date: Fri, 5 Jun 1998 08:41:39 +0200 From: "Ralf S. Engelschall" To: new-httpd@apache.org Subject: Re: ./configure install on MIPS Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i Organization: Engelschall, Germany. X-Home: http://www.engelschall.com/ Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org In article <199806041828.OAA25549@siam.gensym> you wrote: > If I change all the -x to -f so that problem with the MIPS test > not supporting -x is avoided then ./configure works on the > MIPS, and the make proceeds fine, but then the install fails. This will be fixed by me today. > > uname -a > ULTRIX th 4.1 0 RISC > > pwd > /tmp_mnt/home/gw/tmp/aa/bt/mips/apache_1.3.0 > > make -n install > if [ ! -f ./src/.apaci.build.ok ]; then make -f Makefile root= build; fi > *** Error code 1 > > Stop. > > sh -c 'if [ ! -f ./src/.apaci.build.ok ]; then make -f Makefile root= build; fi' > > echo $status > 1 > > An else clause (e.g. > if [ ! -f ./src/.apaci.build.ok ]; then make -f Makefile root= build; else echo foo; fi) > works around this one. Yeah, seems this is the general problem with braindead shells. Does is mean you really get a return code of 1 when you execute sh -c 'if [ 0 = 1 ]; then fuck; fi' ? If yes, we have to make add "else :" statements to all if-statements in our Makefiles. I always get return code 0 for the above under FreeBSD and Linux /bin/sh and GNU bash.... Ralf S. Engelschall rse@engelschall.com www.engelschall.com