William F. Weld , a popular former governor of Massachusetts and prodigious fund-raiser , said yesterday that he was seriously considering running for governor of New York in 2006 if Gov . George E. Pataki and Rudolph W. Giuliani did not .