mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Patch #1107221: Updated "Working on Cygwin" section.
Will backport to 2.4.
This commit is contained in:
parent
96d743ec8b
commit
c9f852512c
1 changed files with 28 additions and 17 deletions
|
|
@ -1878,31 +1878,42 @@ verbatim
|
||||||
\subsection{Working on Cygwin \label{cygwin}}
|
\subsection{Working on Cygwin \label{cygwin}}
|
||||||
|
|
||||||
Installing the required tools under Cygwin under Cygwin can be a
|
Installing the required tools under Cygwin under Cygwin can be a
|
||||||
little tedious, if only because many packages are more difficult
|
little tedious. Most of the required packages can be installed
|
||||||
to install under Cygwin.
|
using Cygwin's graphical installer, while netpbm and \LaTeX2HTML
|
||||||
|
must be installed from source.
|
||||||
|
|
||||||
|
Start with a reasonably modern version of Cygwin. If you haven't
|
||||||
|
upgraded for a few years, now would be a good time.
|
||||||
|
|
||||||
Using the Cygwin installer, make sure your Cygwin installation
|
Using the Cygwin installer, make sure your Cygwin installation
|
||||||
includes Perl, Python, and the \TeX{} packages. Perl and Python
|
includes Perl, Python, and the \TeX{} packages. Perl and Python
|
||||||
are located under \menuselection{Interpreters} in the installer.
|
are located under the \menuselection{Interpreters} heading. The
|
||||||
The \TeX{} packages are located in the \menuselection{Text}
|
\TeX{} packages are located under the \menuselection{Text}
|
||||||
section; installing the \code{tetex-beta}, \code{texmf},
|
heading, and are named \code{tetex-*}. To ensure that all
|
||||||
\code{texmf-base}, and \code{texmf-extra} ensures that all the
|
required packages are available, install every \code{tetex}
|
||||||
required packages are available. (There may be a more minimal
|
package, except \code{tetex-x11}. (There may be a more minimal
|
||||||
set, but I've not spent time trying to minimize the installation.)
|
set, but I've not spent time trying to minimize the installation.)
|
||||||
|
|
||||||
The netpbm package is used by \LaTeX2HTML, and \emph{must} be
|
The netpbm package is used by \LaTeX2HTML, and \emph{must} be
|
||||||
installed before \LaTeX2HTML can be successfully installed, even
|
installed before \LaTeX2HTML can be successfully installed, even
|
||||||
though they will never be used for most Python documentation.
|
though its features will not be used for most Python
|
||||||
References to download locations are located in the \ulink{netpbm
|
documentation. References to download locations are located in
|
||||||
README}{http://netpbm.sourceforge.net/README}. Install according
|
the \ulink{netpbm README}{http://netpbm.sourceforge.net/README}.
|
||||||
to the instructions.
|
Install from the latest stable source distribution according to
|
||||||
|
the instructions. (Note that binary packages of netpbm are
|
||||||
|
sometimes available, but these may not work correctly with
|
||||||
|
\LaTeX2HTML.)
|
||||||
|
|
||||||
\LaTeX2HTML can be installed from the source archive, but only
|
\LaTeX2HTML can be installed from the source archive, but only
|
||||||
after munging one of the files in the distribution. Edit the file
|
after munging one of the files in the distribution. Download the
|
||||||
\file{L2hos.pm} in the top level of the unpacked distribution;
|
source archive from the \LaTeX2HTML website
|
||||||
near the bottom of the file, change the text
|
\url{http://www.latex2html.org/} (or one of the many alternate
|
||||||
\code{\$\textasciicircum{}O} with the text \code{'unix'}. Proceed
|
sites) and unpack it to a build directory. In the top level of
|
||||||
using this command to build and install the software:
|
this build directory there will be a file named \file{L2hos.pm}.
|
||||||
|
Open \file{L2hos.pm} in an editor, and near the bottom of the file
|
||||||
|
replace the text \code{\$\textasciicircum{}O} with the text
|
||||||
|
\code{'unix'}. Proceed using this command to build and install
|
||||||
|
the software:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
% ./configure && make install
|
% ./configure && make install
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue