[Distutils] Binary installer on Windows can't install extension

M.-A. Lemburg mal at egenix.com
Wed Jun 19 12:51:48 CEST 2013


On 19.06.2013 10:01, Malte Forkel wrote:
> Am 19.06.2013 00:19, schrieb M.-A. Lemburg:
>>
>> Are you using our prebuilt or egg distribution of eGenix mx Base,
>> or compiling it from source ?
>>
> 
> I'm using the prebuilt distribution
> (egenix-mx-base-3.2.6.win-amd64-py2.7.msi).
> 
> Thanks to the kind advice of Steve Dower, I have since updated OpenVPN,
> the application had installed the 32-bit version of MSVCR90.DLL in its
> own directory, to a newer 64-bit version which does not install local CRTs.
> 
> According to Dependency Walker, it had been OpenVPN's copy of
> MSVCR90.DLL that mxDateTime.pyd referenced, probably due to the
> OpenVPN's entry in the user's search path.

Interesting. I just tried that on my system and indeed, see the
reference to OpenVPN as well. The same happens with all other .pyd
files in the Python installation.

> Now, according to Dependency
> Walker, mxDateTime.pyd refeference to MSVCR90.DLL remains unresolved.
> But there are no problems when I run the install script or import
> mx.DateTime myself.

We'll investigate that some more. It may have something to
do with the way distutils handles manifests for Python extensions
at compile/link time. The extensions should get all the MSVCR90.DLL
symbols from the DLL loaded into the PYTHON27.DLL process.

Thanks,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jun 19 2013)
>>> Python Projects, Consulting and Support ...   http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ...       http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2013-06-18: Released mxODBC Django DE 1.2.0 ...   http://egenix.com/go47
2013-07-01: EuroPython 2013, Florence, Italy ...           12 days to go
2013-07-16: Python Meeting Duesseldorf ...                 27 days to go

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the Distutils-SIG mailing list