From:             [EMAIL PROTECTED]
Operating system: linux 2.4.16 - redhat 6.2
PHP version:      4.1.0
PHP Bug Type:     Compile Failure
Bug description:  --with-bz2 doesn't listen to =dir


I compile bzip2 1.0.1 (the latest) and install it into a directory /www

Then try to compile php as so

./configure \
    --prefix=/www \
    --with-config-file-path=/www/apache/conf \
    --with-apache=../apache_1.3.22 \
    --disable-debug \
    --enable-trans-id \
    --enable-ftp \
    --with-imap=/www \
    --with-mysql=/usr \
    --with-pgsql=/usr \
    --with-sybase=/www \
    --with-mcrypt \
    --with-mhash \
    --with-zlib=/www \
    --with-bz2=/www \
    --with-gd=/www \
    --with-freetype-dir=/www \
    --with-png-dir=/www \
    --with-jpeg-dir=/www \
    --enable-track-vars
    make
    make install

It fails while compiling in Bzip2 support. I don't have the exact errors to
post because I deleted my compile log, but they are the same errors you get
if you don't have the bzip2 development libraries installed, which of
course I do in /www

Errors along the lines of:

undefined reference to BZ2_open unknown function

therefore this leads me to believe it's ignoring =/www Because the bzip2
packages for redhat 6.2 do not have the needed files.

fyi - in case I haven't been clear, if I go back to php-4.0.6 everything is
fine.


-- 
Edit bug report at: http://bugs.php.net/?id=14588&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to