logo       

Re: [patch] Apache2->unimport: msg#00182

Subject: Re: [patch] Apache2->unimport
Geoffrey Young wrote:

but we can fix that, no? Apache::MyConfig was recently expanded to hold lots of stuff, so I see no reason why we can't extend it to cover what we need. at least as a fallback.



Sure, patches are welcome ;)


ok, I'll take a look at that sometime this week.  it shouldn't be too hard.

Great!

But we still need to provide the coding for prompting for httpd location, since it's not in Apache::test API.


prompt? I hope that was just a slip :) I much prefer the current method (die with an error message) over the libapreq test method (wait indefinitely for an entry or ! to skip).

Nope, not a slip. If you install manually I agree that die is better than prompt. If you install with CPAN, which it seems the majority do, it's better to prompt, since it's not trivial to tell CPAN which options need to be supplied during 'perl Makefile.PL'.

You know what? I think we should educate the users to use env vars. The problem is that we have two mod_perl versions, so setting the APACHE env var is not a solution, since how do we set it for 2 versions. What I mean is, I'd like to have a set of env vars in my .profile/.cshrc/.whatever and never think twice, just selecting the version I want to build with. So I'd have:

env MOD_PERL=1 perl -MCPAN -eshell
and
env MOD_PERL=2 perl -MCPAN -eshell

if we could achieve that, it'd be fantastic. So may be we need to support APACHE and APACHE2, APXS and APXS2, so if we see MOD_PERL=2, we look for APACHE2 and APXS2 env vars.

I'm also still bothered with this MOD_PERL vs. MODPERL thing, we really need to stick to a single way to write it. (same for macros.)

at any rate, I guess there's lots to do. I'll get to my part and try to fill in the gaps as I can. especially as my OSCon talk (and upcoming perl.com article) is on Apache::Test :)

Oh, wow, that's cool! Hopefully I'll get the rest of the fixes in the next few days.

Also I'm planning to release Apache::Test on CPAN soon. What do you think?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe