Cannot create a new IO::Tty from fd 4: Bad file descriptor
On some freebsd systems there are perlmodule problems. For instance:
/scripts/perlinstaller Digest::MD5 Method: Perl Expect Cannot create a new IO::Tty from fd 4: Bad file descriptor at /scripts/cPScript/cPCPAN/Install.pm line 41
Direct cPanel Support Response
This seems to be a freebsd bug. See the following URL.
I've removed -DHAVE_UNLOCKPT and reinstalled the IO::Tty perl module on your server, and it seems to be working now. Let me know if you continue to experience this problem.
* In this case the above was removed from the Makefile.