Education » Computer Science » LaTeX

ID #1030

Can I install latex2html on a shared host?

I installed latex2html on a HostMonster server. Again, wget the latest version of l2h, and follow the INSTALL instructions to configure the installation path. E.g., set the prefix by: ./configure --prefix=<yourdir>. Note that there is something else to be changed, but I did not. Check the config by typing ./configure, normmaly you will run into the problem of GS since GS is installed in the /usr directory.

1. --with-gs = /usr/bin/gs

2. GS_LIB is not configured. Manually modify the file cfgcache.pm, change the GS_LIB = q' ' to GS_LIB =q'usr/share/ghostscript/x.x/lib'.

This is all that I have done. Then make and make install. There you go.

A final note is again about the path of the lib: add the $HOME/installedl2h/bin to .bashrc or .bash_profile. Done.

[.bash_profile will be loaded only once when the user logs in. If the user uses interactive shell, .bashrc will be loaded. To refresh the file, i.e., reload the profile files, use this command: source ~/.bashrc

Try it by typing latex2html test.tex

Categories for this entry

Tags: installation

Related entries:

Last update: 2009-09-28 15:49
Author: Admin
Revision: 1.2

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ