httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens-Uwe Mager <>
Subject Proposal: changes to the script
Date Sun, 20 Sep 1998 15:53:58 GMT
While doing a few binary builds, I have found it to be rather difficult
to install the resulting distribution. I think this is rather paradox,
as a binary distribution is supposed to skip all the complexities users
without developer experiences face. I would like to propose the
following patch to the utility that makes a few thing

* It does use the APACI and it configures most of the modules as
  shared. This gives users maximum flexibility by being able to load at
  runtime what they need. These who object to loadable modules and opt
  for a statically linked all-in-one httpd probably will compile it
  themselves anyways.

* It saves the output of a dry (make -n) install run under
  binbuild-install. This file is usable as input to the shell and
  produces an installed apache from the binary tar ball as a make
  install would have done.

* It does not move the httpd any more nor does it make clean to be able
  to run the install process cleanly. This does result in larger tar
  balls, though.

Comments anyone?

---	Sun Sep 20 16:11:36 1998
+++	Sun Sep 20 17:27:02 1998
@@ -31,8 +31,10 @@
 # directory that it is untarred into
-# conf is the Configuration file that you wish to use to build httpd
+# arguments for the APCI configuration, do build most of the
+# modules as shared modules, this is most useful for binary
+# distributions.
+conf="--enable-module=most --enable-shared=max"
 # gzcat should be set to something that will take a .tar.gz as an 
 # argument and send the uncompressed .tar to stdout.  On some systems,
 # it will be zcat
@@ -55,25 +57,18 @@
 # particularily nice names but because it is easy
 system=`./$release/src/helpers/GuessOS | sed 's/\//_/g'` || exit 1
-cd $dir/src || exit 1
-echo running Configure
-./Configure || exit 1
+cd $dir || exit 1
+echo running configure
+./configure $conf || exit 1
 echo attempting to make httpd
-make 2>&1 | tee ../../make.out-$system
-if [ ! -f httpd ] ; then
+make 2>&1 | tee ../make.out-$system
+if [ ! -f src/httpd ] ; then
     echo error: httpd binary not made
     exit 1
-echo making binaries in support
-cd ./support || exit 1
-# no, we don't make suexec or worry too much about errors here
-# Marc is lazy.
+echo make succeeded, saving install rules
+make --no-print-directory -n install | sed -e 's/make/:/' >binbuild-install
 cd .. || exit 1
-echo make succeeded, saving the binary and doing a make clean
-mv httpd httpd-$system
-make clean || exit 1
-cd ../.. || exit 1
 echo creating tar file
 tar cf - $release > $release-$system.tar || exit 1

Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen

Phone:		+49 5131 709320
FAX:		+49 5131 709325

View raw message