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

Mailing List Archive: ModPerl: ModPerl

[mp2] Apache2::Reload missing in FreeBSD ports

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


jhfoo-ml at extracktor

Sep 3, 2009, 3:59 AM

Post #1 of 7 (1246 views)
Permalink
[mp2] Apache2::Reload missing in FreeBSD ports

Hello guys,

I'm wondering if there is any1 using FreeBSD + Apache2 + mp2. In short:
there's no Apache2::Reload.

I browsed around the web (in particular
http://www.mail-archive.com/dev [at] perl/msg12048.html) , and
apparently I'm not the only one who noticed it. People mention
Apache::Reload, but on my FBSD7.2:

1. Installing p5-Apache-Reload over package (at v0.07) throw out:
Can't locate object method "dir_config" via package
"Apache2::RequestRec" at
/usr/local/lib/perl5/site_perl/5.8.8/Apache/Reload.pm line 51.

2. I can't install p5-Apache-Reload over ports, as it will complain it
expects Apache 1.3.

Any advice will be appreciated.

Thanks.


michiel.beijen at otrs

Sep 3, 2009, 5:49 AM

Post #2 of 7 (1177 views)
Permalink
Re: [mp2] Apache2::Reload missing in FreeBSD ports [In reply to]

Foo JH wrote:
> 2. I can't install p5-Apache-Reload over ports, as it will complain it
> expects Apache 1.3.

This would be actually more of a FreeBSD Ports related issue.

I guess you should complain at the port maintainer for the dependencies.
Apache-Reload is a bundle and should work with Apache2 as well as with
Apache 1.x.
See [http://www.freshports.org/www/p5-Apache-Reload/] for the port
maintainer.

You could, of course, just install Apache::Reload via cpan to solve your
issues, or tell your package manager to ignore dependencies and install
anyway.

Regards,

Michiel


craig at animalhead

Sep 3, 2009, 9:12 AM

Post #3 of 7 (1173 views)
Permalink
Re: [mp2] Apache2::Reload missing in FreeBSD ports [In reply to]

I run FreeBSD + Apache2 + mp2. CPAN 'test Apache::Reload'
yields 'pass'. Subsequent CPAN 'test Apache2::Reload'
wants to use the same module, so it says 'Has already been
tested successfully'.

cmac

On Sep 3, 2009, at 3:59 AM, Foo JH wrote:

> Hello guys,
>
> I'm wondering if there is any1 using FreeBSD + Apache2 + mp2. In
> short: there's no Apache2::Reload.
>
> I browsed around the web (in particular http://www.mail-archive.com/
> dev [at] perl/msg12048.html) , and apparently I'm not the
> only one who noticed it. People mention Apache::Reload, but on my
> FBSD7.2:
>
> 1. Installing p5-Apache-Reload over package (at v0.07) throw out:
> Can't locate object method "dir_config" via package
> "Apache2::RequestRec" at /usr/local/lib/perl5/site_perl/5.8.8/
> Apache/Reload.pm line 51.
>
> 2. I can't install p5-Apache-Reload over ports, as it will complain
> it expects Apache 1.3.
>
> Any advice will be appreciated.
>
> Thanks.


jhfoo-ml at extracktor

Sep 3, 2009, 7:34 PM

Post #4 of 7 (1168 views)
Permalink
Re: [mp2] Apache2::Reload missing in FreeBSD ports [In reply to]

Thanks Craig,

I installed Apache::Reload via CPAN, and that shows up in my pkg_info as:
bsdpan-Apache2-Reload-0.10

Interestingly they installed Apache2::Reload for me. So far it looks good.




craig [at] animalhead wrote:
> I run FreeBSD + Apache2 + mp2. CPAN 'test Apache::Reload'
> yields 'pass'. Subsequent CPAN 'test Apache2::Reload'
> wants to use the same module, so it says 'Has already been
> tested successfully'.
>
> cmac
>
> On Sep 3, 2009, at 3:59 AM, Foo JH wrote:
>
>> Hello guys,
>>
>> I'm wondering if there is any1 using FreeBSD + Apache2 + mp2. In
>> short: there's no Apache2::Reload.
>>
>> I browsed around the web (in particular
>> http://www.mail-archive.com/dev [at] perl/msg12048.html) , and
>> apparently I'm not the only one who noticed it. People mention
>> Apache::Reload, but on my FBSD7.2:
>>
>> 1. Installing p5-Apache-Reload over package (at v0.07) throw out:
>> Can't locate object method "dir_config" via package
>> "Apache2::RequestRec" at
>> /usr/local/lib/perl5/site_perl/5.8.8/Apache/Reload.pm line 51.
>>
>> 2. I can't install p5-Apache-Reload over ports, as it will complain
>> it expects Apache 1.3.
>>
>> Any advice will be appreciated.
>>
>> Thanks.
>


jhfoo-ml at extracktor

Sep 3, 2009, 10:38 PM

Post #5 of 7 (1166 views)
Permalink
Re: [mp2] Apache2::Reload missing in FreeBSD ports [In reply to]

Thanks Hiro,

I wonder: if nobody is to advise otherwise, how will one know out that
it is possible to install p5-Apache-Reload with the WITH_MODPERL2=yes
option, without digging into the make file?

Hiroyuki Hanai wrote:
> just FYI.
>
>
>> I'm wondering if there is any1 using FreeBSD + Apache2 + mp2. In short: there's no Apache2::Reload.
>>
>
> With ports-current, you will be able to install Apache2::Reload by:
>
> $ cd /usr/ports/www/p5-Apache-Reload
> $ sudo make WITH_MODPERL2=yes install
>
> h.hanai
>


pgollucci at p6m7g8

Sep 4, 2009, 7:50 PM

Post #6 of 7 (1158 views)
Permalink
Re: [mp2] Apache2::Reload missing in FreeBSD ports [In reply to]

Michiel Beijen wrote:
> Foo JH wrote:
>> 2. I can't install p5-Apache-Reload over ports, as it will complain it
>> expects Apache 1.3.
>
> This would be actually more of a FreeBSD Ports related issue.
>
> I guess you should complain at the port maintainer for the dependencies.
> Apache-Reload is a bundle and should work with Apache2 as well as with
> Apache 1.x.
> See [http://www.freshports.org/www/p5-Apache-Reload/] for the port
> maintainer.
>
> You could, of course, just install Apache::Reload via cpan to solve your
> issues, or tell your package manager to ignore dependencies and install
> anyway.
>
> Regards,
>
> Michiel


WITH_MODPERL2=yes is std option used by many ports.

Also, you didn't read the output from www/mod_perl2 that tells you to
install it (www/p5-Apache-Relaod); though it doesn't mention the above var.

WITH_MODPERL2=yes will actually be dying sometime in 2010 and everything
will be derived from the APACHE_PORT /etc/make.conf var which will soon
default to www/apache22 instead of www/apache13.



--
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci [at] p6m7g8) c: 703.336.9354
Consultant - P6M7G8 Inc. http://p6m7g8.net
Senior Sys Admin - RideCharge, Inc. http://ridecharge.com
ASF Member - Apache Software Foundation http://apache.org
FreeBSD Committer - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


jhfoo-ml at extracktor

Sep 6, 2009, 8:43 PM

Post #7 of 7 (1149 views)
Permalink
Re: [mp2] Apache2::Reload missing in FreeBSD ports [In reply to]

Philip M. Gollucci wrote:
> WITH_MODPERL2=yes is std option used by many ports.
> Also, you didn't read the output from www/mod_perl2 that tells you to
> install it (www/p5-Apache-Relaod); though it doesn't mention the above var.
>
> WITH_MODPERL2=yes will actually be dying sometime in 2010 and everything
> will be derived from the APACHE_PORT /etc/make.conf var which will soon
> default to www/apache22 instead of www/apache13.
>
>
Thanks for the clarification. I used to just set the ports to install
with make install clean, then go get my coffee. I guess I should watch
the first few screens before I go off.

ModPerl modperl 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.