Phase II: Patients receive oral tipifarnib twice daily for 6 days. Beginning at least 48 hours after completion of the initial dose of tipifarnib, patients receive treatment as in phase Ib for up to 6 courses at the MTD of capecitabine. Patients in phase Ib are followed at 3 months.