chris.zeman
25th August 2007, 04:04
I am using the tutorial "Apache2-SSL-PHP5-Howto (+ Zend Optimizer And IonCube Loader)". Everything works great up until I run ./configure for PHP5. Here is my configure line:tech@loadbal1:/tmp/php-5.2.3$ ./configure --with-apxs2=/usr/sbin/apxs \
--with-mysql=/var/lib/mysql-cluster \
--enable-track-vars \
--enable-sockets \
--with-config-file-path=/etc \
--enable-ftp \
--with-zlib \
--with-openssl=/usr/local/ssl
--enable-force-cgi-redirect \
--enable-exif \
--with-gd \
--enable-memory-limit \
--disable-debug \
--disable-rpath \
--disable-static \
--with-pic \
--with-layout=GNU \
--enable-calendar \
--enable-sysvsem \
--enable-sysvshm
--enable-sysvmsg \
--enable-trans-sid \
--enable-bcmath \
--with-bz2 \
--enable-ctype \
--with-db4 \
--with-iconv \
--enable-filepro \
--with-gettext \
--enable-mbstring \
--enable-shmop \
--enable-wddx \
--disable-xml \
--with-xmlrpc \
--enable-yp \
--with-zlib \
--without-pgsql \
--enable-dbx \
--enable-experimental-zts \
--without-mm \
--enable-gd-native-ttf \
--with-imap-ssl \
--enable-soap \
--enable-dbase
I end up getting the following error:checking for BZip2 support... yes
checking for BZip2 in default path... not found
configure: error: Please reinstall the BZip2 distribution
BZip2 is installed. tech@loadbal1:/tmp/php-5.2.3$ whereis bzip2
bzip2: /bin/bzip2 /usr/share/man/man1/bzip2.1.gz
I tried adding "--with-bz2=/bin" to my configure line, but it didn't help. Has anyone else run across this? My searches aren't turning anything up.
Thank you,
Chris
--with-mysql=/var/lib/mysql-cluster \
--enable-track-vars \
--enable-sockets \
--with-config-file-path=/etc \
--enable-ftp \
--with-zlib \
--with-openssl=/usr/local/ssl
--enable-force-cgi-redirect \
--enable-exif \
--with-gd \
--enable-memory-limit \
--disable-debug \
--disable-rpath \
--disable-static \
--with-pic \
--with-layout=GNU \
--enable-calendar \
--enable-sysvsem \
--enable-sysvshm
--enable-sysvmsg \
--enable-trans-sid \
--enable-bcmath \
--with-bz2 \
--enable-ctype \
--with-db4 \
--with-iconv \
--enable-filepro \
--with-gettext \
--enable-mbstring \
--enable-shmop \
--enable-wddx \
--disable-xml \
--with-xmlrpc \
--enable-yp \
--with-zlib \
--without-pgsql \
--enable-dbx \
--enable-experimental-zts \
--without-mm \
--enable-gd-native-ttf \
--with-imap-ssl \
--enable-soap \
--enable-dbase
I end up getting the following error:checking for BZip2 support... yes
checking for BZip2 in default path... not found
configure: error: Please reinstall the BZip2 distribution
BZip2 is installed. tech@loadbal1:/tmp/php-5.2.3$ whereis bzip2
bzip2: /bin/bzip2 /usr/share/man/man1/bzip2.1.gz
I tried adding "--with-bz2=/bin" to my configure line, but it didn't help. Has anyone else run across this? My searches aren't turning anything up.
Thank you,
Chris