[mp2] Apache2::Reload missing in FreeBSD ports
[mp2] Apache2::Reload missing in FreeBSD ports
am 03.09.2009 12:59:08 von Foo JH
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@perl.apache.org/msg12048.htm l) , 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.
Re: [mp2] Apache2::Reload missing in FreeBSD ports
am 03.09.2009 14:49:37 von Michiel Beijen
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
Re: [mp2] Apache2::Reload missing in FreeBSD ports
am 03.09.2009 18:12:03 von Craig MacKenna
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@perl.apache.org/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.
Re: [mp2] Apache2::Reload missing in FreeBSD ports
am 04.09.2009 04:34:06 von Foo JH
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@animalhead.com 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@perl.apache.org/msg12048.htm l) , 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.
>
Re: [mp2] Apache2::Reload missing in FreeBSD ports
am 04.09.2009 07:38:56 von Foo JH
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
>
Re: [mp2] Apache2::Reload missing in FreeBSD ports
am 05.09.2009 04:50:21 von Philip Gollucci
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@p6m7g8.com) 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.
Re: [mp2] Apache2::Reload missing in FreeBSD ports
am 07.09.2009 05:43:01 von Foo JH
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.