> > The mathtex package includes only /usr/bin/mathtex.
 > > But mathtex is intended to be run as a CGI script,
 > > and merely linking to /usr/lib/cgi-bin/mathtex.cgi 
 > > is not working at all (many permissions problems on directories).
 > > Please extend the package, or better, create a new package based 
 > > on the same source package, so that mathtex can be used
 > > as a CGI script...
 > >   
 > mathtex is currently mainly maintained for a pidgin package. I haven't 
 > used CGI in a long time so please be prepared to elaborate. I see that 
 > /usr/lib/cgi-bin is the debian default for cgi, but it is on the other 
 > hand not on any PATH which other packages might prefer. looking at 
 > apache default,
 > 
 >         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
 >         <Directory "/usr/lib/cgi-bin">
 >                 AllowOverride None
 >                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
 >                 Order allow,deny
 >                 Allow from all
 >         </Directory>
 > 
 > it seems a symlink would be sufficient. would you be have with a symlink
 > 
 > /usr/lib/cgi-bin/mathtex.cgi 

I've tried this and it doesn't work.
mathtex has very definite ideas about where it wants to write
temporary files and where it wants to cache things.  The binary would
have to be told, for example, to cache in /var/cache somewhere and
not in /usr/lib/cgi-bin/mathtex.  (I don't think the man page provided
with Debian is quite accurate, but I could be wrong.)  

It is very likely that a mathtex.cgi residing in /usr/lib/cgi-bin
would have to be compiled with different defaults than
/usr/bin/mathtex.  There is a great deal of information about
installation and permissions in the 'mathtex manual' on the web---so
much so that it is not quite obvious to me what to do for a Debian
installation.  One thought is that someone on serverfault.com may have
already solved this problem.

You are the package maintainer, so you have to decide how much effort
this is worth, but since mathtex is such a useful package, I think
being able to serve mathtex images from any Debian installation would
be quite useful.  (I also wonder if there is a mathtex for Ubuntu with
functionality that might be backported?)

Our sysadmins are trying to install mathtex for me on Red Hat servers
where I work.  This is a busy week, but if I can, I'll ask if they've
learned anything that might be helpful.


Norman




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to