Received: by taz.hyperreal.com (8.8.3/V2.0) id JAA23235; Fri, 3 Jan 1997 09:16:00 -0800 (PST) Received: from sierra.zyzzyva.com by taz.hyperreal.com (8.8.3/V2.0) with ESMTP id JAA23231; Fri, 3 Jan 1997 09:15:55 -0800 (PST) Received: from sierra (localhost [127.0.0.1]) by sierra.zyzzyva.com (8.8.4/8.8.2) with ESMTP id LAA07873 for ; Fri, 3 Jan 1997 11:15:37 -0600 (CST) Message-Id: <199701031715.LAA07873@sierra.zyzzyva.com> Date: Fri, 03 Jan 1997 11:15:37 -0600 From: Randy Terbush Subject: Re: apache_1.2b4 build in Ultrix (4.x) (fwd) Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com ------- Blind-Carbon-Copy To: James MacKinnon Subject: Re: apache_1.2b4 build in Ultrix (4.x) (fwd) In-reply-to: jmack's message of Fri, 03 Jan 1997 10:05:14 -0700. X-uri: http://www.zyzzyva.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 03 Jan 1997 11:15:37 -0600 From: Randy Terbush Would it be possible to add 'set -x' to the PrintPath script and send us the output? This should be fixable without having to hack the shell. You might also change the '#!/bin/sh' to ':' and report the results as well. Thanks > On Fri, 3 Jan 1997, Randy Terbush wrote: > > > Could you give more details regarding _what_ the standard shell > > has problems with? We have tried hard to make the build process > > runnable with a standard V7 /bin/sh. > > Hi Randy, > > DEC shipped their decstations with their own customised /bin/sh > (which doesn't behave in the expected way) and also a /bin/sh5 ( which > does behave properly). Go figure... > > After a closer look, the helper/PrintPath script is the problematic > script: > > >uname -a > ULTRIX pawnee 4.3 1 RISC > > >head -5 PrintPath > #!/bin/sh > # Look for $1 somewhere in $PATH > # will print out the full pathname unless > # called with the '-s' option > > >./PrintPath gcc > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > test: argument expected > > > so it's the tests which fail (i.e. 'if [ -x $path/$1 ]' etc) > edit PrintPath and change /bin/sh to /bin/sh5: > > >head -5 PrintPath > #!/bin/sh5 > # Look for $1 somewhere in $PATH > # will print out the full pathname unless > # called with the '-s' option > # > > >./PrintPath gcc > /usr/local/bin/gcc > > > The script I used to fix things up for Ultrix just changes all the > configuration scripts to use /bin/sh5. > > I also just noticed that my script can only be executed once - further > invocations may change other 'sh' strings within the scripts, so it > should only be run once (perhaps it could be called 'Fix.ultrix'). > > Cheers, > > > > > > > > > > ----- Forwarded message from James Stephen MacKinnon ----- > > > > > > Date: Thu, 2 Jan 1997 23:11:42 -0700 (MST) > > > From: James Stephen MacKinnon > > > X-Sender: jmack@pawnee > > > To: apache-bugs@apache.org > > > Subject: apache_1.2b4 build in Ultrix (4.x) > > > Message-ID: > > > MIME-Version: 1.0 > > > Content-Type: TEXT/PLAIN; charset=US-ASCII > > > > > > Hi, > > > > > > For DECstations running Ultrix, /bin/sh isn't the "standard" > > > shell (drat...). However, the DEC supplied /bin/sh5 does the right thing. > > > Building the configuration in the Ultrix environment requires that the > > > Configure and helper/* scripts be changed to #!/bin/sh5 rather than #!/bin/sh > > > > > > This can easily be accomplished with a simple 'Build.ultrix' script, which > > > could be added to your distribution in the src/ directory, with a note > > > in the INSTALL file to use this for Ultrix rather than Configure: > > > > > > #!/bin/sh5 > > > # name: Build.ultrix > > > # > > > # for Apache web server sources > > > # modify the Configure scripts to use /bin/sh5 instead of /bin/sh > > > # for the Ultrix environment, and run Configure afterwards as normal: > > > > > > echo 'modifying scripts for Ultrix /bin/sh5' > > > for i in Configure helpers/GuessOS helpers/PrintPath; do > > > cp $i .jnk > > > sed -e 's/sh/sh5/' .jnk > $i > > > chmod +x $i > > > done > > > rm -f .jnk > > > > > > # run Configure: > > > ./Configure > > > > > > # the end :-) > > > > > > > > > Cheers, > > > -- > > > James S. MacKinnon Office: P-139 Avahd-Bhatia Physics Lab > > > Computing/Networking Voice : (403) 492-8226 > > > Department of Physics > > > University of Alberta email : Jim.MacKinnon@Phys.UAlberta.CA > > > Edmonton, Canada T6G 2N5 : jmack@Phys.UAlberta.CA > > > > > > > > > > > > ----- End of forwarded message from James Stephen MacKinnon ----- > > > > > > -- > > > Rob Hartill. Internet Movie Database Ltd. http://www.imdb.com/ > > > > > > > > > > -- > James S. MacKinnon Office: P-139 Avahd-Bhatia Physics Lab > Team Physics Voice : (403) 492-8226 > University of Alberta email : Jim.MacKinnon@Phys.UAlberta.CA > Edmonton, Canada T6G 2N5 > WWW: http://www.phys.ualberta.ca/~jmack/jmack.html > ------- End of Blind-Carbon-Copy