Ghost the Musical

Katie Postotnik, left, and Steven Grant Douglas perform in "Ghost - The Musical." The show runs Tuesday through August 10 at the Segerstrom Center for the Arts. (Joan Marcus / September 13, 2013)

Dave Stewart has a suggestion for theatergoers heading to "Ghost The Musical" — pack Kleenex.

"The audience is left weeping," Stewart, the former Eurythmics musician who helped write the show's music, said Tuesday. "Lots of men weeping, going through the emotions."

Based on the 1990 drama starring Patrick Swayze and Demi Moore, the theatrical show is set in modern-day New York City, beginning with the scene of couple Sam and Molly walking back to their apartment one night after a romantic dinner. The two are mugged, leaving Sam dead on the street.

Sam, now a ghost caught between this world and the next, is unable to leave Molly, who he learns is in grave danger. With the help of a phony psychic, Sam tries to communicate with Molly in the hopes of saving her life.

Stewart, who along with singer Annie Lennox wrote and performed '80s and '90s hits including "Sweet Dreams" and "Here Comes the Rain Again," has produced albums and co-written songs for Stevie Nicks, Tom Petty, Bono, Mick Jagger, Katy Perry and Jon Bon Jovi. He was approached by producers to meet with Bruce Joel Rubin, the Academy Award-winning screenwriter of "Ghost," to collaborate on writing the music.

"When we met, we bonded fantastically," Stewart said in an interview. "We were inspired and felt creative, and we were on a mission, because I've heard collaborating on musicals can be complex."

The five-year project led to the show's opening in London in 2011 and its appearance on Broadway the next year. On July 29, it will arrive at the Segerstrom Center for the Arts and run through Aug. 10.

Stewart, who had never scored a musical before, was interested because he was intrigued by the book.

"Musicals take a long time because there are so many different stages," Stewart said. "It just becomes a complex Rubik's Cube and you have to stay with it."

Rubin was another matter. When he was first approached about writing a musical based on his film, his answer was no.

"I couldn't see an upside to it," he said in a news release. "The film had a life, a reputation."

But after a meeting with producers years later, Rubin imagined embarking on a different angle.

"I thought that this might be an opportunity for me to explore the spiritual dimension of the story," he said. "When I use the word spiritual, what I mean is a cosmological view of the universe that doesn't begin with birth and end with death. And the producers were very open to that idea."

Rubin had to decide where the songs fit and what they should be. Because he had never written lyrics, he decided to take on the challenge and wound up with 20 potential songs.

Now the lyrics needed music.

Meetings were arranged with Stewart, who asked to bring along his friend Glen Ballard, a producer and songwriter who has worked with Alanis Morissette, Michael Jackson and Aerosmith. "We started talking, and the three of us had a remarkable synergy," Rubin said.

Said Ballard in the news release: "I think Bruce was both shocked and happily surprised that Dave and I dived into the deep end and started conjuring melodies out of his words. In no time, we probably had the DNA of two or three songs."

Only two of Rubin's songs remained in the show, but many of his phrases survived.

Stewart said he had the most fun working on psychic character Oda Mae Brown — a daunting task, since the collaborators realized they would have to compete with audience memories of Whoopi Goldberg's Academy Award-winning performance.

"Oda Mae is so important because she's a fun character, and you've got a sad story and you need some relief," Stewart said in the news release.