RATIONALE: Tipifarnib may stop the growth of tumor cells by blocking the enzymes necessary for their growth and may make them more sensitive to radiation therapy. Radiation therapy uses high-energy x-rays to damage tumor cells. Giving tipifarnib together with radiation therapy may kill more tumor cells.