Home Explore Blog CI



postgresql

51th chunk of `doc/src/sgml/installation.sgml`
8f8ed74b4d56c8d197bcba35e6b3e59eb663e51cae440bf40000000100000efa
 doesn't ship with a supported version of the
    <productname>Microsoft Windows SDK</productname> it is recommended
    that you upgrade to the latest version (currently version 10), available
    for download from <ulink url="https://www.microsoft.com/download"></ulink>.
   </para>

   <para>
    You must always include the
    <application>Windows Headers and Libraries</application> part of the SDK.
    If you install a <productname>Windows SDK</productname>
    including the <application>Visual C++ Compilers</application>,
    you don't need <productname>Visual Studio</productname> to build.
    Note that as of Version 8.0a the Windows SDK no longer ships with a
    complete command-line build environment.
   </para>

   <sect3 id="windows-requirements">
    <title>Requirements</title>
    <para>
     The following additional products are required to build
     <productname>PostgreSQL</productname> on Windows.

     <variablelist>
      <varlistentry>
       <term><productname>Strawberry Perl</productname></term>
       <listitem><para>
        Strawberry Perl is required to run the build generation scripts. MinGW
        or Cygwin Perl will not work. It must also be present in the PATH.
        Binaries can be downloaded from
        <ulink url="https://strawberryperl.com"></ulink>.
       </para></listitem>
      </varlistentry>

      <varlistentry>
       <term><productname>Bison</productname> and
        <productname>Flex</productname></term>
       <listitem>
       <para>
        Binaries for <productname>Bison</productname> and
        <productname>Flex</productname> can be downloaded from <ulink
        url="https://github.com/lexxmark/winflexbison"></ulink>.
       </para>
       </listitem>
      </varlistentry>
     </variablelist>
    </para>

    <para>
     The following additional products are not required to get started,
     but are required to build the complete package.

     <variablelist>
      <varlistentry>
       <term><productname>Magicsplat Tcl</productname></term>
       <listitem><para>
        Required for building <application>PL/Tcl</application>.
        Binaries can be downloaded from
        <ulink url="https://www.magicsplat.com/tcl-installer/index.html"></ulink>.
       </para></listitem>
      </varlistentry>

      <varlistentry>
       <term><productname>Diff</productname></term>
       <listitem><para>
        Diff is required to run the regression tests, and can be downloaded
        from <ulink url="http://gnuwin32.sourceforge.net"></ulink>.
       </para></listitem>
      </varlistentry>

      <varlistentry>
       <term><productname>Gettext</productname></term>
       <listitem><para>
        Gettext is required to build with NLS support, and can be downloaded
        from <ulink url="http://gnuwin32.sourceforge.net"></ulink>. Note that binaries,
        dependencies and developer files are all needed.
       </para></listitem>
      </varlistentry>

      <varlistentry>
       <term><productname>MIT Kerberos</productname></term>
       <listitem><para>
        Required for GSSAPI authentication support. MIT Kerberos can be
        downloaded from
        <ulink url="https://web.mit.edu/Kerberos/dist/index.html"></ulink>.
       </para></listitem>
      </varlistentry>

      <varlistentry>
       <term><productname>libxml2</productname> and
        <productname>libxslt</productname></term>
       <listitem><para>
        Required for XML support. Binaries can be downloaded from
        <ulink url="https://zlatkovic.com/pub/libxml"></ulink> or source from
        <ulink url="http://xmlsoft.org"></ulink>. Note that libxml2 requires iconv,
        which is available from the same download location.
       </para></listitem>
      </varlistentry>

      <varlistentry>
       <term><productname>LZ4</productname></term>

Title: Windows Requirements for Building PostgreSQL
Summary
To build PostgreSQL on Windows, additional products are required, including Strawberry Perl, Bison, and Flex, which are necessary for building, as well as other products such as Magicsplat Tcl, Diff, Gettext, MIT Kerberos, libxml2, and libxslt, which are required for specific features like PL/Tcl, regression tests, NLS support, GSSAPI authentication, and XML support.