[edit]pardon the [bork]ed URL refs but I'm not allowed to post URLs yet.
[edit] and the misspelling in the original thread title, which I can't edit even in 'advanced'
greetings all, posting this here rather than in web programming since I suspect this is rather AIX-specific and will need some arcane knowledge, I bet people here have done what I'm trying to do.
Intro done - so I'm building up a fresh apache httpd 2.4.10 on an LPAR with AIX 7.1 TL 2 SP 0. I did it notably with GNU make and install, that made it all 'make;make install' clean and I can display pretty pictures in a browser (i.e. the basic server is responsive).
Now I want to make the beastie serve as a reverse proxy. Reading sources like [bork]apachetutor dir /admin/reverseproxies I learn that I need to have a bunch of proxy modules available.
Including mod_proxy_html and mod_xml2enc which the above cite indicates are "third party modules", are not built in my .../proxy dir but for which source is available in .../filters.
Here's where the "fun" starts. The above cite indicates that to build these modules I need /usr/include/libxml2, which I don't have, and reading the source for the above modules I find other headers which aren't available in the http build tree or in the system headers.
I also find that while I have /usr/lib/libxml2.a , it's symlinked to /usr/ccs/lib/libxml2.a and supplied by bos.rte.control (7.1.2.0). So I figure I should try to acquire libxml2{-devel} from the interwebs.
At [bork]oss4aix dir org/download/RPMS/libxml2/ I find libxml2{-devel}-2.9.1-1.aix51.ppc.rpm (presumably from Perzl) and in the [bork]IBM toolbox at dir systems/power/software/aix/linux/toolbox/alpha.html#X I find 2.6.21-4.
rpm -ivh on the 2.9.1-1 version from oss4aix I get
error: failed dependencies:
libiconv >= 1.14-2 is needed by libxml2-2.9.1-1
xz-libs >= 4.999.9 is needed by libxml2-2.9.1-1
libiconv.a(libiconv.so.2) is needed by libxml2-2.9.1-1
liblzma.a(liblzma.so.0) is needed by libxml2-2.9.1-1
xz-devel >= 4.999.9 is needed by libxml2-devel-2.9.1-1
2.6.21-4 steps on /usr/lib/libxml2.a, which I'm not yet prepared to do (this is a production server and I'm really not going to blow away any dependencies I don't understand completely).
The Question (finally): I need a recipe to do this. I see a few possible scopes (from smallest to largest):
- how to acquire/build the above collection of stuff, I've got all the right parts (and do I do that with only internet stuff (RPMs), or with some additional LPPs I need which deliver pieces needed for the above ?)
- redoing my base http build with more options to ./configure, which will eliminate the need for hand-building these modules
- taking a canned apache build from somewhere that has all the pieces built and just needs to be configured
For any of these, I need versions, RPM/LPP names and online sources, otherwise I'm just poking around in the dark like I'm doing right now by myself.
I'm new to building/configuring web servers (anywhere, including AIX) so pardon if it shows. Generally I have some skill (...) admin'ing and also building, so will be grateful for detailed/complex instructions if they get me to a built httpd which I can successfully configure as a reverse proxy.
Thanks in advance!