mod_perl, compilation issues
André Warnier (tomcat/perl) <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
Hi. OS : Windows 10 Apache httpd 2.4.41 perl (Strawberry) : perl 5, version 26, subversion 2 (v5.26.2) built for MSWin32-x64-multi-thread mod_perl : from Steve Hay's mod_perl-2.0.10-strawberryperl-5.26.1.1-64bit.zip, as per Apache log : Apache/2.4.41 (Win64) mod_perl/2.0.10 Perl/v5.26.2 configured Problem : C:\>perl -cw D:\develop\06_SVN\AP2lib\trunk\modlib\AUTH\UMA2.pm Can't load 'C:/Strawberry/perl/site/lib/auto/ModPerl/Const/Const.dll' for module ModPerl::Const: load_file:Das angegebene Modul wurde nicht gefunden at C:/Strawberry/perl/lib/DynaLoader.pm line 193. at C:/Strawberry/perl/site/lib/Apache2/Const.pm line 19. Compilation failed in require at C:/Strawberry/perl/site/lib/Apache2/Const.pm line 19. BEGIN failed--compilation aborted at C:/Strawberry/perl/site/lib/Apache2/Const.pm line 19. Compilation failed in require at D:\develop\06_SVN\AP2lib\trunk\modlib\AUTH\UMA2.pm line 28. BEGIN failed--compilation aborted at D:\develop\06_SVN\AP2lib\trunk\modlib\AUTH\UMA2.pm line 28. Line 28 of UMA2.pm is : use Apache2::Const -compile => qw(:common :http :methods :override :proxy :log REDIRECT AUTHZ_GRANTED AUTHZ_DENIED AUTHZ_DENIED_NO_USER AUTHZ_GENERAL_ERROR); (wrapping due to email) C:/Strawberry/perl/site/lib/Apache2/Const.pm line 19 is : use ModPerl::Const (); File C:\strawberry\perl\site\lib\ModPerl\Const.pm exists, but has no "load_file" in it. The file C:/Strawberry/perl/site/lib/auto/ModPerl/Const/Const.dll exists. For non-german-speakers, the above message "load_file:Das angegebene Modul wurde nicht gefunden" translates as "load_file:the specified module was not found". The above module "UMA2.pm" compiles without error on a Linux server with similar httpd, perl and mod_perl versions. Any clue or additional questions welcome. Thanks