static compile of proxy_connect, proxy_http and proxy_ftp into apache 1.3.31
Joe Schmoe <[email protected]> Sun, 13 Jun 2004 23:14:07 -0700 (PDT)
| Newsgroups | gmane.comp.apache.mod-proxy |
|---|---|
| Message-ID | <[email protected]> |
--0-1106450327-1087193647=:70846 Content-Type: text/plain; charset=us-ascii So, if one reads the documentation thoroughly, and all the faqs, and does everything exactly the way that _YOU_ tell us to, one comes up with this as the _CORRECT_ configure line: ./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-module=proxy --enable-module=proxy_connect --enable-module=proxy_http --enable-module=proxy_ftp As you know, that doesn't work: Configuring for Apache, Version 1.3.31 + using installation path layout: Apache (config.layout) configure:Error: No such module named 'proxy_connect' So ... if you then think outside the box, and rename all three of those modules to things like mod_proxyconnect.c, mod_proxyhttp.c and mod_proxyftp.c, you then get a configure line that looks like this: ./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-module=proxy --add-module=src/modules/proxy/mod_proxyconnect.c --add-module=src/modules/proxy/mod_proxyftp.c --add-module=src/modules/proxy/mod_proxyhttp.c and as you can see, this _looks like_ it will work: Configuring for Apache, Version 1.3.31 + using installation path layout: Apache (config.layout) + on-the-fly added and activated proxyconnect module (modules/extra/mod_proxyconnect.o) + on-the-fly added and activated proxyftp module (modules/extra/mod_proxyftp.o) + on-the-fly added and activated proxyhttp module (modules/extra/mod_proxyhttp.o) But then when it comes time to `make` : gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_proxy.c gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` proxy_cache.c gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` proxy_connect.c make: don't know how to make proxy_ftp.c. Stop *** Error code 1 Stop in /tmp/apache_1.3.31/src/modules. *** Error code 1 Stop in /tmp/apache_1.3.31/src. *** Error code 1 Stop in /tmp/apache_1.3.31. *** Error code 1 Stop in /tmp/apache_1.3.31. So ... what's the secret not-in-the-docs (and, in fact, contrary-to-all-existing-docs) recipe to make this work ? Thanks in advance. --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger --0-1106450327-1087193647=:70846 Content-Type: text/html; charset=us-ascii <DIV></DIV> <P>So, if one reads the documentation thoroughly, and all the faqs, and does everything exactly the way that _YOU_ tell us to, one comes up with this as the _CORRECT_ configure line:</P> <P> </P> <P>./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-module=proxy --enable-module=proxy_connect --enable-module=proxy_http --enable-module=proxy_ftp</P> <P> </P> <P>As you know, that doesn't work:</P> <P> </P> <P>Configuring for Apache, Version 1.3.31<BR> + using installation path layout: Apache (config.layout)<BR>configure:Error: No such module named 'proxy_connect'</P> <P> </P> <P>So ... if you then think outside the box, and rename all three of those modules to things like mod_proxyconnect.c, mod_proxyhttp.c and mod_proxyftp.c, you then get a configure line that looks like this:</P> <P> </P> <P>./configure --prefix=/usr/local/apache --enable-module=rewrite --enable-module=proxy --add-module=src/modules/proxy/mod_proxyconnect.c --add-module=src/modules/proxy/mod_proxyftp.c --add-module=src/modules/proxy/mod_proxyhttp.c</P> <P> </P> <P>and as you can see, this _looks like_ it will work:</P> <P> </P> <P>Configuring for Apache, Version 1.3.31<BR> + using installation path layout: Apache (config.layout)<BR> + on-the-fly added and activated proxyconnect module (modules/extra/mod_proxyconnect.o)<BR> + on-the-fly added and activated proxyftp module (modules/extra/mod_proxyftp.o)<BR> + on-the-fly added and activated proxyhttp module (modules/extra/mod_proxyhttp.o)</P> <P>But then when it comes time to `make` :</P> <P> </P> <P>gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_proxy.c<BR>gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` proxy_cache.c<BR>gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` proxy_connect.c<BR>make: don't know how to make proxy_ftp.c. Stop<BR>*** Error code 1</P> <P>Stop in /tmp/apache_1.3.31/src/modules.<BR>*** Error code 1</P> <P>Stop in /tmp/apache_1.3.31/src.<BR>*** Error code 1</P> <P>Stop in /tmp/apache_1.3.31.<BR>*** Error code 1</P> <P>Stop in /tmp/apache_1.3.31.</P> <P> </P> <P>So ... what's the secret not-in-the-docs (and, in fact, contrary-to-all-existing-docs) recipe to make this work ?</P> <P> </P> <P>Thanks in advance.</P><p> <hr size=1>Do you Yahoo!?<br>Friends. Fun. <a href="http://messenger.yahoo.com/">Try the all-new Yahoo! Messenger</a> --0-1106450327-1087193647=:70846--