On Thu, 7 Nov 2002, jheckel wrote:

> Hi
> since two weeks I can no longer compile the mod_perl-2.0 package from 
> the snapshot server without errors. The last "good" compilation was 
> 10/27/2002:-(
> 
> Apache version 2.0.44-dev, WinXP, Perl 5.6.1 Build 633.
> 
> My install commands:
> perl Makefile.PL MP_AP_PREFIX=f:/apache2
> nmake
> nmake install
> 
> 
> .....
> "C:\Programme\Microsoft Visual Studio\VC98\lib\msvcrt.lib" -def:Access.def
>     Creating library ..\..\..\blib\arch\auto\Apache\Access\Access.lib 
> and object
> ..\..\..\blib\arch\auto\Apache\Access\Access.exp
> Access.obj : error LNK2001: unresolved external symbol _newSVpvf
> ..\..\..\blib\arch\auto\Apache\Access\Access.dll : fatal error LNK1120: 
> 1 unresolved externals

I'm not familiar enough with the internal build stuff to see
where this gets defined in general, but a temporary workaround
for the above problem is to change in
modperl-2.0/xs/Apache/Access/Apache__Access.h, about line 63, the
call
   av_push(config, newSVpvf(..));
to
   av_push(config, Perl_newSVpvf(..));
Both on perl-5.6.1 and perl-5.8 I got tests 7 and 9 of
api/access.t and test 2 of t/modperl/setauth.t failing, for
reasons of being unable to change the AuthType and AuthName. It
may be that the above isn't the right fix, or this may be
unrelated.

-- 
best regards,
randy kobes

Reply via email to