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

[ID 20010806.014] Test lib/io_xs fails for perl 5.6.1 on NT

Thread Next
From:
Jens Schmidt
Date:
August 6, 2001 08:12
Subject:
[ID 20010806.014] Test lib/io_xs fails for perl 5.6.1 on NT
Message ID:
uwv4h5fov.fsf@oracle.com
Hi.

The test lib/io_xs comes through on my NT box only when I run it
as administrator.  Using a filemonitor I would guess that this is
because IO::File::new_tmpfile tries to create a temporary file in
the root directory c:\, which is write-accessible for
administrators only on my system.

Maybe IO::File::new_tmpfile should evaluate some environment
variable to get a path to a directory which is intended for
temporary files, and, in particular, guaranteed to be
world-writable.

Regards

Jens


This is my perl:

Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT   -DPERL_MSVCRT_READFIX',
    optimize='-O1 -MD -DNDEBUG',
    cppflags='-DWIN32'
    ccversion='', gccversion='', gccosandvers=''
    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, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='', ldflags ='-nologo -nodefaultlib -release  -libpath:"c:\usr\perl\5.6.1\lib\CORE"  -machine:x86'
    libpth=C:\usr\mvs\VC98\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 msvcrt.lib
    perllibs=  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 msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release  -libpath:"c:\usr\perl\5.6.1\lib\CORE"  -machine:x86'


Characteristics of this binary (from libperl): 
  Compile-time options:
  Built under MSWin32
  Compiled at Aug  6 2001 15:52:25
  %ENV:
    PERLLIB="c:/home/jschmidt/work/perl"
  @INC:
    c:/home/jschmidt/work/perl
    c:/usr/perl/5.6.1/lib
    c:/usr/perl/site/5.6.1/lib
    .



Thread Next


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