Hey guys,
So I managed to compile texvc on openbsd/sparc64 4.3 inside the /mediawiki/math/ folder using 'gmake texvc.bc'
I enabled TeX in Localsettings.php and created directories for math and tmp under /mediawiki/images. However, to my dismay, I get the error "Failed to parse (unknown error):"
I enabled logging in mediawiki and the output I get during the parsing is:
Unstubbing $wgParser on call of $wgParser->firstCallInit from MessageCache::transform TeX: ./math/texvc '/w/uploads/tmp' '/w/uploads/tmp' 'E=mc^2' 'UTF-8' TeX output:
---
I should some output after TeX output, but nothing instead. I tried running the command manually and png ended up in my directory, so I know texvc is working. Someone on RHEL had the same problem and they found out SELinux was causing the problem, so I figured there's something in OpenBSD that does a similar action. The math and tmp folders are chmoded to 777 for now.
Should I change something in Localsettings.php? I literally have no clue as to what to do next.
Help appreciated, Vivek
I suspect it's not working in my openbsd install because apache is chrooted. How would get texvc to work in that case?
Thanks, Vivek
On Fri, Dec 5, 2008 at 5:51 PM, Vivek Ayer vivek.ayer@gmail.com wrote:
Hey guys,
So I managed to compile texvc on openbsd/sparc64 4.3 inside the /mediawiki/math/ folder using 'gmake texvc.bc'
I enabled TeX in Localsettings.php and created directories for math and tmp under /mediawiki/images. However, to my dismay, I get the error "Failed to parse (unknown error):"
I enabled logging in mediawiki and the output I get during the parsing is:
Unstubbing $wgParser on call of $wgParser->firstCallInit from MessageCache::transform TeX: ./math/texvc '/w/uploads/tmp' '/w/uploads/tmp' 'E=mc^2' 'UTF-8' TeX output:
I should some output after TeX output, but nothing instead. I tried running the command manually and png ended up in my directory, so I know texvc is working. Someone on RHEL had the same problem and they found out SELinux was causing the problem, so I figured there's something in OpenBSD that does a similar action. The math and tmp folders are chmoded to 777 for now.
Should I change something in Localsettings.php? I literally have no clue as to what to do next.
Help appreciated, Vivek
I also did notice that when I run texvc as a regular user under su -c, I get no output just:
-#
I suspect this is the same problem apache encounters, but I can't tell.
Vivek
On Wed, Dec 10, 2008 at 3:22 PM, Vivek Ayer vivek.ayer@gmail.com wrote:
I suspect it's not working in my openbsd install because apache is chrooted. How would get texvc to work in that case?
Thanks, Vivek
On Fri, Dec 5, 2008 at 5:51 PM, Vivek Ayer vivek.ayer@gmail.com wrote:
Hey guys,
So I managed to compile texvc on openbsd/sparc64 4.3 inside the /mediawiki/math/ folder using 'gmake texvc.bc'
I enabled TeX in Localsettings.php and created directories for math and tmp under /mediawiki/images. However, to my dismay, I get the error "Failed to parse (unknown error):"
I enabled logging in mediawiki and the output I get during the parsing is:
Unstubbing $wgParser on call of $wgParser->firstCallInit from MessageCache::transform TeX: ./math/texvc '/w/uploads/tmp' '/w/uploads/tmp' 'E=mc^2' 'UTF-8' TeX output:
I should some output after TeX output, but nothing instead. I tried running the command manually and png ended up in my directory, so I know texvc is working. Someone on RHEL had the same problem and they found out SELinux was causing the problem, so I figured there's something in OpenBSD that does a similar action. The math and tmp folders are chmoded to 777 for now.
Should I change something in Localsettings.php? I literally have no clue as to what to do next.
Help appreciated, Vivek
mediawiki-l@lists.wikimedia.org