[Mailman-Users] dnspython not found error

Mark Sapiro mark at msapiro.net
Thu May 5 01:01:25 EDT 2016


On 05/04/2016 11:27 AM, David Newman wrote:
> Had to reinstall the Mailman port (not pkg) on a FreeBSD 10.3-RELEASE
> system after updating some ports due to security vulnerabilities.
> Several other packages also required rebuild to point to new shared objects.
> 
> The Mailman build failed, saying 'dnspython not found' even though that
> port is installed:
> 
> root at mail:/usr/ports/mail/mailman # pkg info | grep dnspython
> py27-dnspython-1.12.0          DNS toolkit for Python


what happens when you invoke /usr/local/bin/python2.7 and then do

import dns.resolver

Does that succeed or throw ImportError?

If it succeeds, then configure should too as that's what it's doing and
the python it's using.

If it throws ImportError, then something is wrong in that the python at
/usr/local/bin/python2.7 is not able to access the dnspython package.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list