Apache::Request fails on Mac OS X (Darwin)

2001-08-28 Thread Ken Williams
y/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl . ------ Ken Williams Last

RE: [patch] ithreads + refto bug (fwd)

2001-08-29 Thread Ken Williams
dles, and Abhijit Menon-Sen patched it a few days ago. Perhaps that had an effect too. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: [Patch] Apache::TestConfigParse and Taint mode

2001-09-17 Thread Ken Williams
Stas Bekman <[EMAIL PROTECTED]> wrote: > According to perlsec manpage this is what should be done: > >$ENV{'PATH'} = '/bin:/usr/bin'; >delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; > > hence in this particular case the patch should be: > > local %ENV; > delete @ENV{

Re: vs

2001-09-17 Thread Ken Williams
Doug MacEachern <[EMAIL PROTECTED]> wrote: > > i'd rather see: > This is a cool idea - I assume it means that any package can be specified, and the default is Apache::ReadConfig. I think that would place a little meme-fleck into people's brains to remind them that the default package is Apache

Re: RFC: Apache::Registry family re-design

2001-09-17 Thread Ken Williams
Stas Bekman <[EMAIL PROTECTED]> wrote: > The point is to write a library of standalone functions implemented in > Perl and C, and let the final products be Lego-like, just pick what you > want and if you want to have 10 different Registry modules, doing > similar but yet different things, you can

Re: Apache::Registry family re-design

2001-09-17 Thread Ken Williams
Stas Bekman <[EMAIL PROTECTED]> wrote: > On Sat, 8 Sep 2001, raptor wrote: >> my $eval = join ( '', qq{ >> package $package; >> my $request; >> START: >> use Apache qw(exit); >> $usercode >> sub handler { >> $package::request = \$r; >> goto START;

Re: :Table::get implementation?

2001-09-25 Thread Ken Williams
Doug MacEachern <[EMAIL PROTECTED]> wrote: > On Tue, 25 Sep 2001, Philippe M . Chiasson wrote: > >> my @arr = $r->dir_config->{'key'} >> >> should also be avaliable > > which of course will be by default / "for free" since 'FETCH' is just an > alias for 'get'. So, that's really supposed to wor

Re: perl.apache.org / apache.perl.org

2001-10-18 Thread Ken Williams
Nathan Torkington <[EMAIL PROTECTED]> wrote: > There are some web design To Do items: > * ensure colors are part of the standard palette (right now they're >just easy to type in hex :-) Holy shit Nat, those colors are strong. =) You've really taken attention-getting into the twenty-first

Funny headers in modperl-site messages

2001-10-25 Thread Ken Williams
Does anyone know why messages sent to the modperl-site list have modperl-cvs in their headers, like the following? List-Help: List-Unsubscribe: List-Post: -Ken ---

Re: FETCH/get and context

2001-09-27 Thread Ken Williams
Doug MacEachern <[EMAIL PROTECTED]> wrote: > On Thu, 27 Sep 2001, Philippe M . Chiasson wrote: > >> Regarding that lengty thread about the list context version of the >> APR::Table->get/FETCH, here is what I found >> > ... >> TIE=nope >> METHOD=wantarray > > hmm, could be that @a = $table->

Re: perl.apache.org / apache.perl.org

2001-10-15 Thread Ken Williams
Before I forget to say anything: Ask, haven't you set up a basic Mason framework for the *.perl.org sites that an apache.perl.org could just piggyback onto? Stas, I think that was why Nat suggested Mason - not that using Mason would necessarily make anything better itself, but that we could g

Re: Apache::Test + Module::Build

2003-08-26 Thread Ken Williams
On Monday, August 25, 2003, at 09:32 PM, David Wheeler wrote: On Monday, August 25, 2003, at 07:19 PM, Stas Bekman wrote: I suppose that one has to write an equivalent of Apache::TestMM to make things transparent for the developers. Patches are welcome. I guess you can call it Apache::TestMB?

Re: [Module::Build] Re: ModPerl::MB

2004-12-29 Thread Ken Williams
On Dec 29, 2004, at 2:12 PM, Stas Bekman wrote: But M::B doesn't support XS yet, so that's moot. M::B has supported XS since it was in diapers. so David and I were only talking about ModPerl::MB subclass of M::B which will do the usual thing as any another non-mp2 module does, but will subclass w

Re: [Module::Build] Re: ModPerl::MB

2004-12-29 Thread Ken Williams
On Dec 29, 2004, at 8:22 PM, Stas Bekman wrote: with MM we override MY::constants so things end up in Apache2/ subdirs in blib/. That's about it. so if normally a file would be installed under /foo/bar it'll be now installed under /foo/bar/Apache2. Um, doesn't that really break things (like, say,

Re: [Module::Build] Re: ModPerl::MB

2004-12-29 Thread Ken Williams
On Dec 29, 2004, at 8:35 PM, Stas Bekman wrote: Ken Williams wrote: On Dec 29, 2004, at 8:22 PM, Stas Bekman wrote: with MM we override MY::constants so things end up in Apache2/ subdirs in blib/. That's about it. so if normally a file would be installed under /foo/bar it'll be now

Re: [Module::Build] Re: ModPerl::MB

2004-12-30 Thread Ken Williams
On Dec 29, 2004, at 10:20 PM, David Wheeler wrote: I think, looking at the code, that all you need to do is override the find_pm_files method like this: sub find_pm_files { my $files = shift->SUPER::find_pm_files; for my $file (keys %$files) { $files{$file} = File::Spec->c

CVS server down?

2001-01-02 Thread Ken Williams
hanks. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: CVS server down?

2001-01-02 Thread Ken Williams
[EMAIL PROTECTED] (Ken Williams) wrote: >The server for the CVS mod_perl tree is unreachable: > > cvs [update aborted]: connect to perl.apache.org:2401 failed: Connection > timed out Nevermind, it's back up now. -------

[FIX] Patch to PerlRun.pm

2001-01-03 Thread Ken Williams
this Apache::exit() breaks return SERVER_ERROR; } === ------- --- Ken Williams Last Bastion of Euclidity [EMA

Re: 1.25-tobe

2001-01-26 Thread Ken Williams
404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/alpha-dec_osf /usr/local/lib/perl5/site_perl . Am I missing a required version of something? Unfortunately I'm going to be away from my computer all day today, so I won't be able to help track down the problem. ---

Re: 1.25-tobe

2001-01-26 Thread Ken Williams
Duh, the second failure was because the Apache.c file was only halfway created on the first run. So the real problem is some memory fault while creating Apache.c from Apache.xs. [EMAIL PROTECTED] (Ken Williams) wrote: >[EMAIL PROTECTED] (Doug MacEachern) wrote: >>i'd like t

Re: 1.25-tobe

2001-01-26 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: >On Fri, 26 Jan 2001, Ken Williams wrote: > >> With a freshly downloaded apache 1.3.14, I did "perl Makefile.PL >> EVERYTHING=1". First time through I got this: > >ok, i see the problem (USE_APACI=1 hid it for me). pat

Re: cvs commit: modperl/lib/Apache PerlRun.pm

2001-01-29 Thread Ken Williams
;; +} +else { +*{$fullname} = sub {}; +} undef &$fullname; } if (*{$fullname}{IO}) { ====== ------ Ke

Re: 1.25-tobe

2001-01-31 Thread Ken Williams
on-screen test output is a big mess, because the server is gone by the 'modules/file' test. [EMAIL PROTECTED] (Doug MacEachern) wrote: >ok, here's a fix to make 5.004_04 happy.. > ------ Ken Williams

Re: Apache::test patch

2001-02-01 Thread Ken Williams
b _has_mod_perl { my ($self, $httpd) = @_; return 1 if `$httpd -l` =~ /mod_perl\.c/; ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum -

Re: cvs commit: modperl-2.0/xs/Apache/Filter - New directory

2001-03-05 Thread Ken Williams
es could cause confusion. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum - To unsub

CVS build fails on Darwin

2001-03-30 Thread Ken Williams
/epigone/modperl/brusexspe , but I haven't started trying to figure it out. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]

Looking for magic in Apache->request

2001-03-30 Thread Ken Williams
bclass Apache::Registry and the like, because lots of code (like CGI.pm) call Apache->request to get the current request object. ------ Ken Williams

Re: Looking for magic in Apache->request

2001-04-01 Thread Ken Williams
[EMAIL PROTECTED] (Matt Sergeant) wrote: >On Fri, 30 Mar 2001, Ken Williams wrote: > >> The thing I can't figure out from the XS code is how/where >> Apache->request calls sv2request_rec(), which actually does the >> extraction work. Somehow it's auto

Re: CVS build fails on Darwin

2001-04-17 Thread Ken Williams
ts head up in various circumstances is now solved. --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum - To unsubscribe, e-mail: [EMAIL P

Re: cvs updates

2001-05-10 Thread Ken Williams
>../configure: line 950: `APR_SAVE_THE_ENVIRONMENT(CPPFLAGS)' Sounds like a Republican thing. Did you try running it in Alaska? --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]

Building on Darwin (Mac OS X)

2001-05-15 Thread Ken Williams
@INC: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl . ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Phantom -D_LARGEFILE_SOURCE ?

2001-05-15 Thread Ken Williams
ut largefile support. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Phantom -D_LARGEFILE_SOURCE ?

2001-05-16 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: >On Tue, 15 May 2001, Ken Williams wrote: >> Is the suggestion below, about building Apache with -D_LARGEFILE_SOURCE, >> accurate? That flag seemed to have no effect when I used it in building >> Apache, and I couldn't fin

Re: Building on Darwin (Mac OS X)

2001-05-16 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: >On Tue, 15 May 2001, Ken Williams wrote: >> ../gen_test_char >test_char.h >> env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I.. >>-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include -DDARWIN >>-DMOD_P

Re: Building on Darwin (Mac OS X)

2001-05-17 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: >On Thu, 17 May 2001, Ken Williams wrote: >> They're also in /usr/include/unistd.h , but is the opening #ifndef >> messing things up, perhaps? (don't know what yours looks like) > >no, that's a standard convention so h

Re: Building on Darwin (Mac OS X)

2001-05-17 Thread Ken Williams
[EMAIL PROTECTED] (Ken Williams) wrote: >[EMAIL PROTECTED] (Doug MacEachern) wrote: >>don't know why they're so different, but this looks like part of the >>problem, since you do have unistd_h >>i would try changing this part to: >> >>#ifndef HAVE_

RE: Apache2:: namespace, prerequisite checking and CPAN listing

2001-05-25 Thread Ken Williams
y handy to remember that 'use' is just 'require' and 'import' in a 'BEGIN' block. That said, it seems like it should be easy to implement the construct you originally wanted, and it would be generally useful. ---

RE: Apache2:: namespace, prerequisite checking and CPAN listing

2001-05-25 Thread Ken Williams
entry elsewhere in this document function, which `no' is the opposite of. (Isn't that embarassing? "... the use entry elsewhere in this document function." Ah, podlators.) ------ Ken Williams Last Bastion of Euclidit

Re: colorizing the build's output

2001-06-19 Thread Ken Williams
tences :) > >this would be useful, maybe in its own module ModPerl::Trace that >exports error(), warning(), notice(), debug(), etc. Heck, why not call it Test::Notify or something more generic. Nothing mod_perl-specific here. My

Re: Inline.pm for mod_perl

2001-06-23 Thread Ken Williams
ate a whole new module. I've been using it myself to do some reverse-engineering of existing C code into Perl, just to make sure that I've everything right. The test scripts have been amazingly easy to manage using Inline. Also, don't forget that Inline supports other langua

Re: announce: mod_perl-1.25_01

2001-07-06 Thread Ken Williams
think this is the first time that's happened for me on Darwin. =) ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]