7
7stud
The mod_python manual says this under section 2.1 Prerequisites:
------
In order to compile mod_python you will need to have the include files
for both Apache and Python, as well as the Python library installed on
your system. If you installed Python and Apache from source, then you
already have everything needed. However, if you are using prepackaged
software (e.g. Red Hat Linux RPM, Debian, or Solaris packages from
sunsite, etc) then chances are, you have just the binaries and not the
sources on your system. Often, the Apache and Python include files and
libraries necessary to compile mod_python are part of separate
``development'' package. If you are not sure whether you have all the
necessary files, either compile and install Python and Apache from
source, or refer to the documentation for your system on how to get
the development packages.
-----
I installed Apache from source using these instructions:
http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/
but I used a package to install python 2.4. The package was from
here:
http://www.pythonmac.org/packages/
and it's a "Universal binary version of Python that runs natively on
PPC and Intel systems."
But my mac came with Python 2.3.5 pre-installed, so I wonder if I
already have the necessary "include files for both Apache and Python,
as well as the Python library" already installed.
------
In order to compile mod_python you will need to have the include files
for both Apache and Python, as well as the Python library installed on
your system. If you installed Python and Apache from source, then you
already have everything needed. However, if you are using prepackaged
software (e.g. Red Hat Linux RPM, Debian, or Solaris packages from
sunsite, etc) then chances are, you have just the binaries and not the
sources on your system. Often, the Apache and Python include files and
libraries necessary to compile mod_python are part of separate
``development'' package. If you are not sure whether you have all the
necessary files, either compile and install Python and Apache from
source, or refer to the documentation for your system on how to get
the development packages.
-----
I installed Apache from source using these instructions:
http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/
but I used a package to install python 2.4. The package was from
here:
http://www.pythonmac.org/packages/
and it's a "Universal binary version of Python that runs natively on
PPC and Intel systems."
But my mac came with Python 2.3.5 pre-installed, so I wonder if I
already have the necessary "include files for both Apache and Python,
as well as the Python library" already installed.