File: INSTALL.md

package info (click to toggle)
htmldoc 1.9.11-4
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 14,352 kB
  • sloc: ansic: 70,003; cpp: 24,651; makefile: 362; sh: 149; java: 59; php: 36; python: 13; xml: 10; perl: 7
file content (77 lines) | stat: -rw-r--r-- 2,364 bytes parent folder | download
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
How to Install HTMLDOC from Source
==================================

To compile HTMLDOC you'll need 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.x or 1.3.x.  FLTK is a LGPL'd cross-
platform GUI toolkit and can be downloaded from:

    http://www.fltk.org/

For HTTPS support you'll need GNU TLS on Linux and UNIX.


Windows
-------

A Visual Studio solution is included in the "vcnet" directory.  You must add the
FLTK include and library directories separately for the solution to build.

We highly recommend building and installing the HTMLDOC MSI target, as it takes
care of registering the installation location with Windows.  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 so that it looks like this:

    C:\Install\Dir\
        htmldoc.exe
        data\
            ... data files ...
        doc\
            ... doc files ...
        fonts\
            ... fonts files ...

Then create the following registry entries with REGEDIT:

    HKEY_LOCAL_MACHINE\Software\HTMLDOC\doc = C:\install\dir\doc
    HKEY_LOCAL_MACHINE\Software\HTMLDOC\data = C:\install\dir


Linux, macOS, and Other UNIX Platforms
--------------------------------------

To compile the software under UNIX you first need to run the "configure" script
in the source directory.  Usually this is just:

    ./configure

Then run "make" to build the software and generate the documentation:

    make

Finally, run "make install" (typically as root) to install the software:

    sudo make install


Ubuntu and Debian Notes
-----------------------

You should install the following packages:

    sudo apt-get install build-essential autoconf libfltk1.3-dev \
        libgnutls28-dev libjpeg-dev libpng-dev pkg-config zlib1g-dev


CentOS, Fedora, and RHEL Notes
------------------------------

The version of GCC bundled with older releases of these operating systems cannot
handle the version of libpng that is bundled with HTMLDOC.  Install the
following packages to avoid this and get full functionality:

    sudo yum install autoconf fltk-devel gnutls-devel libjpeg-devel \
    	libpng-devel pkgconfig zlib-devel