Hi there! I'm having trouble reconfiguring php4. I used phpinfo() to get
the original configure command. Then I did apt-get source php4 to get
the source, then did cd php4-4.1.2 and typed the configure command (at
the bottom for your reference).
First, I got an error saying zlib could not be found (weirdly it told me
to get libz). I got various packages -- I think zlib1g-dev is the one
that finally made it go further.
Next, I get the error:
checking for BZip2 in default path... not found
configure: error: Please reinstall the BZip2 distribution
The only bzip2 package is, well, bzip2, which gets installed in
/usr/bin. Is this what configure is looking for? If so, then I'm not
telling it how to get it ... at first, I tried the command as it is
below. Then I tried changing it to --with-bz2=/usr/bin. Both return the
same error.
Any help would be appreciated!
Thanks!
Jen
Full configure command:
./configure --prefix=/usr --with-apxs=/usr/bin/apxs --with-regex=system
--with-config-file-path=/etc/php4/apache --disable-rpath --disable-debug
--enable-memory-limit --enable-calendar --enable-sysvsem
--enable-sysvshm --enable-track-vars --enable-trans-sid --enable-bcmath
--with-bz2 --enable-ctype --with-db2 --with-iconv --with-ndbm
--enable-exif --enable-filepro --enable-ftp --with-gettext
--enable-mbstring --with-pcre-regex=/usr --enable-shmop --enable-sockets
--enable-wddx --with-xml=/usr --with-expat-dir=/usr --enable-yp
--with-zlib --without-pgsql --disable-static --with-layout=GNU
--with-curl=shared,/usr --with-dom=shared,/usr --with-zlib-dir=/usr
--with-gd=shared,/usr --with-jpeg-dir=shared,/usr --with-xpm-
dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-freetype-
dir=shared,/usr --with-imap=shared,/usr --with-ldap=shared,/usr
--with-mcal=shared,/usr --with-mhash=shared,/usr --with-mm --with-
mysql=shared,/usr --with-recode=shared,/usr --enable-xslt
--with-xslt-sablot=shared,/usr --with-snmp=shared --enable-ucd-snmp-hack
--with-sybase-ct=shared,/usr --with-ttf=shared,/usr --with-
t1lib=shared,/usr
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]