[python-win32] Unable to build against debug Python

Arve Knudsen arve.knudsen at gmail.com
Thu Nov 19 21:48:45 CET 2009


On Thu, Nov 19, 2009 at 6:30 PM, Thomas Heller <theller at ctypes.org> wrote:

> Arve Knudsen schrieb:
> > On Thu, Nov 19, 2009 at 8:01 AM, Thomas Heller <theller at ctypes.org>
> wrote:
> >
> >> Arve Knudsen schrieb:
> >> > Hi
> >> >
> >> > I'm trying to install Python-Win32 from source in a debug-build of
> Python
> >> > 2.6.4, by issuing this command: python_d .\setup.py install. It fails
> >> > however, with this error: LINK : fatal error LNK1104: cannot open file
> >> > 'python26.lib'. Is this due to a bug in the Python-Win32 distribution?
> >>
> >> No.  You must create a debug build by giving the '-g' or '--debug'
> >> flag to the build step, like this:
> >>
> >> python_d setup.py build -g install
> >>
> >
> > Thanks. Now I get another type of error:
> >
> > mt.exe : general error c101008d: Failed to write the updated manifest to
> the
> > resource of file "build\lib.win32-2.6-pydebug\win32\odbc_d.pyd". The
> process
> > cannot access the file because it is being used by another process.
>
> I cannot help with this error since I don't build pywin32 myself
> from source anymore.


Turns out it was due to my antivirus's (ESET) filesystem monitoring ..

Arve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20091119/7e230826/attachment-0001.htm>


More information about the python-win32 mailing list