|
| iMatix home page | htmlpp home page | << | < | > | >> |
htmlppVersion 4.0g |
Make sure your PERLLIB environmental variable is set, e.g.:
$ echo $PERLLIB /usr/lib/perl5
This is the path where the Perl interpreter can find standard Perl libraries. If you see a blank line after the echo command, then your PERLLIB environmental (shell) variable is not set. For Perl 5 distributions, the default PERLLIB path is /usr/lib/perl5. It is a good idea just to put the assignment of the PERLLIB variable into your login command file. See the appropriate man page for your shell for more information.
Then:
mkdir /usr/local/htmlpp
cp htmlpp.X /usr/local/htmlpp
Archive: Extract using: -------- -------------- htmlpp.tgz tar zxvf htmlpp.tgz htmlpp.zip unzip -a htmlpp.zip
cp /usr/local/htmlpp/*.pl $PERLLIB/Run the htmlpp command with no arguments and you will see the following ouput:
Htmlpp - a HTML pre-processor V4.0g
Written by Pieter Hintjens <ph@imatix.com>
Copyright (c) 1996-98 iMatix - http://www.imatix.com
syntax: htmlpp [-debug] [-guru] [-env] [-nofunc] [-page list]
<filename>...
-debug Leave work files: useful for debugging macros and loops
-guru Work in Guru Mode
-env Load all environment variables into document symbol table
-nofunc Ignore unknown intrinsic functions (&xxx)
-page Produce only specified pages; list can take any of these
forms: 'nn', 'nn-nn', 'nn,nn,nn'. E.g. -page 1 -page 3,7
You can also refer to output filenames: -page index3.htm
If you see an error message such as the following:
Can't locate sflcvdp.pl in @INC (@INC contains: /usr/lib/perl5/i586-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i586-linux /usr/lib/perl5/site_perl .) at /usr/local/bin/htmlpp line 26.
This means that the Perl interpreter cannot find a file specified by the 'require' command in the @INC path. Make sure you have copied all the *.pl file from the htmlpp directory in to $PERLLIB and that the PERLLIB shell variable is set to this path.
Htmlpp - a HTML pre-processor Version 4.0g Written by Pieter Hintjens <ph@imatix.com> Copyright (c) 1996-97 iMatix - http://www.imatix.com syntax: htmlpp <filename>
Htmlpp - a HTML pre-processor Version 4.0g Written by Pieter Hintjens <ph@imatix.com> Copyright (c) 1996-97 iMatix - http://www.imatix.com syntax: htmlpp <filename>
|
| << | <
| > | >>
| htmlpp - The HTML Preprocessor | Installing Htmlpp | Getting Started | Htmlpp Reference | Frequently Asked Questions | Other Information |
Copyright © 1996-97 iMatix |