Robert Johnson wrote:
Sisyphus(Rob), et. al.,
This is my second try to build the stable perl -- same
problems. New thread for clarity.
I'm building Perl 5.8.6 again on my Windows XP box (factory
Dell dimension <2yrs old standard stuff). Compiled it with
with MinGW (3.1.0) using dmake (4.1 for win32).
I'm still having the same problems: several of the
'dmake test' items fail.
as Sisyphus noted on my first try, the failed tests all
seem to have something to do with the `type command. I
tried using `type in this recently built perl, and in a
previous installation of the ActiveState perl binary (5.8.1)
-- in both cases `type can not find the specified file in
perl, but it can in the windows <cmd.exe> shell.
I only use the WinXP cmd.exe shell. I believe I configured
makefile.mk correctly, according to readme instructions.
Attached below are the failures/warnings that came up
during the 'dmake test' as well as during the build process.
I hope this will be useful, and that you can help me figure
out what's going wrong here.
I'm not at a Windows box right now, but...
===============WARNS/FAILS FROM DMAKE TEST================
normal dmake complaint, ignore it.
dmake.exe: makefile: line 2: Warning -- Macro `PERL' cannot be
redefined
For failed tests, have a look at:
<http://search.cpan.org/dist/perl/INSTALL#What_if_make_test_doesn't_work?>
comp/multiline..............................
Comp.try not found
# Failed at ./test.pl line 249
# got ''
# expected /(?-xism:.*\n.*\n.*\n$)/
# Failed at comp/multiline.t line 53
# got ''
# expected 'now is the time
# for all good men
# to come to.
#
#
# !
#
# '
comp/multiline..............................FAILED tests 5-6
Failed 2/6 tests, 66.67% okay
io/dup......................................
Io.dup not found
Confused test output: test 3 answered after test 8
Confused test output: test 4 answered after test 9
Confused test output: test 5 answered after test 10
Confused test output: test 6 answered after test 11
Confused test output: test 7 answered after test 12
Confused test output: test 8 answered after test 13
Confused test output: test 9 answered after test 14
Confused test output: test 10 answered after test 15
Confused test output: test 11 answered after test 16
Confused test output: test 12 answered after test 17
Confused test output: test 13 answered after test 18
Confused test output: test 14 answered after test 19
Confused test output: test 15 answered after test 20
Confused test output: test 16 answered after test 21
Confused test output: test 17 answered after test 22
Confused test output: test 18 answered after test 23
Confused test output: test 19 answered after test 24
Confused test output: test 20 answered after test 25
io/dup......................................FAILED tests 2-7
Failed 6/26 tests, 76.92% okay
../ext/IO/t/io_dup..........................
Io.dup not found
../ext/IO/t/io_dup..........................FAILED tests 2-5
Failed 4/6 tests, 33.33% okay
These dmake warnings are normal & harmless
dmake.exe: makefile: line 695: Warning -- Macro `TEST_VERBOSE' cannot be
redefined
dmake.exe: makefile: line 73: Warning -- Macro `PREFIX' cannot be
redefined
dmake.exe: makefile: line 72: Warning -- Macro `DESTDIR' cannot be
redefined
dmake.exe: makefile: line 73: Warning -- Macro `PREFIX' cannot be
redefined
dmake.exe: makefile: line 72: Warning -- Macro `DESTDIR' cannot be
redefined
dmake.exe: makefile: line 73: Warning -- Macro `PREFIX' cannot be
redefined
# Failed test 18 in ../lib/Net/Ping/t/450_service.t at line 143 *TODO*
# ../lib/Net/Ping/t/450_service.t line 143 is: ok $p -> ack();
Failed Test Stat Wstat Total Fail Failed List of Failed
---------------------------------------------------------------------
../ext/IO/t/io_dup.t 6 4 66.67% 2-5
comp/multiline.t 6 2 33.33% 5-6
io/dup.t 26 6 23.08% 2-7
59 tests and 696 subtests skipped.
Failed 3/911 test scripts, 99.67% okay. 12/88274 subtests failed, 99.99%
okay.
dmake.exe: Error code 255, while making 'test'
All the warnings below are normal & expected under MinGW
===================BUILD WARNINGS DURING DMAKE================
win32.c: In function `win32_execv':
win32.c:4052: warning: passing arg 3 of `spawnv' from incompatible
pointer type
win32.c:4054: warning: passing arg 2 of `execv' from incompatible
pointer type
win32.c: In function `win32_execvp':
win32.c:4074: warning: passing arg 2 of `execvp' from incompatible
pointer type
../perl.c: In function `S_my_exit_jump':
../perl.c:4805: warning: `noreturn' function does return
In file included from perllib.c:49:
perlhost.h: In function `CPerlHost* IPerlMem2Host(IPerlMem*)':
perlhost.h:239: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
perlhost.h: In function `CPerlHost* IPerlMemShared2Host(IPerlMem*)':
perlhost.h:244: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
perlhost.h: In function `CPerlHost* IPerlMemParse2Host(IPerlMem*)':
perlhost.h:249: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
perlhost.h: In function `CPerlHost* IPerlEnv2Host(IPerlEnv*)':
perlhost.h:254: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
perlhost.h: In function `CPerlHost* IPerlStdIO2Host(IPerlStdIO*)':
perlhost.h:259: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
perlhost.h: In function `CPerlHost* IPerlLIO2Host(IPerlLIO*)':
perlhost.h:264: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
perlhost.h: In function `CPerlHost* IPerlDir2Host(IPerlDir*)':
perlhost.h:269: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
perlhost.h: In function `CPerlHost* IPerlSock2Host(IPerlSock*)':
perlhost.h:274: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
perlhost.h: In function `CPerlHost* IPerlProc2Host(IPerlProc*)':
perlhost.h:279: warning: invalid offsetof from non-POD type `class
CPerlHost';
use pointer to member instead
win32.c: In function `win32_execv':
win32.c:4052: warning: passing arg 3 of `spawnv' from incompatible
pointer type
win32.c:4054: warning: passing arg 2 of `execv' from incompatible
pointer type
win32.c: In function `win32_execvp':
win32.c:4074: warning: passing arg 2 of `execvp' from incompatible
pointer type
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs