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

Mailing List Archive: Bricolage: users

'make cpan' and apache2::sizelimit

 

 

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


kevin at nyi

Aug 22, 2008, 1:33 PM

Post #1 of 4 (1333 views)
Permalink
'make cpan' and apache2::sizelimit

If you choose to install Apache2::SizeLimit, 'make cpan' will report a
failure and fail out after installing Apache2::SizeLimit; the module
contains a BEGIN block with a call to Apache2::MPM::is_threaded, which
apparently only exists at run-time from within a mod_perl environment,
which means that 'eval "require Apache2::SizeLimit"' will always fail.

Skipping the eval for Apache2::SizeLimit is one way around this little
annoyance.

I'm not sure that this is worthy of a bug report, but I figured a
mention in the list archive might be helpful to others.


david at kineticode

Aug 22, 2008, 6:22 PM

Post #2 of 4 (1220 views)
Permalink
Re: 'make cpan' and apache2::sizelimit [In reply to]

On Aug 22, 2008, at 13:33, Kevin Phair wrote:

> If you choose to install Apache2::SizeLimit, 'make cpan' will report
> a failure and fail out after installing Apache2::SizeLimit; the
> module contains a BEGIN block with a call to
> Apache2::MPM::is_threaded, which apparently only exists at run-time
> from within a mod_perl environment, which means that 'eval "require
> Apache2::SizeLimit"' will always fail.
>
> Skipping the eval for Apache2::SizeLimit is one way around this
> little annoyance.
>
> I'm not sure that this is worthy of a bug report, but I figured a
> mention in the list archive might be helpful to others.

It sounds like a bug report that should be reported to the owners of
Apache2::SizeLimit. Send an email to bug-apache2-sizelimit [at] rt

Best,

David


waldo at vqronline

Nov 11, 2008, 10:47 AM

Post #3 of 4 (1051 views)
Permalink
Re: 'make cpan' and apache2::sizelimit [In reply to]

On Aug 22, 2008, at 13:33, Kevin Phair wrote:
> If you choose to install Apache2::SizeLimit, 'make cpan' will
> report a failure and fail out after installing Apache2::SizeLimit;
> the module contains a BEGIN block with a call to
> Apache2::MPM::is_threaded, which apparently only exists at run-time
> from within a mod_perl environment, which means that 'eval "require
> Apache2::SizeLimit"' will always fail.
>
> Skipping the eval for Apache2::SizeLimit is one way around this
> little annoyance.
>
> I'm not sure that this is worthy of a bug report, but I figured a
> mention in the list archive might be helpful to others.

I just want to follow up on this for the record. Anybody wondering how
to go about "skipping the eval," it turns out that that you need to
edit modules.db, changing "found" from 0 to 1 for Apache2::SizeLimit.
That informs the "make cpan" process that it doesn't need to worry
about that module. Of course, you should only do this if you have
successfully installed Apache2:SizeLimit, but the Bricolage installer
can't realize it due to the above-described bug.

Best,
Waldo


---
Virginia Quarterly Review
One West Range, Box 400223
University of Virginia
Charlottesville, VA 22904-4223


rolfm at denison

Nov 11, 2008, 12:26 PM

Post #4 of 4 (1043 views)
Permalink
Re: 'make cpan' and apache2::sizelimit [In reply to]

On Nov 11, 2008, at 1:47 PM, Waldo Jaquith wrote:

> I just want to follow up on this for the record. Anybody wondering
> how to go about "skipping the eval," it turns out that that you need
> to edit modules.db, changing "found" from 0 to 1 for
> Apache2::SizeLimit. That informs the "make cpan" process that it
> doesn't need to worry about that module. Of course, you should only
> do this if you have successfully installed Apache2:SizeLimit, but
> the Bricolage installer can't realize it due to the above-described
> bug.

I believe that in the current revision of trunk, a new eval method has
been applied that makes the Bricolage installer know how to handle
this better.

-Matt

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