On Wed, Jun 15, 2005 at 08:46:26PM -0000, Kerry Gray wrote: > I tried compiling perl 5.8.7 on Solaris 9 (sparc) using gcc. Everything > compiles fine, but the test program fails while testing 'cwd' -- a little > poking around the ext/Cwd/t/cwd.t program shows the program never returns > from line 115: > > Cwd::chdir $Test_Dir; > > It seems to me that an inability to chdir() would be a serious design > shortcoming in a programming language, hence my incredulity that such a > bug has not already been reported and fixed.
Cwd::chdir() is a wrapper around the real chdir(). So its not necessarily chdir() itself that's busted, just the special wrapper. chdir() is tested well before ext/Cwd/t/cwd.t so its likely to be working ok and its a problem with Cwd in your environment. Could you send the full information about your environment? The contents of config.sh would do it. Also, can you tell us what partition types are mounted on your system and if any of them are read-only? -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern Just call me 'Moron Sugar'. http://www.somethingpositive.net/sp05182002.shtml