At 20:15 22.04.2002, 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 > > > 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. > >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.
Did you have an old version of mod_perl installed? The modules you are using seem to be from mod_perl 1, while you need the mod_perl 2 ones. If in doubt, try inserting PerlModule Apache2 before any other Perl* directives. -- Per Einar Ellefsen [EMAIL PROTECTED]