DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28673>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28673

mod_deflate compilation error with zlib 1.2.1

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:46 -------
I get the same error with 2.0.52 under the following circumstances:

I have the zlib-devel-1.1.4 package installed on my system (SuSE Linux 8.2).
This comes with the file zutil.h installed in /usr/lib. Although this is a
file considered internal to zlib, it is obviously used by some applications
(like apache). This is probably the justification for it being installed.

Now, I want to use a newer zlib with my httpd.
I installed zlib 1.2.1 myself in $HOME/gnu. The "make install" in
the zlib sources does not install zutil.h (as the zlib authors consider it
internal to zlib)! 

Now, if I configure apache with --with-z=$HOME/gnu, the apache configure script
will find zlib.h under that path, but will find the preinstalled zutil.h from
the old zlib 1.4.1 in /usr/include !!
This mix will lead to the compile error.

I am helping myself with manually copying the new zutil.h to
$HOME/gnu/include.

If apache really needs zutil.h, the configure script should only look for it
under the path given with --with-z, if that has been passed.

The real solution though is probably not to use zutil.h at all. Some discussion
about this seems to have taken place:
http://www.mail-archive.com/[email protected]/msg01883.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to