[Zope] ldap module on FreeBSD

Barry Pederson barryp@medicine.nodak.edu
Sat, 20 Apr 2002 01:27:36 -0500


Terry wrote:
> Dear Sir,
> 
> Because most of the python module package for FreeBSD depend on
> python2.2, so the package will install under
> python2.2 folder not python2.1, then Zope couldn't use it. :-(
> Even I tried to make a soft link to the module folder.
> 
> Anyone ever try to install the python module (ldapmodule) from FreeBSD
> package, then could be called by
> LDAPUserFolder successfully.

You can build ports to work with previous versions of Python by setting the
PYTHON_VERSION variable, something like:

  make install PYTHON_VERSION=python2.1

in the /usr/ports/net/py-ldap1  directory should work.

	Barry