Trying to compile PHP 5 beta 4, and not having much fun...
% ./configure --with-apxs --with-mod_charset --with-zlib --with-bz2
--with-curl --with-gd --with-mhash --with-pspell --enable-sqlite-utf8
--with-tidy --disable-libxml
....[snip]...
checking for BZip2 support... yes
checking for BZip2 in default path... found in /usr
checking for BZ2_bzerror in -lbz2... no
configure: error: bz2 module requires libbz2 >= 1.0.0
% where bzip2
/sw/bin/bzip2
% bzip2 -V
bzip2, a block-sorting file compressor. Version 1.0.2, 30-Dec-2001.
Why is it finding BZip2 in /usr, when it's *not* in /usr, it's in
/sw/bin? And, as you can see, the version most certainly is >= 1.0.0. I
tried putting --with-bz2-dir=/sw/bin/ in the ./configure command, but
that has no effect. If I leave out --with-bz2, it then whines in a
similar manner with curl (which is also in /sw/bin). Is there just a way
to tell it to use the same damn bzip2 I access when I type "bzip2"?
Can't get libxml to work either, hence why I have it --disabled above;
but I can't remember what exactly was wrong with that as it is four in
the morning.
TIA for any help you can provide.