All,

I have resolved this now. basically on your build server where you are 
compiling zlib make sure the following is installed:

zlib-devel-1.2.3-15.2

this gives the correct libraries for compiling the product. None of the 
libraries are used for runtime though so they shouldn't be required on your 
production  webservers.

HTH

Steve

-----Original Message-----
From: Foster, Stephen (ASPIRE) 
Sent: 06 September 2007 11:28
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] problem compiling mod_deflate with SLES10 default
zlib.


Hi there,

i have an issue are the moment compiling apache2.2.4 with mod_deflate as a 
shared module. I have the following configured:

configure.sh:
-------------
has --with-z configure with the path to the zlib.h set as /usr , as the 
configure process wants to add /include to this path but won't search down into 
the linux subdirectory to find the zlib.h file.

zlib packages:
--------------
zlib-1.2.3-15.2
zlib-32bit-1.2.3-15.2

The zlib.h comes as part of glibc-devel-2.4-31.2 package and is located in 
/usr/include/linux

When i run the configure script this complains with the following:

configure:10474: gcc -o conftest  -g -O2 -pthread  -DLINUX=2 -D_REENTRANT 
-D_GNU_SOURCE -I$(top_builddir)/srclib/pcre -I. -I$(top_srcdir)/os/$(OS_DIR) 
-I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME) -I$(top_srcdir)/modules/http 
-I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/proxy 
-I$(top_srcdir)/include -I$(top_srcdir)/modules/generators 
-I$(top_srcdir)/modules/mappers -I$(top_srcdir)/modules/database 
-I/build/apache/httpd-2.2.4/srclib/apr/include 
-I/build/apache/httpd-2.2.4/srclib/apr-util/include -I/usr/include/include   
-L/usr/include/lib conftest.c -lm  -lz >&5
conftest.c:37:18: error: zlib.h: No such file or directory

Has anyone got any pointers for configuring mod_deflate with the SLES10 default 
zlib?

cheers

Steve



Steve Foster | Capgemini UK | Telford
Shared Technology Services
T. +44 (0) 1952 296664 | www.capgemini.com
Internal: 46664

Together: the Collaborative Business Experience 

Capgemini is a trading name used by the Capgemini Group of companies which 
includes Capgemini UK plc, a company registered in England and Wales (number 
943935) whose registered office is at No. 1 Forge End, Woking, Surrey, GU21 6DB.
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Capgemini is a trading name used by the Capgemini Group of companies which 
includes Capgemini UK plc, a company registered in England and Wales (number 
943935) whose registered office is at No. 1 Forge End, Woking, Surrey, GU21 6DB.
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to