in reply to Building 5.8.1-RC2 with BCC5.5
With much greatly appreciated assistance from PodMaster, I've (finally) managed to get this to work.
Here is the step-by-step process for building Perl 5.8.1-RC2 from the cpan source for Win32 using Borland BCC 5.5 (free compiler) and dmake (I forget where I got this from but it was also free?).
Note: the procedure outlined here disables LARGE_FILES ( > 4 GB) support and PerlIO Support to work around problems caused by the differences between Borland and MS VC++ libraries.
Edit win32/makefile.mk
Comment out line 3316 /* #define USE_LARGE_FILES /**/
Completes with no errors but several warnings are issued. This seems to be the status quo.
Quite a few tests fail. Some are explainable by a conflict on my system with a comand t.exe which seems to interfere with a few of the tests. Some are explained by my firewall preventing socket tests from working.
Three failures of the threaded stress tests resulted in Seg faults (Trap Ds) which I cannot yet explain. The mysterious "1 SUBTEST UNEXPECTEDLY SUCCEEDED" remains a mystery:)
The testing summary is
Failed Test Stat Wstat Total Fail Failed List o +f Failed ---------------------------------------------------------------------- +--------- ../ext/Socket/socketpair.t 255 65280 ?? ?? % ?? ../ext/threads/t/stress_cv.t 64 45 70.31% 20-64 ../ext/threads/t/stress_re.t 4 1024 64 90 140.62% 20-64 ../ext/threads/t/stress_string.t 64 45 70.31% 20-64 ../ext/threads/t/thread.t 25 1 4.00% 25 ../lib/Net/Ping/t/190_alarm.t 2 512 6 1 16.67% 6 ../lib/Net/Ping/t/450_service.t 26 4 15.38% 8-10 2 +2 ../lib/Pod/t/eol.t 2 512 3 2 66.67% 1-2 ../lib/Test/Simple/t/fail-more.t 2 1 50.00% 2 io/dup.t 12 2 16.67% 6-7 op/taint.t 206 2 0.97% 1 31 win32/system.t 1008 10 0.99% 999-10 +08 (1 subtest UNEXPECTEDLY SUCCEEDED), 86 tests and 643 subtests skipped +. Failed 12/808 test scripts, 98.51% okay. 158/76058 subtests failed, 99 +.79% okay. dmake.exe: Error code 32, while making 'test'
The 98% and 99% OK figures are encouraging, but not totally convincing.
This completes with 568 File(s) copied on my system.
I'm still trying to track down and correct the errors that required large file support (less of an issue for me) and the PerlIO subsystem (which is more of an issue, but could be related). If I succeed, I'll update this post with my findings.
|
|---|