Captain's Log: William Shatner's Personal Account of the Making of Star Trek V: The Final Frontier as told by Lisabeth Shatner is a book with an excruciatingly long title, written by William Shatner's daughter. She's there throughout the production of Star Trek V, from early meetings, through pre-production, filming and postproduction. Since the book came out in 1989 alongside the film it doesn't cover the release and mostly negative reception of the film, which would have been interesting to see.
Regardless, it's a fascinating look at how something like a Star Trek film, which seems like a sure bet, can fall apart at basically every stage. This isn't how it's presented; it's essentially a Paramount promotional item so the tone is neutral-to-positive on every aspect of production, but it's easy to read between the lines, especially with the advantage of reading it now rather than at the time.
First, the scripting phase seems like a case of too many cooks. Bill Shatner wants to make an ambitious, philosophical and epic film in line with Star Trek: The Motion Picture. Harve Bennett and his collaborator David Loughery are more concerned with making sure the film is relatively crowd-pleasing and can be made on a reasonable budget. The higher-ups at Paramount want it to be funny, because Star Trek IV was funny and it did well. It's never explicitly mentioned, but someone somewhere clearly wanted to make sure that it had a Star Wars-y action-adventure feel. Gene Roddenberry and Leonard Nimoy aren't credited as producers or writers, but they too give feedback on what's in keeping with the Trek universe and Spock's character, respectively, and veto certain aspects. Through this process, we get to watch the script being committee-ed to death.
Then throughout preproduction and production, essentially everything goes wrong. I like William Shatner, but it's clear that he's in over his head, learning the ropes as director while on the job, and a production on this scale really isn't the place for that. The crew are consistently behind schedule, the budget is continually chipped away so that sequences like the climax get smaller and smaller (from cherubim that turn into demons, to an army of Rockmen, to three Rockmen, to one Rock Man to nothing), there are continual failures of communication, and plenty of catastrophes that, in fairness to Shatner, are just bad luck (e.g. a Teamsters strike). Again you have to read between the lines but it's clear that Shatner takes out his frustration on the people around him and this creates a sour atmosphere. He doesn't seem to allocate time well, and quite a few intended location shots aren't finished in time. These then have to be reworked so they can shoot them at the studio instead.
The ingenuity of the special effects people often impresses me as they improvise solutions to tricky problems, yet it also seems like a failure of planning. The director and the people behind him shouldn't be planning these sequences until they're sure of how to achieve them. For a film with so much studio interference going on, it also feels frustratingly amateurish.
This is a good book to read even (probably especially) if you don't like the film as it eventually turned out. It's a really interesting look at how a process of continual compromise, interference from all corners, budget problems, and all kinds of miscellaneous problems can come together to "kill" even the most ostensibly straightforward, commercial film project. That's a classic Hollywood story that plays out again and again over the decades (Alien 3, Justice League, etc.), but you don't usually get a first-hand account like this.
For the record, though, I quite like Star Trek V. I certainly don't think it's the disaster it's often made out to be, and I find it more ambitious, more consistently entertaining, and more true to the spirit of Trek than Search for Spock (which is still OK-to-good) or any of the TNG movies.