Re: Apache build question about compiled-in packages (86 Views)
Reply
Occasional Contributor
Marco Muishout
Posts: 7
Registered: ‎05-20-2003
Message 1 of 4 (86 Views)

Apache build question about compiled-in packages

Hi,

We (I) usually gcc-build apache because of extra modules like 'mod_deflate' that we use. In order to do this, we have to install manu GNU packages like 'expat', 'libiconv', etc. No problem for development.

However, when we want to copy our custom-built apache to another machine, we are again required to install packages like 'expat', 'gettext', 'libiconv' and 'zlib'. These seem to have become runtime requirements.

How can I make sure that these packages are 'integrated' with the apache build that we are creating? Apparently the HP-package does not need all these extra packages. My guess is there's a way to compile these packages into the apache installation.

Thank you for your help,
Marco
Frequent Advisor
BSSG
Posts: 37
Registered: ‎09-19-1996
Message 2 of 4 (86 Views)

Re: Apache build question about compiled-in packages

I have an interest in the mod_deflate module in particular, since I expect it could potentially have performance benefits. However I don't see a runtime zlib in Apache, and I couldn't find a packaged version of zlib on the HP software site. Nor I see a symbol tag for 'zlib' while nm-ing the 'httpd' binary, or a match for 'zlib' in the strings.

But I'm not sure whether that indicates a lack of integration of zlib. If it isn't, then I'd be most interested in seeing a zlib install package so we can start using mod_deflate...

Thank you!

Bob
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 3 of 4 (86 Views)

Re: Apache build question about compiled-in packages

I believe these packages are install requirements. You can swremove them in development and see if apache still works. It so, my theory is correct. If not, you have to have these programs installed in production. If you are careful with permissions then no users will be able to use these programs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Frequent Advisor
BSSG
Posts: 37
Registered: ‎09-19-1996
Message 4 of 4 (86 Views)

Re: Apache build question about compiled-in packages

You're right, I was able to find zlib down in '/opt/hpws/apache/php/lib/php/extensions/zlib.sl'. But I couldn't locate the libiconv or gettext. Perhaps it's using the system iconv and gettext? &c.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.