1- # How to Install HTMLDOC from Source
1+ How to Install HTMLDOC from Source
2+ ==================================
23
34To compile HTMLDOC you'll need C and C++ compilers (gcc is fine, most vendor
45compilers work, too). The JPEG, PNG, and ZLIB libraries are provided with
@@ -9,8 +10,11 @@ platform GUI toolkit and can be downloaded from:
910
1011 http://www.fltk.org/
1112
13+ For HTTPS support you'll need GNU TLS on Linux and UNIX.
1214
13- ## Windows
15+
16+ Windows
17+ -------
1418
1519A Visual Studio solution is included in the "vcnet" directory. You must add the
1620FLTK include and library directories separately for the solution to build.
@@ -36,7 +40,8 @@ Then create the following registry entries with REGEDIT:
3640 HKEY_LOCAL_MACHINE\Software\HTMLDOC\data = C:\install\dir
3741
3842
39- ## Linux, macOS, and Other UNIX Platforms
43+ Linux, macOS, and Other UNIX Platforms
44+ --------------------------------------
4045
4146To compile the software under UNIX you first need to run the "configure" script
4247in the source directory. Usually this is just:
@@ -50,3 +55,23 @@ Then run "make" to build the software and generate the documentation:
5055Finally, run "make install" (typically as root) to install the software:
5156
5257 sudo make install
58+
59+
60+ Ubuntu Notes
61+ ------------
62+
63+ You should install the following packages:
64+
65+ sudo apt-get install build-essential autoconf libfltk1.3-dev \
66+ libgnutls28-dev libjpeg-dev libpng-dev zlib1g-dev
67+
68+
69+ CentOS, Fedora, and RHEL Notes
70+ ------------------------------
71+
72+ The version of GCC bundled with older releases of these operating systems cannot
73+ handle the version of libpng that is bundled with HTMLDOC. Install the
74+ following packages to avoid this and get full functionality:
75+
76+ sudo yum install autoconf fltk-devel gnutls-devel libjpeg-devel \
77+ libpng-devel zlib-devel
0 commit comments