static compile of proxy_connect, proxy_http and proxy_ftp into apache 1.3.31

static compile of proxy_connect, proxy_http and proxy_ftp into apache 1.3.31

am 14.06.2004 08:14:07 von Joe Schmoe

--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


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.
--0-1106450327-1087193647=:70846--