Issue 1257728: error message incorrectly claims Visual C++ is required (original) (raw)

Issue1257728

Created on 2005-08-12 15:28 by zooko, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (6)
msg26044 - (view) Author: Zooko O'Whielacronx (zooko) Date: 2005-08-12 15:28
Thank you for the excellent distutils tool! Two problems: First, this error message is emitted on win32, but it appears to be incorrect, inasmuch as the Microsoft compiler is not actually required: """ error: Python was built with version 7.1 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. Error: Subprocess exited with result 1 for project core """ Second, the usage of distutils is somewhat confusing, as the following line emits that error message: ./setup.py build -c mingw32; ./setup.py install but the following line, which I intuitively believed to be equivalent at first, works to compile and install the package: ./setup.py build -c mingw32 install
msg26045 - (view) Author: Zooko O'Whielacronx (zooko) Date: 2005-11-23 18:51
Logged In: YES user_id=52562 Whoo! Progress! Now it no longer spuriously claims that Visual C++ is required for building extensions for Python, and instead it spuriously claims that the .NET SDK is required for building extensions for Python! """ error: The .NET Framework SDK needs to be installed before building extensions for Python. """
msg26046 - (view) Author: Zooko O'Whielacronx (zooko) Date: 2006-03-31 11:35
Logged In: YES user_id=52562 Changing this from category Distutils to category Windows.
msg26047 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-07-24 13:00
Logged In: YES user_id=21627 What would you like to say the error message instead?
msg26048 - (view) Author: Zooko O'Whielacronx (zooko) Date: 2006-07-25 21:10
Logged In: YES user_id=52562 How about: """ error: Python was built with version 7.1 of Visual Studio, and extensions need to be built with a compiler that can generate compatible binaries. Some versions of gcc can produce compatible binaries if given the "-mno-cygwin" flag. Distutils will pass the "-mno-cygwin" flag to gcc if distutils is given the "-c mingw32" flag to the "build" command. Error: Subprocess exited with result 1 for project core """
msg26049 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-07-30 13:31
Logged In: YES user_id=21627 Thanks for the suggestion; I committed something similar as r50979 and r50980.
History
Date User Action Args
2022-04-11 14:56:12 admin set github: 42272
2005-08-12 15:28:53 zooko create