From: Joel M. <jo...@ma...> - 2004-05-31 18:04:37
|
Nope, the problem isn't that it's FAT32. Mine is NTFS. Joel David Kaufman wrote: > > it's not limited to gentoo either, of course. > > the make tests also fail for Time::Hires, and thus for all the > Benchmarks, even when compiling perl 5.8.4 on the coLinux-supplied > debian filesystem image. i was trying this perlmonks tutorial "Install > parallel Perl on Debian" [ http://perlmonks.thepen.com/285799.html ] > > i think it has something to do with the fact that my underlying > filesystem is FAT32 instead of NTFS. FAT32 files have a time > "resolution" of just less that 2 seconds, which confuses compilers and > makes Time::Hires think it has failed when it hasn't really -- the > filesystem has failed it. > > the only workaround i know of is to just not run "make test" when > compiling perl -- not an optimal solution, of course. but i skipped it > and just did a make install and my new perl 5.8.4 installed flawlessly > and works great. > > i'd be interested to see if it really *is* the FAT32 -second time > resolution limitation that is causing this, and if so, what can be done > about it to make perl detect the environment, and skip the test on this > platform, as perl for windows does on FAT32 volumes. are you two both > running colinux on Fat32-formatted drives? if you're not sure then, in > explorer, right-click the drive colinux is installed on, select > properties, and "General" tab should show > > Type: Local Disk > File System: FAT32 > > if it says NTFS instead of FAT32 and you're getting this error compiling > perl, then drop me a note so i can look into it further. > > Dan, if my suspicions are right, how could perl tests running on coLinux > even *discover* that the host filesystem is FAT32 so that we can teach > them to skip these tests? and wouldn't there have to be some run-time > test perl could do to learn the host filesystem, since the colinux image > might be moved to and from different filesystems while it was "asleeep"? > > -dave |