Fedora Linux Support Community & Resources Center
  #1  
Old 28th August 2008, 09:22 PM
kwan3217 Offline
Registered User
 
Join Date: Aug 2008
Posts: 1
[Solved] MediaWiki math setup

Summary: Math in mediawiki didn't work. Run

Code:
# fmtutil-sys --all
Man, I had a bear of a time tracking this one down and figured I need to write it someplace so Google can find it.

I had a server with two main partitions, which I used to host a MediaWiki site (among other things). Formerly it was running Gentoo, but I recently installed Fedora 9. I wiped the system partition and installed Fedora in it, and the data partition was carried over unchanged.

Now after some small configuration issues, I got my wiki up and running, except for math. The outward sign of failure was (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert). I was able to get a command line for texvc out of the wiki debugging system, and the odd thing is that when I ran texvc as root with the same command line, it worked fine.

I learned quite a bit about PHP and Objective CAML trying to just get enough information out of the thing to know where it was failing. Finally I found that latex was looking for and not finding file 'latex.fmt'.

When I ran texvc as root, at some point it started LaTeX, and that instance of LaTeX looked around, didn't find its config files, and therefore ran mktexfmt to make the config files for root only (config files stored in a .dir in /root). Logging in as apache doesn't work, since there is no shell and no home dir.

I finally looked at the man page for mktexfmt. That man page redirected to one for fmtutil and fmtutil-sys. Running the latter as root built the system-wide config files that LaTeX needed.

Maybe this is a bug in the LaTeX package? Maybe the package install script should run this? I don't know, I just know that my math works now.
Reply With Quote
Reply

Tags
math, mediawiki, setup, solved

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MediaWiki Setup glennzo Using Fedora 4 4th June 2009 09:44 AM
phpmyadmin errors on the setup page? [solved] asif2k Using Fedora 4 13th March 2009 04:58 PM
mediawiki math with selinux Kiwon Um Using Fedora 0 6th June 2008 06:40 AM


Current GMT-time: 17:13 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Mong Cai - Neustadt bei Coburg Travel Photos on Instagram - Fitchburg Photos on Instagram