On Wed, 20 Sep 2000, David Leeson wrote:
> I have built the latest mod_perl from cvs (dated 21:12 on 18-SEP-2000)
> and have the following message (again).
>
> [Wed Sep 20 13:53:14 2000] [error] Can't locate loadable object for module
> Apache::Cookie in @INC (@INC contains: E:\TEMP\MODPERL\LIB
> e:/apache/lib/perl E:\mod_perl\lib, C:\PERL\5.00503\site\lib
> C:\PERL\5.00503\lib/MSWin32-x86 C:\PERL\5.00503\lib
> C:\PERL\site\5.00503\lib/MSWin32-x86 C:\PERL\site\5.00503\lib . e:/apache/
> e:/apache/lib/perl) at C:\PERL\site\5.00503\lib/mod_perl.pm line 65535
> BEGIN failed--compilation aborted at conf/startup.pl line 16.
>
> Syntax error on line 248 of e:/apache/conf/httpd.conf:
> Can't locate loadable object for module Apache::Cookie in @INC (@INC
> contains: E:\TEMP\MODPERL\LIB e:/apache/lib/perl E:\mod_perl\lib,
> C:\PERL\5.00503\site\lib C:\PERL\5.00503\lib/MSWin32-x86
> C:\PERL\5.00503\lib C:\PERL\site\5.00503\lib/MSWin32-x86
> C:\PERL\site\5.00503\lib . e:/apache/ e:/apache/lib/perl) at
> C:\PERL\site\5.00503\lib/mod_perl.pm line 65535
> BEGIN failed--compilation aborted at conf/startup.pl line 16.
>
> Randy, have you any ideas/suggestions/patches?
Going by that message, apparently Apache::Cookie isn't
yet installed fully. Did the compilation go without
errors? And did 'make install' really install everything?
If so, are the files really there under a directory
of @INC specified above?
>
> BTW:
>
> Can someone also update INSTALL.win32 to include the need to specify -DEAPI
> for the
> compiler. This is done when building ApachePerlModule.dll via
> Project-Settings-C/C++
> and prepending "EAPI," to the Pre-processor definitions (Note the comma
> separator).
>
> Ta.
>
> -david
That flag's not needed for mod_perl in general, but if you have
a patched Apache for mod_ssl, there will be complaints from
mod_perl/Apache if mod_perl hadn't been compiled with -DEAPI.
It might be an idea to add the comment that, if one is using
mod_ssl (or some other module that uses EAPI) that to avoid
complaints one could add the -DEAPI when compiling mod_perl.
best regards,
randy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]