PDA

View Full Version : checking for BZip2 in default path... not found


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

falko
25th August 2007, 17:23
Which distribution do you use? Did you install bzip2 using your distro's package manager?

chris.zeman
25th August 2007, 18:21
Ubuntu Server 7.04

I'm pretty sure bzip2 was installed when I installed Ubuntu, unless of course it was installed when I installed something else. The only software I've installed so far with the package manager was SSH Server and build-essential. I installed MySQL Server and Apache as well, but I didn't use the package manager.

Chris

falko
26th August 2007, 17:14
Please try apt-get install bzip2