Message76424
| Author |
DNS |
| Recipients |
DNS |
| Date |
2008年11月25日.20:16:31 |
| SpamBayes Score |
6.0074428e-05 |
| Marked as misclassified |
No |
| Message-id |
<1227644194.32.0.230924221438.issue4431@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is my first time submitting an issue; sorry if I am doing this
wrong. While attempting to build/install PyOpenSSL on Windows / MSVC,
the mt.exe step failed because it could not find the manifest file that
it was attempting to embed in crypto.pyd. The problem was that link.exe
was not creating the manifest.
The reason why is that distutils only passes link.exe the
/MANIFESTFILE:filename parameter. This tells it where to output the
manifest, but not to actually create the manifest (see http://msdn.microsoft.com/en-us/library/fft52235(VS.80).aspx). You'd
think link could figure out that, if you use /MANIFESTFILE, you want a
manifest, but I guess not ;)
My solution was to add this line to distutils/msvc9compiler.py:
ld_args.append('/MANIFEST')
Right beneath the existing line:
ld_args.append('/MANIFESTFILE:' + temp_manifest)
Hope that helps |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年11月25日 20:16:35 | DNS | set | recipients:
+ DNS |
| 2008年11月25日 20:16:34 | DNS | set | messageid: <1227644194.32.0.230924221438.issue4431@psf.upfronthosting.co.za> |
| 2008年11月25日 20:16:33 | DNS | link | issue4431 messages |
| 2008年11月25日 20:16:32 | DNS | create |
|