Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_cache.so doesn't build on Apache2.2.22

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


nepian at gmail

Mar 22, 2012, 3:07 PM

Post #1 of 3 (446 views)
Permalink
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 [at] httpd
For additional commands, e-mail: users-help [at] httpd


james.rapp at sap

Mar 23, 2012, 7:24 AM

Post #2 of 3 (410 views)
Permalink
RE: mod_cache.so doesn't build on Apache2.2.22 [In reply to]

> 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 [at] gmail]
Sent: Thursday, March 22, 2012 4:07 PM
To: users [at] httpd
Cc: Deepal Jayasinghe
Subject: [users [at] http] 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 [at] httpd
For additional commands, e-mail: users-help [at] httpd


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


nepian at gmail

Mar 23, 2012, 9:16 AM

Post #3 of 3 (409 views)
Permalink
Re: mod_cache.so doesn't build on Apache2.2.22 [In reply to]

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 [at] gmail]
> Sent: Thursday, March 22, 2012 4:07 PM
> To: users [at] httpd
> Cc: Deepal Jayasinghe
> Subject: [users [at] http] 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 [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.