E. Cobham Brewer 18101897. Dictionary of Phrase and Fable. 1898.
Ceca to Mecca (From).
From one end of the world to the other; from pillar to post. It is a Spanish phrase meaning to roam about purposelessly. Ceca and Mecca are two places visited by Mohammedan pilgrims. (Compare: From Dan to Beersheba; and From Lands End to John o Groats.)
1
Let us return home, said Sancho, no longer ramble about from Ceca to Mecca.Cervantes; Don Quixote, I. iii. 4.