Dear James, Thanks a lot. It worked like charm. The key to my problem was "--enable-mods-shared=most" this option. Using my source tree config provides no error; it just doesn't build the mod_cache.so into [APACHE INSTALL DIR]/modules. Still don't know why it does that. Anyway, adding that option blew problem away and module is in where it should be now. [FYI] > ./configure --prefix=$HTTPD_HOME --exec-prefix=$HTTPD_HOME --enable-module=so --enable-so --enable-rewrite --enable-mods-shared=most --enable-cache --with-mpm=worker --with-apr=$SW_TOP/apr/bin/apr-1-config --with-apr-util=$SW_TOP/apr-util/bin/apu-1-config Thanks again. Regards, -Junhee On Mar 23, 2012, at 10:24 AM, Rapp, James wrote: >> Can anyone tell me how to build "mod_cache.so" on Apache2.2.22? This is indeed pretty basic stuff. But for some reason I can not get it built inside the module directory. > > Surely there is an error returned by the configure script that can tell us why mod_cache.so is failing to build. I used this command just last week to build mod_cache.so correctly on CentOS: > > ./configure --prefix=/usr/local/apache --with-mpm=worker --enable-mods-shared=most --enable-cache --enable-disk-cache --enable-mem-cache > > If you can provide an error from the configure script it would help. > > -----Original Message----- > From: Junhee Park [mailto:nepian@xxxxxxxxx] > Sent: Thursday, March 22, 2012 4:07 PM > To: users@xxxxxxxxxxxxxxxx > Cc: Deepal Jayasinghe > Subject: mod_cache.so doesn't build on Apache2.2.22 > > Hi All, > > Can anyone tell me how to build "mod_cache.so" on Apache2.2.22? This is indeed pretty basic stuff. But for some reason I can not get it built inside the module directory. > > I have tried configuring with these options (--enable-cache / --enable-cache --enable-disk-cache / --enable-cache --enable-mem-cache --enable-disk-cache), but to no avail. However I did noticed that on Apache2.4.1 using just "--enable-cache" did build the mod_cache.so. I just can't figure out why Apache2.2.22 doesn't build that module. And unfortunately I can not use Apache2.4.1 due to some compatibility issue. > > Here is my entire source tree configuration. > > ./configure --prefix=$HTTPD_HOME --exec-prefix=$HTTPD_HOME --enable-module=so --enable-so --enable-rewrite --enable-cache --with-mpm=worker --with-apr=$SW_TOP/apr/bin/apr-1-config --with-apr-util=$SW_TOP/apr-util/bin/apu-1-config > > (this generates mod_cache.so on Apache2.4.1 but not on Apache2.2.22 - tried adding --enable-disk-cache & --enable-mem-cache still doesn't build) > > Thanks in advance. > -Junhee > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx