checking for BZip2 in default path... not found

Discussion in 'HOWTO-Related Questions' started by chris.zeman, Aug 25, 2007.

  1. chris.zeman

    chris.zeman New Member

    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:
    Code:
    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:
    Code:
    checking for BZip2 support... yes
    checking for BZip2 in default path... not found
    configure: error: Please reinstall the BZip2 distribution
    BZip2 is installed.
    Code:
    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Which distribution do you use? Did you install bzip2 using your distro's package manager?
     
  3. chris.zeman

    chris.zeman New Member

    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
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please try
    Code:
    apt-get install bzip2
     

Share This Page