Problem building 2.1 on Debian Linux 2.2.13/2.2.17

Neil Schemenauer nas at python.ca
Wed Apr 18 21:31:07 EDT 2001


You probably have PYTHONHOME set in the environment.  Try
unsetting it.  If that doesn't work you can edit Makefile.pre.in
and uncomment the commands for those two targets:

sharedmods: $(PYTHON)
#       PYTHONPATH= ./$(PYTHON) $(srcdir)/setup.py build

sharedinstall:
#       PYTHONPATH= ./$(PYTHON) $(srcdir)/setup.py install \
#               --install-platlib=$(DESTSHARED)

Then, edit Modules/Setup to enable the modules you want like you
did for Python versions older than 2.1.

  Neil




More information about the Python-list mailing list