I downloaded this patch so I can execute the next program out the
mod_perl.
$>perl -w
my $pass_crypt = crypt("hola","ui");
print $pass_crypt ."\n";
$>
But, when Apache::AuthenDBI use this function, apache show me the error
down mentioned.
The problem is that I have not compiled correctly the DLL .How must
built the dll??
Thanks
Epi
Matt Sergeant wrote:
>
> No, it's just not shipped with the standard source code for win32. You need
> to download a small patch. See README.win32 in the perl source code archive.
>
> On Tue, 21 Dec 1999, epi wrote:
> > When I use the Apache::AuthenDBI the apache server generate the next
> > error:
> >
> > =============
> > [Tue Dec 21 11:54:12 1999] [error] [Tue Dec 21 11:54:12 1999] nul: The
> > crypt() function is unimplemented due to excessive paranoia. at
> > c:\perl\site\5.00503\lib/Apache/AuthenDBI.pm line 186.
> > =============
> >
> > But, I built the perl with this function, and when i use this function
> > out mod_perl, the perl doesn't generate this error.
> >
> > How I must compile the PerlModule.dll to include this function inside
> > mod_perl
> >
> > My machine:
> >
> > Windows NT40 SP5
> > Apache1.3.9
> > Mod_perl_1.21
> > Perl:
> >
> > Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration:
> > Platform:
> > osname=MSWin32, osvers=4.0, archname=MSWin32-x86
> > uname=''
> > hint=recommended, useposix=true, d_sigaction=undef
> > usethreads=undef useperlio=undef d_sfio=undef
> > Compiler:
> > cc='cl.exe', optimize='-O2 -MD -DNDEBUG', gccversion=
> > cppflags='-DWIN32'
> > ccflags ='-O2 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
> > -DHAVE_DES_FCRYPT '
> > stdchar='char', d_stdstdio=define, usevfork=false
> > intsize=4, longsize=4, ptrsize=4, doublesize=8
> > d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
> > alignbytes=8, usemymalloc=n, prototype=define
> > Linker and Libraries:
> > ld='link', ldflags ='-nologo -nodefaultlib -release -machine:x86'
> > libpth=\lib
> > libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
> > comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
> > netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib
> > odbc32.lib odbccp32.lib PerlCRT.lib
> > libc=PerlCRT.lib, so=dll, useshrplib=yes, libperl=perl.lib
> > Dynamic Linking:
> > dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
> > cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
> > -machine:x86'
> >
> >
> > Characteristics of this binary (from libperl):
> > Built under MSWin32
> > Compiled at Dec 20 1999 16:54:40
> > @INC:
> > c:\perl\5.00503\lib/MSWin32-x86
> > c:\perl\5.00503\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
> > c:\perl\site\5.00503\lib/MSWin32-x86
> > c:\perl\site\5.00503\lib
> --
> <Matt/>
>
> Details: FastNet Software Ltd - XML, Perl, Databases.
> Tagline: High Performance Web Solutions
> Web Sites: http://come.to/fastnet http://sergeant.org
> Available for Consultancy, Contracts and Training.