Graham Dumpleton (JIRA) wrote:
install_dso target also tries to install Python code files.
-----------------------------------------------------------

         Key: MODPYTHON-66
         URL: http://issues.apache.org/jira/browse/MODPYTHON-66
     Project: mod_python
        Type: Bug
Components: core Versions: 3.2.0 Reporter: Graham Dumpleton
    Priority: Minor


After building mod_python it will output the message:

  Now su and make install
    (or, if you only want to perform a partial install,
     you can use make install_dso and make install_py_lib)

The fact that there are separate targets for install_dso and
install_py_lib gives the impression that install_dso will
install only the Apache DSO module and that install_py_lib
will install only the Python code files. This isn't the case.

Although install_py_lib installs just the Python code files,
the install_dso target installs both the DSO module and
the Python code files. The install_dso target isn't actually
much different to having run install when DSO is being used
in that respect.

As the ability to install just the DSO is useful, can there
please be a separate target. Either this should be changed
to do what it suggests it should, or a new target introduced.
Ie., install_dso_and_just_the_dso. :-)

I think it would make the most sense if install_dso only installed the dso. If others agree I can change the Makefile such that:

install: installs both py_lib and the dso (current behaviour)

install_dso: installs only the dso (new behaviour)

install_py_lib: installs only the py_lib (current behaviour)

Regards,
Jim




Reply via email to