1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
COMPILE.txt - 11/16/2004
------------------------
REQUIREMENTS
To compile HTMLDOC you'll need ANSI-compliant C and C++
compilers (gcc is fine, most vendor compilers work, too).
The JPEG, PNG, and ZLIB libraries are provided with HTMLDOC.
For the GUI support you'll need FLTK 1.1 or higher. FLTK is
a LGPL'd cross-platform GUI toolkit and can be downloaded
from:
http://www.fltk.org/
COMPILING HTMLDOC UNDER WINDOWS
For the Windows version we have included Visual C++
workspace and project files under the "visualc" and "vcnet"
directories. You must add the FLTK and OpenSSL include and
library directories to your VC++ environment options.
INSTALLING HTMLDOC UNDER WINDOWS
We highly recommend installing the software using the
VC++.NET MSI file as provided in the project files under the
"vcnet" directory.
If you want to install the software by hand, create a
directory for the software and copy the HTMLDOC executable,
the "fonts" directory, the "data" directory, and the "doc"
directory to it.
Then create the following registry entries with REGEDIT:
HKEY_LOCAL_MACHINE\Software\Easy Software Products\HTMLDOC\doc
= C:/install/dir/doc
HKEY_LOCAL_MACHINE\Software\Easy Software Products\HTMLDOC\data
= C:/install/dir
CONFIGURING HTMLDOC UNDER UNIX
To compile the software under UNIX you just need to run the
"configure" script in this directory. Usually this is just:
./configure
If you don't want to install HTMLDOC in the default
directories (/usr/bin, /usr/man/man1, etc.), use the
"--prefix" option when you run the configure script:
./configure --prefix=/some/directory
If the OpenSSL library is in a non-standard location you can
specify it using:
./configure --with-openssl-includes=/some/directory/include \
--with-openssl-libs=/some/directory/lib
If you aren't using "cc" or "gcc" for your ANSI C compiler,
you'll need to set the CC environment variable prior to
running the configure script:
CC=compiler; export CC
for Bourne and Korn shells, and:
setenv CC "compiler"
for C shell.
If you aren't using "gcc", "g++", "c++", or "CC" for your
C++ compiler, you'll also need to set the CXX environment
variable:
CXX=compiler; export CXX
for Bourne and Korn shells, and:
setenv CXX "compiler"
for C shell.
COMPILING HTMLDOC UNDER UNIX
Just run "make" to build the software and generate the
documentation.
INSTALLING HTMLDOC UNDER UNIX
Run "make install" to install the software.
|