[Python-bugs-list] [ python-Bugs-214846 ] python20_d.dll missing

noreply@sourceforge.net noreply@sourceforge.net
Tue, 22 May 2001 12:43:23 -0700


Bugs item #214846, was updated on 2000-09-19 19:04
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=214846&group_id=5470

Category: Windows
Group: Platform-specific
Status: Closed
Resolution: Wont Fix
Priority: 5
Submitted By: Aria Kraft (psykotron)
Assigned to: Guido van Rossum (gvanrossum)
Summary: python20_d.dll missing

Initial Comment:
The file python20_d.dll is missing from the
win32-binary distribution.
side note: in python 1.5 this could be worked around
by linking to python15.lib manually. In 1.6 & 2.0 this
work around does not work.
(this is of course when python is embedded into a win32
application)

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-05-22 12:43

Message:
Logged In: NO 

I'm getting the dreaded err msg >> LINK : fatal error 
LNK1104: cannot open file "python21_d.lib"

Is there a fix for embedding into win32 apps?  
Kevin

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2000-09-20 18:06

Message:
Hmm.  Guido, turns out we're already shipping the debug DLLs for the extension modules!

C:\Python20\DLLs>dir *_d.pyd

 Volume in drive C has no label
 Volume Serial Number is 3459-5C23
 Directory of C:\Python20\DLLs

PARSER_D PYD        65,597  09-07-00  2:42a parser_d.pyd
_SOCKE~1 PYD        53,310  09-07-00  2:41a _socket_d.pyd
_SRE_D   PYD        45,115  09-07-00  2:41a _sre_d.pyd
MMAP_D   PYD        36,923  09-07-00  2:42a mmap_d.pyd
SELECT_D PYD        32,829  09-07-00  2:42a select_d.pyd
UCNHAS~1 PYD       548,926  09-07-00  2:42a ucnhash_d.pyd
UNICOD~2 PYD       733,250  09-07-00  2:42a unicodedata_d.pyd
_WINRE~1 PYD        57,406  09-07-00  2:43a _winreg_d.pyd
WINSOU~1 PYD        28,735  09-07-00  2:43a winsound_d.pyd
_TKINT~1 PYD        53,311  09-07-00  2:42a _tkinter_d.pyd
PYEXPA~1 PYD        45,118  09-07-00  2:42a pyexpat_d.pyd
BSDDB_D  PYD       106,556  09-07-00  2:42a bsddb_d.pyd
ZLIB_D   PYD        86,075  09-07-00  2:43a zlib_d.pyd
        13 file(s)      1,893,151 bytes
         0 dir(s)        2,551.06 MB free

C:\Python20\DLLs>

Closing in on 2Mb of fat I can cut out of the installer!

PSKOtron, no, thank you, but I'm not going to build a new installer just so "a couple people" have an easier time.  That isn't cruelty <wink>, it's that thousands of people are waiting for more important things and my time (like yours) is limited.  If someone wants to contribute such an installer, cool.  Else the best I can manage is a no-time approach, such as putting all the _d files into a .zip file at release points and uploading that to an FTP site.

----------------------------------------------------------------------

Comment By: Aria Kraft (psykotron)
Date: 2000-09-20 12:23

Message:
I would appreciate it if you can add it into a seperate installer for experts. At the moment I have to compile
all of python, and redistribute all the debug and non-debug lib's and dll's to a couple people responsible for debugging my program. Basicly I used to use the windows installer for the debuggers, now I have to make my own, and
install it manually to each programmer's system.
I believe linux distributions solved this problem by releasing: somelib-1.0 && somelib-1.0-dev
:)
Thanks for all your hard work in python... its helped *a lot* in my project.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2000-09-20 06:21

Message:
Sorry, I won't fix this. The debug DLL is huge, and you'd need more than just python20_d.dll -- you'd need the _d.pyd version of all the extension modules. This would just be a waste of installer size.

If you have a need for the debug DLLs, you should download the sources and rebuild with debug mode from source. After all you must be debugging something so you must already be using VC++ so rebuilding won't be a problem; see PCbuild/readme.txt for elaborate instructions.

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2000-09-19 23:41

Message:
Guido, I assigned this to you just to get your attention:  what do you think?  (MarkH, if you're listening, you too!)

C:\Code\python\dist\src\PCbuild>dir py*.dll

PYTHON20 DLL       692,285  09-19-00 10:14p python20.dll
PYTHON~1 DLL     1,138,751  09-19-00 10:14p python20_d.dll
         2 file(s)      1,831,036 bytes
         0 dir(s)        2,554.24 MB free

C:\Code\python\dist\src\PCbuild>

The debug DLL is a megabyte now, and I personally don't want to bloat the installer with it given that not one user in 1,000 will have any use for it.  Perhaps we could make it available as a separate download for experts?


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=214846&group_id=5470