Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-12 Thread Philip M. Gollucci

Foo JH wrote:

Path:/usr/ports/www/libapreq2
Path:/usr/ports/www/p5-libapreq
Path:/usr/ports/www/p5-libapreq-static
Path:/usr/ports/www/p5-libapreq2
You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes


Thanks. Does the fact that libapreq can be installed w/o modperl mean
that other languages (eg. PHP) can use it as well?

Sorry if this sounds off-topic.
If someone took the time to right the language bindings yes, 
unfortunately no one has yet.


On the upside, we've begun work integrate the C portion of apreq into 
httpd core.




--

Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

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


Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-11 Thread Foo JH
 Path:/usr/ports/www/libapreq2
 Path:/usr/ports/www/p5-libapreq
 Path:/usr/ports/www/p5-libapreq-static
 Path:/usr/ports/www/p5-libapreq2
 You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes

Thanks. Does the fact that libapreq can be installed w/o modperl mean
that other languages (eg. PHP) can use it as well?

Sorry if this sounds off-topic.


Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-11 Thread Adam Prime
Foo JH wrote:
 Path:/usr/ports/www/libapreq2
 Path:/usr/ports/www/p5-libapreq
 Path:/usr/ports/www/p5-libapreq-static
 Path:/usr/ports/www/p5-libapreq2
 You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes
 
 Thanks. Does the fact that libapreq can be installed w/o modperl mean
 that other languages (eg. PHP) can use it as well?
 
 Sorry if this sounds off-topic.

libapreq provides C bindings as well as perl.  AFAIK that's it.


[mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Foo JH
Hi all,

I'm testing the latest mp2 stack on FreeBSD 7. While everything installs
ok, I'm having difficulties locating the Apache2::Cookie module.

I understand Apache2::Cookie is part of the libapreq2 package. I
installed that via ports, and the installation did not report errors.
The module mod_apreq2.so loaded quite happily. But when I tried to 'use
Apache2::Cookie' Apache22 throws out the error in http-error.log:

Can't locate Apache2/Cookie.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local)

I did a 'find / -name *ookie* -print' but I can't find Cookie.pm.

Other details:
1. FreeBSD 7.0
2. Apache 2.2.6_2
3. mod_perl 2.0.3
4. libapreq 2.08

Please enlighten...Thanks.


Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Adam Prime

Foo JH wrote:

Hi all,

I'm testing the latest mp2 stack on FreeBSD 7. While everything installs
ok, I'm having difficulties locating the Apache2::Cookie module.

I understand Apache2::Cookie is part of the libapreq2 package. I
installed that via ports, and the installation did not report errors.
The module mod_apreq2.so loaded quite happily. But when I tried to 'use
Apache2::Cookie' Apache22 throws out the error in http-error.log:

Can't locate Apache2/Cookie.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local)

I did a 'find / -name *ookie* -print' but I can't find Cookie.pm.

Other details:
1. FreeBSD 7.0
2. Apache 2.2.6_2
3. mod_perl 2.0.3
4. libapreq 2.08

Please enlighten...Thanks.


This is a linux box, but libapreq2 should just be libapreq2 regardless 
of platform right?


$ find /usr/lib -name *ookie.pm
/usr/lib/perl5/site_perl/5.8.8/i686-linux/APR/Request/Cookie.pm
/usr/lib/perl5/site_perl/5.8.8/i686-linux/Apache2/Cookie.pm

Perhaps your install from ports didn't install the perl bindings for 
libapreq2 at all?  Are any of the APR/Apache2 modules that should have 
been installed actually there?


Adam


Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Foo JH
Ok I figured it out. Apparently to get libapreq2 up, one has to install:
1. /usr/ports/www/libapreq2
2. /usr/ports/www/p5-libapreq2


Foo JH wrote:
 Hi all,
 
 I'm testing the latest mp2 stack on FreeBSD 7. While everything installs
 ok, I'm having difficulties locating the Apache2::Cookie module.
 
 I understand Apache2::Cookie is part of the libapreq2 package. I
 installed that via ports, and the installation did not report errors.
 The module mod_apreq2.so loaded quite happily. But when I tried to 'use
 Apache2::Cookie' Apache22 throws out the error in http-error.log:
 
 Can't locate Apache2/Cookie.pm in @INC (@INC contains:
 /usr/local/lib/perl5/5.8.8/BSDPAN
 /usr/local/lib/perl5/site_perl/5.8.8/mach
 /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local)
 
 I did a 'find / -name *ookie* -print' but I can't find Cookie.pm.
 
 Other details:
 1. FreeBSD 7.0
 2. Apache 2.2.6_2
 3. mod_perl 2.0.3
 4. libapreq 2.08
 
 Please enlighten...Thanks.



Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Philip M. Gollucci

Adam Prime wrote:

Foo JH wrote:

Hi all,

I'm testing the latest mp2 stack on FreeBSD 7. While everything installs
ok, I'm having difficulties locating the Apache2::Cookie module.

I understand Apache2::Cookie is part of the libapreq2 package. I
installed that via ports, and the installation did not report errors.
The module mod_apreq2.so loaded quite happily. But when I tried to 'use
Apache2::Cookie' Apache22 throws out the error in http-error.log:

Can't locate Apache2/Cookie.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local)

I did a 'find / -name *ookie* -print' but I can't find Cookie.pm.

Path:   /usr/ports/www/libapreq2
Path:   /usr/ports/www/p5-libapreq
Path:   /usr/ports/www/p5-libapreq-static
Path:   /usr/ports/www/p5-libapreq2
You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes


--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

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


Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

I did a 'find / -name *ookie* -print' but I can't find Cookie.pm.

Path:/usr/ports/www/libapreq2
Path:/usr/ports/www/p5-libapreq
Path:/usr/ports/www/p5-libapreq-static
Path:/usr/ports/www/p5-libapreq2
You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes

sigh,
p5-libapreq2
or
libapreq2 WITH_MODPERL2=yes


--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

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