xk wrote:
>>I assume this is for mod_perl-1?
> 
> 
> Apache version info (shown on error web pages):
> Apache/2.0.35 (Win32) mod_perl/1.99_02-dev Perl/v5.6.1
> 
> Is this mod_perl 1.0 or 2.0? When I installed (from the location you
> pointed - theoryx5) it said mod_perl 2.0, but on Apache is shows 1.99

remember to use the script to report bugs, otherwise there will be no 
end to confusion. See:
http://perl.apache.org/preview/modperl-docs/dst_html/docs/2.0/user/help/help.html#Reporting_Problems

>>Do you have a
>>     LoadModule perl_module modules/mod_perl.so
>>line in your httpd.conf file?
> 
> 
> Yes, I do. Perl scripts work now fine if I put the correct path in them. But
> I'd like to setup Apache::Registry to get rid of this limitation.

if you want to use Apache::Registry from 1.x, you need to add:

use Apache::compat;

to your startup.pl.

In 2.0 this is now ModPerl::Registry (though it's not 100% completed yet)

> I've managed to get some error texts:
> 
> ==============
> [error] Can't locate loadable object for module Apache::Constants in @INC
> at .../Perl/site/lib/mod_perl.pm line 14
> 
> 14:    if ($ENV{MOD_PERL}) {
> 15:        (defined &{$class.'::bootstrap'} ?
> 16:         \&{$class.'::bootstrap'} :
> 17:         \&DynaLoader::bootstrap)->
> 18:             ($class, $version);
> 19:    }
> 
> Compilation failed in require at .../Perl/site/lib/Apache.pm line 6.
> BEGIN failed--compilation aborted at .../Perl/site/lib/Apache.pm line 6.
> 
> 6: use Apache::Constants qw(OK DECLINED);
> 
> Compilation failed in require at .../Perl/site/lib/Apache/Registry.pm line
> 2.
> BEGIN failed--compilation aborted at .../Perl/site/lib/Apache/Registry.pm
> line 2.
> 
> 2: use Apache ();
> 
> Compilation failed in require at (eval 1) line 3.
> 
> [error] Can't load Perl module Apache::Registry ...
> ============
> 
> the ... and the code snippets are from me.
> 
> Are there any modules missing? Althrough I'm a good C++ programmer, I don't
> know anything about how perl manages the modules, so I can't tell what's
> really wrong and I don't know where to look.
> 



-- 


__________________________________________________________________
Stas Bekman            JAm_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

Reply via email to