Tom Christiansen wrote on 2011-11-02: > On Tuesday, November 1st, 2011 at 6:24pm EDT, Ricardo Signes wrote: >> * From all reports so far, this library doesn't work on Win32. > > I'm probably the worst possible person to address something like that. > >> I have not tested this myself, but I've done some poking around, and it >> was mentioned in some previous posts. I am very hesitant to proudly >> announce that text handling in Perl 5 just got even better if I have to >> include an asterisk about Win32. > I've just tried on my Win32 box and Unicode-LineBreak certainly doesn't build out of the box, but most of the problems are with the sombok library itself, which only has a Unixy configure script. However, I built sombok easily using MSYS/MinGW and simply copied the library and header files that were generated into the expected locations in Unicode-LineBreak's build tree, and then all is well with two further changes: I had to replace all occurrences of strcasecmp with stricmp in LineBreak.xs, and I had to make the copy_unidata target in the Makefile a no-op to avoid more Unixy shell syntax (the necessary test data is bundled anyway). After that it all built and tested ok (using perl 5.12.2 and VS2010)! :- [18:17:03] t/00LineBreakTest.t .. # LineBreakTest-6.0.0.txt Date: 2010-08-30, 21:08:43 GMT [MD] [18:17:03] t/00LineBreakTest.t .. ok 1343 ms [18:17:05] t/01break.t .......... ok 145 ms [18:17:05] t/02hangul.t ......... ok 130 ms [18:17:05] t/03ns.t ............. ok 132 ms [18:17:05] t/04fold.t ........... ok 198 ms [18:17:05] t/05urgent.t ......... ok 134 ms [18:17:05] t/06context.t ........ ok 130 ms [18:17:06] t/07sea.t ............ skipped: SA word segmentation not supported. [18:17:06] t/08partial.t ........ ok 189 ms [18:17:06] t/09uri.t ............ ok 133 ms [18:17:06] t/10gcstring.t ....... ok 127 ms [18:17:06] t/11format.t ......... ok 134 ms [18:17:06] t/12fold2.t .......... ok 147 ms [18:17:07] t/13flowedsp.t ....... ok 134 ms [18:17:07] t/14sea_al.t ......... ok 124 ms [18:17:07] t/15array.t .......... ok 160 ms [18:17:07] t/16regex.t .......... ok 173 ms [18:17:07] t/pod.t .............. ok 344 ms [18:17:07] All tests successful. Files=18, Tests=5535, 4 wallclock secs ( 0.47 usr + 0.03 sys = 0.50 CPU) Result: PASSThread Previous | Thread Next