Re[2]: Randy Kobe's mod_perl2 all-in-one binary
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi Stas, On Thursday, January 30, 2003 at 11:20:01 PM, you wrote: SB [...] Yes, I understand that, which is what confused me. Funny thing is that it (my startup.pl) works from Apache, just not from the command line -- I presume there's something going into @INC I don't know about. SB It's normal that code loading Apache::* modules doesn't work from the command SB line. This is because it requires mod_perl to be loaded into the program, SB which is not there when run from the command line. I did try with use mod_perl, but it makes no difference. Not a problem, any more, just curious. Thanks for your help lee -BEGIN PGP SIGNATURE- Version: 2.6 iQCVAwUAPjpg5qdrfekeF/QBAQGGmAP6A4f1RzyQYDkrTr6rJB2icYyXsbk+EhWH NOOCcH1bvrdeny27iDdVXREA+USfa9Pxc+iaFZ8sAygxhcXY9F9g6SgadZSB5GCA cLmZLB0X0FQP8QO4w1J+xy7mld8L9Bh2Hie4qfJYmxUph10wlgkBLjrGOF5iHAAG j1YgK0w+zDY= =0F4/ -END PGP SIGNATURE-
Re: Randy Kobe's mod_perl2 all-in-one binary
Lee Goddard wrote: SB It's normal that code loading Apache::* modules doesn't work from the command SB line. This is because it requires mod_perl to be loaded into the program, SB which is not there when run from the command line. I did try with use mod_perl, but it makes no difference. I meant the server with mod_perl loaded. Certainly use mod_perl doesn't make any difference. There is Apache::FakeRequest that tries to emulate the mod_perl env, but it's very incomplete. Hopefully in 2.0 it'll be much better. Not a problem, any more, just curious. Cool. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Randy Kobe's mod_perl2 all-in-one binary
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Here's a copy of a message I just sent to Randy: is there anyone here who can help me? Thanks in anticipation. lee Hi Randy, I've just downloaded and installed your godsend of an all-in-one Apache2/mod_perl2 package - thanks very much for it! Server runs nicely. But is there a simple explanation of why I get the following message? Can't locate loadable object for module ModPerl::Const in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/Apache/Const.pm line 3 Does the whole module not come as part of the package...? I thought about posting this to a list/group, but I supposed it is distribution-specific. Thanks in anticipation, lee -BEGIN PGP SIGNATURE- Version: 2.6 iQCVAwUAPjkFcadrfekeF/QBAQEj7AP/cgOL+qPSDfwmwRJw8cG96TosnhKMiXY5 QCAopvWd1bG+kJh73qh3MxOQAsnYszxgD6ZOpq0yoCT6d2GJVkxMNbA3aucUuZM+ dU30JzlXni6g8so9qBEVt0wbsLkr6zfI59AWo2ccCKWELAcx5TflK3Y3B0gNtJXp 7QiFoln3FFM= =g7dm -END PGP SIGNATURE-
Re: Randy Kobe's mod_perl2 all-in-one binary
On Thu, 30 Jan 2003, Lee Goddard wrote: I've just downloaded and installed your godsend of an all-in-one Apache2/mod_perl2 package - thanks very much for it! Server runs nicely. But is there a simple explanation of why I get the following message? Can't locate loadable object for module ModPerl::Const in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/Apache/Const.pm line 3 Does the whole module not come as part of the package...? It should be there ... Do you have a PerlModule Apache2 directive in httpd.conf, or else have a use Apache2; in a startup file? This loads Apache2.pm (under /Perl/site/lib/), which adjusts @INC to include the /Perl/site/lib/Apache2/ directory. The error about not locating the loadable object for ModPerl::Const is referring to libraries under /Perl/site/lib/Apache2/auto/ModPerl/Const/. -- best regards, randy
Re[2]: Randy Kobe's mod_perl2 all-in-one binary
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi Randy, On Thursday, January 30, 2003 at 6:18:48 PM, you wrote: RK On Thu, 30 Jan 2003, Lee Goddard wrote: I've just downloaded and installed your godsend of an all-in-one Apache2/mod_perl2 package - thanks very much for it! Server runs nicely. But is there a simple explanation of why I get the following message? Can't locate loadable object for module ModPerl::Const in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/Apache/Const.pm line 3 Does the whole module not come as part of the package...? RK It should be there ... Do you have a PerlModule Apache2 RK directive in httpd.conf, or else have a use Apache2; in a RK startup file? This loads Apache2.pm (under /Perl/site/lib/), RK which adjusts @INC to include the /Perl/site/lib/Apache2/ RK directory. The error about not locating the loadable object for RK ModPerl::Const is referring to libraries under RK /Perl/site/lib/Apache2/auto/ModPerl/Const/. Yes, I understand that, which is what confused me. Funny thing is that it (my startup.pl) works from Apache, just not from the command line -- I presume there's something going into @INC I don't know about. Thanks, Randy, Lee -BEGIN PGP SIGNATURE- Version: 2.6 iQCVAwUAPjljI6drfekeF/QBAQEHYwQAlQCXJ35CVW8zdHOVQHuUfq2VLn5TK75t I/IpaoU7iEPE5cXW6LLxtMMy5YcF4f8nU46VEvdb5tzRVe0CxSEor1DnREC8TyGn Nxk2GbtMOEJBpk3K/6SDkYLknYbTKJh7b1fJ0jaDGv6uWEi3OHIMvbG2bk1phyKS rvkq/EEraTg= =zqQA -END PGP SIGNATURE-
Re: Randy Kobe's mod_perl2 all-in-one binary
[...] Yes, I understand that, which is what confused me. Funny thing is that it (my startup.pl) works from Apache, just not from the command line -- I presume there's something going into @INC I don't know about. It's normal that code loading Apache::* modules doesn't work from the command line. This is because it requires mod_perl to be loaded into the program, which is not there when run from the command line. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com