You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Khanh Ho <kh...@integrity-apps.com> on 2005/01/14 22:41:17 UTC

Re: [users@httpd] Apache

Looks like you already had another version of zlib already installed. 
>>From the error messages, it looks like it's trying to include zlib.h
from both /usr/include and /usr/local/include.  Maybe you should try to
remove the existing version of zlib first?

On Fri, 2005-01-14 at 16:27, dogbert@netnevada.net wrote:
> I'm trying to compile mod_deflate for apache 2.0.52, and this is what I have 
> done so far:
> 
> I have zlib 1.2.1 compiled from /usr/local/src/zlib-<blah> with
> make clean
> ./configure -s (this builds it as a shared library)
> make
> make install
> 
> the files which 'make install' inserted are in /usr/local/lib 
> and /usr/local/include (the zlib stuff)
> 
> Now, when I use the following for configure (in /usr/local/src/httpd-2.0.52)
> 
> ./configure --enable-mods-shared=most --enable-deflate --enable-ssl --with-
> z=/usr/local --with-ssl=/usr/local/ssl
> 
> It goes all the way through, but when I issue 'make' in /usr/local/src/httpd-
> 2.0.52, it gives me this:
> 
> /usr/local/src/httpd-2.0.52/srclib/apr/libtool --silent --mode=compile gcc  -g -
> O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -
> D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   -
> I/usr/local/src/httpd-2.0.52/srclib/apr/include -I/usr/local/src/httpd-
> 2.0.52/srclib/apr-util/include -I. -I/usr/local/src/httpd-2.0.52/os/unix -
> I/usr/local/src/httpd-2.0.52/server/mpm/prefork -I/usr/local/src/httpd-
> 2.0.52/modules/http -I/usr/local/src/httpd-2.0.52/modules/filters -
> I/usr/local/src/httpd-2.0.52/modules/proxy -I/usr/local/src/httpd-
> 2.0.52/include -I/usr/local/src/httpd-2.0.52/modules/generators -
> I/usr/local/include -I/usr/local/src/httpd-2.0.52/server -
> I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -
> I/usr/kerberos/include -I/usr/local/src/httpd-2.0.52/modules/dav/main -prefer-
> pic -c mod_deflate.c && touch mod_deflate.slo
> In file included from /usr/include/zutil.h:16,
>                  from mod_deflate.c:42:
> /usr/include/zlib.h:68: redefinition of `struct z_stream_s'
> /usr/include/zlib.h:705: conflicting types for `gzwrite'
> /usr/local/include/zlib.h:982: previous declaration of `gzwrite'
> make[4]: *** [mod_deflate.slo] Error 1
> make[4]: Leaving directory `/usr/local/src/httpd-2.0.52/modules/filters'
> make[3]: *** [shared-build-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/httpd-2.0.52/modules/filters'
> make[2]: *** [shared-build-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/httpd-2.0.52/modules'
> make[1]: *** [shared-build-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/httpd-2.0.52'
> make: *** [all-recursive] Error 1
> 
> Can anyone tell me what I've done wrong (or am I a complete doofus) :)
> 
> Bill
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org