Whoopi Goldberg took director Rip Torn and the film's producers to court to prevent the film's release due to a disagreement over control over the final cut of the film. She lost.
The script was originally written in mind for Robin Williams, but Williams turned it down and the lead role went on to his Comic Relief USA partner Whoopi Goldberg.
Whoopi Goldberg constantly ignored the script and improvised (supposedly at the behest of New World Pictures, which was financing the film). It got to the point where Rip Torn was begging and pleading with her to do at least one take of each of her scenes as written.