SYDNEY (AP) — A powerful earthquake off the Solomon Islands generated a tsunami of up to about 5 feet that damaged dozens of homes and likely killed several people in the South Pacific island chain on Wednesday.

Authorities canceled warnings for tsunamis on more distant coasts.

Solomons officials reported two 5-foot waves hit the western side of Santa Cruz Island, damaging about 50 homes and properties, said George Herming, a spokesman for the prime minister. Many villagers had headed to higher ground as a precaution, Mr. Herming said.

Solomon Islands police Commissioner John Lansley said local police patrols had reported that several people were presumed dead, though the reports were still being verified.

“Sadly, we believe some people have lost their lives,” he said. “At the moment we potentially know of four, but there may of course be more.”

Four villages on Santa Cruz were affected by the waves, with two facing severe damage, Mr. Lansley said. Other areas of the Solomons did not appear to have been seriously affected.

The tsunami formed after an 8.0-magnitude earthquake struck near Lata on Santa Cruz in Temotu province, the easternmost province of the Solomons, about a three-hour flight from the capital, Honiara. The region has a population of around 30,000 people.

The Pacific Tsunami Warning Center said a tsunami of about 3 feet was measured in Lata wharf, in the Solomon Islands. Smaller waves were recorded in Vanuatu and New Caledonia.

The center cancelled earlier warnings for tsunami waves further away.

Richard Dapo, a school principal on an island near Santa Cruz, said he lives inland but has been fielding calls from families on the coast whose homes have been damaged by the waves.

“I try to tell the people living on the coastline: ‘Move inland; find a higher place. Make sure to keep away from the sea. Watch out for waves,’” he said.

He said he’s heard the waves have swamped some smaller islands, although he’s not aware of any deaths or serious injuries at this point. He said it’s difficult to contact people because cellphone coverage is patchy in the region.

In Honiara, the warnings prompted residents to flee for higher ground.

“People are still standing on the hills outside of Honiara just looking out over the water, trying to observe if there is a wave coming in,” said Mr. Herming, the prime minister’s spokesman.

Atenia Tahu, who works for the Solomon Islands Broadcasting Corp. in Honiara, said most people were remaining calm.

“People around the coast and in the capital are ringing in and trying to get information from us and the National Disaster Office and are slowly moving up to higher ground,” Ms. Tahu said. “But panic? No, no, no, people are not panicking.”

Dr. Rooney Jagilly, the medical superintendent at the National Referral Hospital in Honiara, said the hospital asked about half its 200 patients to leave and stay with family or friends as a precautionary measure because the hospital is located near the shoreline. Those patients who weren’t mobile enough to move stayed, but the hospital remained ready to evacuate them.

Dr. Jagilly said there had been no flooding, and he hoped the hospital would return to normal Thursday. He said his staff was ready to mobilize to Santa Cruz because the small hospital there has no doctor after the previous one died recently.

An official at the disaster management office in Vanuatu said there were no reports of damage or injuries there.

More than 50 people were killed and thousands lost their homes in April 2007 when a magnitude-8.1 quake hit the western Solomon Islands, sending waves crashing into coastal villages.

The Solomons are composed of more than 200 islands with a population of about 552,000 people. They lie on the “Ring of Fire” — an arc of earthquake and volcanic zones that stretches around the Pacific Rim and where about 90 percent of the world’s quakes occur.

The U.S. Geological Survey said the quake struck 50 miles west of Lata, at a depth of 3.6 miles.

• Associated Press writers Nick Perry in Wellington, New Zealand, and Rod McGuirk in Canberra, Australia, contributed to this article.