Subject: | make install fails if /usr/share/man/man3 exists |
When I try to install IO::Tty on cygwin, either from source or via cpan,
the installation fails with
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/share/man/man3'
Do not have write permissions on '/usr/share/man/man3'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
Makefile:763: recipe for target `pure_site_install' failed
make: *** [pure_site_install] Error 2
unless I first remove (or move) /usr/share/man/man3 to something else, so
that the installer can create it. (It's possible that man3 was a symlink,
though, because running make install twice, after destroying man3, works
fine.)