Highlight - Installation instructions
Installation of the source package
- tar xzvf highlight-x.x-x.tar.gz
- cd highlight-x.x-x
- make help
- make
make all-gui (optional, to compile the wxWidgets GUI) - make install
(depending on your installation destination, you need to be root) - make clean (optional)
- make apidocs (optional)
(you need to have doxygen installed)
Highlight's default data directory is /usr/share/highlight.
You may alter this directory at compile time or at run time:
- See highlight/makefile how to add a compiler directive which defines an installation directory (HL_DATA_DIR)
- Use the --data-dir option to define a new directory at run time. You may want to save this parameter in the highlight configuration file ($HOME/.highlightrc)
- You can add an additional data directory by the --add-data-dir option.
Files will be searched in this directory first. This may also be configured in $HOME/.highlightrc.
Known compiler issues
- Is there a stringstream / sstream header for gcc 2.95.2?
See http://sources.redhat.com/ml/libstdc++/2000-q2/msg00700/sstream - Core dumps with gcc 2.96 (RedHat 7.1, 7.3)
RedHat included this unofficial release of gcc, which had a buggy stringstream implementation.
See http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg22146.html
There is no workaround, please upgrade gcc to 3.x. (Reported by Mark Hessling) - Compilation error with "right" IO manipulator
In htmlcode.cpp: `right' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.)
There is no workaround, please upgrade gcc to 3.x. (Reported by Christoph Bier)
Installation of RPMs
rpm -i highlight-x.x-x.rpm,
or use a GUI like kpackage or gnorpm.
Installation instructions for Windows
Start setup program and follow the instructions.
