Jeff Trawick <[EMAIL PROTECTED]> writes:

> Jeff Trawick <[EMAIL PROTECTED]> writes:
> 
> > I'm still struggling with the tarball on AIX.  I think it is just a
> > matter of cleaning up libtool 1.3 droplets so that a fresh buildconf
> > does what it is supposed to do.
> 
> That and, for me, working around the fact that "somebody" installed an
> expat RPM on the AIX box I use and apparently the shared library it
> installs doesn't have the same name that apr-util wants to load,
> resulting in a load failure for libexpat.

no, the real explanation is:

  for testing this tarball I did the binbuild on one machine and
  installed it on a different machine; I didn't have the expat RPM
  installed on the target machine

  the fact is that all along I've been using a separate expat on my
  build machine and didn't realize it :(  (that could explain a hack I
  had to put in the build somewhere; dunno yet)

> Time to add --with-expat=srclib/apr-util/xml/our-freaking-copy-of-expat 
> to binbuild.sh and try again :(

After doing that, everything is humming.

+1 for beta based on AIX testing of something built via binbuild...

sending a mix of requests, no unexpected error log messages, no high
CPU or storage

I'll commit the binbuild.sh change to 2.0.32-dev.  It could get
challenging to build a reasonable binary distribution otherwise.

Special instructions for AIX (may apply to other platforms where
libtool-in-tarball is uncool):

1) make sure autoconf 2.13 and libtool 1.4.2 are found first
2) unpack tarball and cd to top-level directory
3) remove all occurrences of ltconfig and ltmain.sh in the source tree
4) if you have an expat installation already, you may want to apply
   the patch below
5) ./buildconf
6) CC=xlc_r build/binbuild.sh (or invoke configure yourself)

patch for overriding the expat selection:

Index: build/binbuild.sh
===================================================================
RCS file: /home/cvs/httpd-2.0/build/binbuild.sh,v
retrieving revision 1.33
diff -u -r1.33 binbuild.sh
--- build/binbuild.sh   7 Jan 2002 16:03:25 -0000       1.33
+++ build/binbuild.sh   2 Feb 2002 17:25:54 -0000
@@ -9,9 +9,10 @@
 OS=`./srclib/apr/build/config.guess`
 BUILD_DIR="`pwd`/bindist"
 DEFAULT_DIR="/usr/local/apache2"
-CONFIGPARAM="--with-layout=BinaryDistribution --prefix=$BUILD_DIR 
--enable-mods-shared=most"
 APDIR=`pwd`
 APDIR=`basename $APDIR`
+APFULLDIR=`pwd`
+CONFIGPARAM="--with-layout=BinaryDistribution --prefix=$BUILD_DIR 
+--enable-mods-shared=most --with-expat=$APFULLDIR/srclib/apr-util/xml/expat"
 VER=`echo $APDIR |sed s/httpd-//`
 TAR="`srclib/apr/build/PrintPath tar`"
 GTAR="`srclib/apr/build/PrintPath gtar`"

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to