Thursday, October 14, 2010

MikTex 2.8 Downloading/Missing "ifxetex.sty" On Every Run

I debugged this problem after seeing my LyX on my Windows 7 machine taking so long to finish. I saw "latex" process was taking too long to finish. The I ran "latex" manually and the problem was obvious - "ifxetex" is being downloaded in every run.

This seems to be a bug in MikTex 2.8. The bug report can be found here: http://sourceforge.net/tracker/?func=detail&aid=3067362&group_id=10783&atid=110783

The solution is:
  1. Copy ...
                from: C:\Program Files (x86)\MikTeX 2.8\tex\generic\ifxetex\ifxetex.sy
                to: C:\Program Files (x86)\MikTeX 2.8\tex\latex\ifxetex\ifxetex.sty
  2. From Start-Menu > MikTex 2.8 > Maintenance (Admin), run "Update (Admin)" and update all pending update-able packages.
  3. Start-Menu > MikTex 2.8 > Maintenance (Admin), run "Settings (Admin)". and Then from "General" tab, click "Refresh FNDB" and "Update Formats"
MikTex should not download "ifxetex.sty" in every run now ;-).

16 comments:

deutsixfive said...

Thanks! This was a problem I had too, and what you said fixed it.

Upananda Pani said...

Thanks a lot. I had the same problem and got the solution...

killerblau said...

Thank you for this workaround. Works well.

Carlos Lam said...

Thank you very much!!

Anonymous said...

THANKS!!!!

Unknown said...

Thanks a million!!! This is the answer that really works.

Anonymous said...

Thanks!

SL said...

Thanks buddy!

Anonymous said...

Fantastic. I'm using Texniccenter and had the same issue. For me Hyperref was hanging during the compile. Thank you.

Anonymous said...

Excellent! Thank you very much for posting this!

Anonymous said...

great it worked!! but when i did update format it kept on asking me to update and at some point it failed..

however the problem with ifxetex is solved!

P said...

Thanks! It was quite frustrating to see that download message every time ...

Anonymous said...

Another thanks from another happy customer -- had never met with the bug, but using Beamer today I was getting the nagging error message every time. Updated MikTeX to 2.9 and did as you said, fixed.

srinivas said...

thank you

Anonymous said...

Thanks!

Anonymous said...

Thanks :)

Post a Comment