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

Question about PERLIO

Thread Next
From:
Abe Timmerman
Date:
September 25, 2001 17:11
Subject:
Question about PERLIO
Message ID:
q872rtgpu1q7m6jgfrd2clmhrb7jl4dgnd@4ax.com
Hi,

I think I don't understand this PERLIO thing.

I'm on a W2k machine with MSVC 6 (plain CMD.exe). This is perl@12185.

I changed Makefile (as provided in the win32 subdir)

	CCTYPE		= MSVC60

It builds OK and passes all tests, then I do

	>set PERLIO=stdio
	>nmake test

This is what I get:

Failed Test                   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
..\ext/Filter/t/call.t                      28    1   3.57%  24
..\lib/English.t                 1   256    54    1   1.85%  48
..\lib/Search/Dict.t                         4    1  25.00%  2
..\lib/Tie/Handle/stdhandle.t               13    1   7.69%  5
..\lib/Unicode/UCD.t                       162  117  72.22%  1-34 52-118 122-
                                                             137
comp/require.t                              23    2   8.70%  22-23
io/open.t                                   70    2   2.86%  4 36
io/tell.t                                   23    2   8.70%  7 10
io/utf8.t                                   25    1   4.00%  19
39 tests and 250 subtests skipped.
Failed 9/464 test scripts, 98.06% okay. 128/25650 subtests failed, 99.50% okay. 

Is this the way it _should_ work or am I doing something wrong?

Another problem is when I change that Makefile like:

	#USE_PERLIO	= define

That is: comment out USE_PERLIO (after a nmake distclean) and again nmake:

        link -subsystem:console -out:..\miniperl.exe
@C:\DOCUME~1\AA063~1.TIM\LOCALS~1\Temp\nma01740.
   Creating library ..\miniperl.lib and object ..\miniperl.exp
perlio.obj : error LNK2001: unresolved external symbol _PerlIO_win32
..\miniperl.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x460'
Stop.


BTW: I still get lots of these:

..\embed.h(2161) : warning C4005: 'sv_2pv' : macro redefinition
        ..\sv.h(993) : see previous definition of 'sv_2pv'
..\embed.h(2178) : warning C4005: 'sv_catpvn' : macro redefinition
        ..\sv.h(991) : see previous definition of 'sv_catpvn'
..\embed.h(2179) : warning C4005: 'sv_catsv' : macro redefinition
        ..\sv.h(989) : see previous definition of 'sv_catsv'
..\embed.h(2212) : warning C4005: 'sv_pvn_force' : macro redefinition
        ..\sv.h(995) : see previous definition of 'sv_pvn_force'
..\embed.h(2231) : warning C4005: 'sv_setsv' : macro redefinition
        ..\sv.h(987) : see previous definition of 'sv_setsv'
..\embed.h(2345) : warning C4005: 'sv_utf8_upgrade' : macro redefinition
        ..\sv.h(997) : see previous definition of 'sv_utf8_upgrade'
	
-- 
Good luck, Abe
Amsterdam Perl Mongers http://amsterdam.pm.org
perl -wle '$_=q@Just\@another\@Perl\@hacker@;print qq@\@{[split/\@/]}@'

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