logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [mp2] +Parent and -Mblib breaks AuthDBI and apache: msg#00636

Subject: Re: [mp2] +Parent and -Mblib breaks AuthDBI and apache
Christopher Hicks wrote:
On Thu, 30 Jan 2003, Stas Bekman wrote:

Christopher Hicks wrote:

Is there any equivalent to PerlVINC under mod_perl 2?

Yes, and it's a built-in solution, rather than a hack:
http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_


That had me very hopeful, but upon trying it

        PerlOptions +Parent +SetupEnv
        PerlSwitches -Mblib=/www/ires-demo/

I continue to get:

        Cannot find blib even in /www/ires-demo/../../../../..
        BEGIN failed--compilation aborted.
        perl_parse: No such file or directory

Ah, that should have been -Mlib, I'll fix that. blib is for testing of unistalled builds.

I've read the blib man page a few times and tried to discern what directory structure is expected from looking at a few MakeMaker-based modules, but nothing seems to help. There's a directory in /www/ires-demo/perllib that's a working perl modules directory. It works in several cgi and command line scripts via use lib. Pointing -Mblib directly at the perllib directory and the directory above it do no good. Putting a symlink from lib to perllib also did no good.

The other fun was that the previously working AuthDBI is now no longer found with +Parent. This happens regardless of the presense of -Mblib.

you need 'PerlModule Apache2' per +Parent, because you get a completely new Perl interpreter, which has a pristine @INC. I'll fix the doc. Alternatively you can use '+Clone', which inherits @INC and other things.

I've looked for the t/REPORT script

that's planned to be installed in the future.

but Red Hat doesn't seem kind enough to include it, so I'll try to provide salient details:

        [root@dot conf]# rpm -qa | egrep 'mod_perl|httpd|perl-5'
        perl-libwww-perl-5.65-2
        mod_perl-1.99_05-3
        perl-5.8.0-55
        httpd-2.0.40-11

It's probably a good idea to get the latest mod_perl and httpd, since *many* bugs were fixed and new features added since then.

__________________________________________________________________
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




Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
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