develooper Front page | perl.perl5.porters | Postings from July 2001

Re: fcrypt.c

From:
Gerrit P. Haase
Date:
July 31, 2001 18:25
Subject:
Re: fcrypt.c
Message ID:
3B676FD2.21486.2FDC4E41@localhost
Gurusamy Sarathy schrieb am 2001-07-31, 13:13:

>>Is it a must to be 3.06?
>
>Not sure.  win32/des_fcrypt.patch is against the fcrypt.c that was
>found in that version.  IIRC, some later versions (4.x?) split
>fcrypt.c into a million little pieces, so it couldn't be easily
>plugged into the perl sources.
>
>>I found 3.23 here:
>>http://www.utexas.edu/ftp/source/libraries/libdes-3.23/
>
>Can you confirm if the patch will still apply? 
>

The patch from the perl sources is already merged in, but
des_fcrypt gets not defined, only des_crypt as before.

I patched fcrypt-3.23.c to change this, 
How should i test the build to see if it works o.k?
Is there a standard script or program somewhere?

The NEW patch is appended.

Some additional infos after building bleadperl with Borland C++ 5.02.

I got failures during build:
============================
E:\bleadperl\miniperl.exe compile -o EBCDIC.c -f EBCDIC.fnm
Use of uninitialized value in -f at compile line 51.
Use of uninitialized value in concatenation (.) or string at compile line 52.
Use of uninitialized value in concatenation (.) or string at compile line 52.
Cannot open :No such file or directory
dmake.exe:  Error code 2, while making 'EBCDIC.c'

I got failures during installation:
===================================
[...]
E:\bleadperl\miniperl.exe compile -o EBCDIC.c -f EBCDIC.fnm
Can't open perl script "../../perlglob": No such file or directory
Can't open perl script "../../perlglob": No such file or directory
Can't open perl script "../../perlglob": No such file or directory
Can't open perl script "../../perlglob": No such file or directory
Use of uninitialized value in -f at compile line 51.
Use of uninitialized value in concatenation (.) or string at compile line 52.
Use of uninitialized value in concatenation (.) or string at compile line 52.
Cannot open :No such file or directory
dmake.exe:  Error code 2, while making 'EBCDIC.c'
[...]

I got some test failures:
=========================

Failed 8/429 test scripts, 98.14% okay. -1/23026 subtests failed, 100.00% okay.
Failed Test                   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
..\ext\Encode\Encode\Tcl.t     255 65280    ??   ??       %  ??
..\ext\MIME\Base64\t\base64.t  255 65280    ??   ??       %  ??
..\ext\POSIX\POSIX.t                        29    1   3.45%  13
..\ext\PerlIO\t\encoding.t     255 65280    ??   ??       %  ??
..\lib\ExtUtils.t                           27    1   3.70%  27
..\lib\File\Find\find.t                     78   ??       %  ??
..\lib\File\Find\taint.t                    27   ??       %  ??
lib/1_compile.t                             57    1   1.75%  55

$ .\perl -V
Summary of my perl5 (revision 5 undef) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='bcc32', ccflags ='-O2 -D_RTLDLL -DWIN32 -DHAVE_DES_FCRYPT -DPERL5 -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS',
    optimize='-O2 -D_RTLDLL',
    cppflags='-DWIN32'
    ccversion='undef', gccversion='', gccosandvers='undef'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='tlink32', ldflags =' -L"c:\perl572\5.7.2\lib\MSWin32-x86-multi-thread\CORE"  -L"C:\bc5\lib"'
    libpth=C:\bc5\lib
    libs= import32.lib cw32mti.lib
    perllibs=undef
    libc=cw32mti.lib, so=dll, useshrplib=yes, libperl=perl57.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags='-tWD'
    cccdlflags=' ', lddlflags='-Tpd  -L"c:\perl572\5.7.2\lib\MSWin32-x86-multi-thread\CORE"  -L"C:\bc5\lib"'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
  Locally applied patches:
        DEVEL11497
  Built under MSWin32
  Compiled at Aug  1 2001 01:40:33
  @INC:
    C:/perl572/5.7.2/lib/MSWin32-x86-multi-thread
    C:/perl572/5.7.2/lib
    C:/perl572/site/5.7.2/lib/MSWin32-x86-multi-thread
    C:/perl572/site/5.7.2/lib
    .

C:\perl572\5.7.2\bin\MSWin32-x86-multi-thread
$

-- 
=^..^=




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About