GeneralLaTeX with MediaWiki problem

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
xaero
Posts: 1
Joined: Sat Jul 18, 2009 2:35 am

LaTeX with MediaWiki problem

Post by xaero »

I've get a copy of MediaWiki and installed successfully
And now I want to enable the TeX in MediaWiki.
Following the manual "Enable TeX":http://www.mediawiki.org/wiki/Texvc
I've install all of the requied software, including TeX Live 2008
But I can't make texvc:
under the folder: /wiki/math/, I run 'make', it got the error:

Code: Select all

[root@yzoi math]# make
ocamlopt -c render.ml
File "render.ml", line 13, characters 37-48:
Error: Unbound value Unix.getpid
make: *** [render.cmx] Error 2
[root@yzoi math]# 
In my mediawiki website, it truely got this error:

Code: Select all

Failed to parse (Missing texvc executable); 
please see math/README to configure.) 
How to make texvc??? please help me

xaero regards

my platform:
linux centos 5.2
php 5
apach 2
mysql 5
mediawiki 1.15

line 10~24 in render.ml:

Code: Select all

10   exception ExternalCommandFailure of string 
11   
12    let render tmppath finalpath outtex md5 = 
13    let tmpprefix0 = (string_of_int (Unix.getpid ()))^"_"^md5 in 
14    let tmpprefix = (tmppath^"/"^tmpprefix0) in 
15   let unlink_all () = 
16     begin 
17        (* Commenting this block out will aid in debugging *) 
18    Sys.remove (tmpprefix ^ ".dvi"); 
19    Sys.remove (tmpprefix ^ ".aux"); 
20    Sys.remove (tmpprefix ^ ".log"); 
21        Sys.remove (tmpprefix ^ ".tex"); 
22    if Sys.file_exists (tmpprefix ^ ".ps") 
23    then Sys.remove (tmpprefix ^ ".ps"); 
24      end in  

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply