Hello,
I am relatively new to this source code things and trying to compile php 4.0.6 on RedHat Linux 7.1. In configure script everything except --with-zlib works. I have downloaded latest version of zlib (zlib-1.1.3) and installed it using source. But php configure script says:
it needs version 1.0.9 or greater. I think It is trying to call a function on zlib which isn't available in newer version. Whats the problem?
I also want to know what is the difference between --with-zlib[=DIR] and --with-zlib-dir=DIR.
What configure script expects in [Dir] part of --with-zlib (source code, header files, or library(binary) and of --with-zlib-dir.
There is also probelm with option --with-imap. It asks for a header file and it is right there but it is unable to find it. Please tell me what I need to include imap and pop support?
I mean with what these --with options expect headers files or lib files or actual source code files.
It is really confusing.
I have already compiled and using php 4.0.6 with apache 1.3.20. But I wanted to add some more options. Mainly I wanted to include --with-dom support and downloaded libxml. But configure scripts says --with-dom needs zlib. I don't know what libxml has to do with zlib. I have installed libxml2-2.4.1 from source without zlib.
Sukhwinder Singh