[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2021-02-03 Thread Steve Dower


Steve Dower  added the comment:

Distutils is now deprecated (see PEP 632) and all tagged issues are being 
closed. From now until removal, only release blocking issues will be considered 
for distutils.

If this issue does not relate to distutils, please remove the component and 
reopen it. If you believe it still requires a fix, most likely the issue should 
be re-reported at https://github.com/pypa/setuptools

--
nosy: +steve.dower
resolution: accepted -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2019-04-27 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2014-07-14 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2014-07-09 Thread Mark Lawrence

Mark Lawrence added the comment:

Can someone please confirm whether or not this is still an issue in either 
2.7.x or 3.4.y.

--
nosy: +BreamoreBoy
versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2013-10-25 Thread Breinjhel Mata

Breinjhel Mata added the comment:

Hi this bug still exist in Python 3.3.2. seems like a bug in cygwincompiler.py 
but Im using MinGW. Why is it using cygwincompiler?

--
nosy: +breinjhel

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2012-02-29 Thread Thomas Atkinson

Thomas Atkinson cptn.britt...@gmail.com added the comment:

This bug is happening in python 3.2 when trying to build pycrypto on Microsoft 
Windows 7

--
nosy: +Thomas.Atkinson
versions: +Python 3.2 -Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2012-01-02 Thread Piotr Dobrogost

Piotr Dobrogost p...@python.dobrogost.net added the comment:

@Lehmann

You have to have either Visual Studio 2008 or Visual C++ Express 2008 
installed. The folder where vcvarsall.bat file is being looked for is read from 
the registry. It's either 
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Setup\VC 
(for Visual Studio) or 
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\9.0\Setup\VC (for 
Visual C++ Express).

--
nosy: +piotr.dobrogost

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2012-01-02 Thread Bill Janssen

Bill Janssen bill.jans...@gmail.com added the comment:

Actually, when using setup.py with MinGW, you just need to say the right thing:

  % python setup.py build --compiler=mingw32 install

That removes the check for vcvarsall.bat.

Bill

On Mon, Jan 2, 2012 at 6:19 AM, Piotr Dobrogost rep...@bugs.python.org wrote:

 Piotr Dobrogost p...@python.dobrogost.net added the comment:

 @Lehmann

 You have to have either Visual Studio 2008 or Visual C++ Express 2008 
 installed. The folder where vcvarsall.bat file is being looked for is read 
 from the registry. It's either 
 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Setup\VC 
 (for Visual Studio) or 
 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\9.0\Setup\VC (for 
 Visual C++ Express).

 --
 nosy: +piotr.dobrogost

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue2698
 ___

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-08-31 Thread Lehmann

Lehmann andre.lehm...@solutech.ch added the comment:

I hope I'm sending this information in the right place.
Trying to install psutil 0.1.3, on Python 2.7 (with Win7 as OS), I get the same 
error that was mentionned in this thread:

c:\Users\Andre\Bureau\psutil-0.1.3setup.py install
running install
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\psutil
copying psutil\error.py - build\lib.win32-2.7\psutil
copying psutil\wmi.py - build\lib.win32-2.7\psutil
copying psutil\_psbsd.py - build\lib.win32-2.7\psutil
copying psutil\_pslinux.py - build\lib.win32-2.7\psutil
copying psutil\_psmswindows.py - build\lib.win32-2.7\psutil
copying psutil\_psosx.py - build\lib.win32-2.7\psutil
copying psutil\__init__.py - build\lib.win32-2.7\psutil
running build_ext
building '_psutil_mswindows' extension
error: Unable to find vcvarsall.bat

--
nosy: +dederocks
versions: +Python 2.7 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-04-13 Thread Christopher Paolini

Christopher Paolini stormlif...@gmail.com added the comment:

There is an issue with Visual Studio 2008 and the latest 2.6.5
It searches using

productdir = Reg.get_value(r%s\Setup\VC % vsbase,
   productdir)

I just fresh installed Visual Studios and there is no registry setup folder. 
So you can't find the install directory that way at least not on my machine. 
Windows 7 64-bit and I installed Microsoft Visual Studio 2008 SP1

--
nosy: +Christopher.Paolini

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-04-12 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

I tried it in Python 3.1.2.

\Python31\python.exe setup.py build --compiler=mingw32

I got a stack-trace:

...
  File C:\Python31\lib\distutils\cygwinccompiler.py, line 280, in __init__
CygwinCCompiler.__init__ (self, verbose, dry_run, force)
  File C:\Python31\lib\distutils\cygwinccompiler.py, line 124, in __init__
if self.ld_version = 2.10.90:
TypeError: unorderable types: NoneType() = str()

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-04-12 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

Craig, that's another bug, can you open another issue for that?

The missing vcvarsall.bat bug is cleared and I will close this issue once I've 
reverted distutils state in the 3.x branch

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-04-12 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

Sure can--done. Issue #8384.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-26 Thread Eric Devolder

Eric Devolder eric.devol...@gmail.com added the comment:

This seems to be fixed now under 3.1.2, and works properly for me.

Great stuff, thank you.

Eric

P.S. Last time I mistakenly tagged the bug to be Python 3.2 as well, 
correcting this now.

--
versions:  -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-19 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

Done for 3.1.x in r79121.

I am now waiting for 3.1.2 to be taggued, then I'll revert the 3.x branch into 
a state the closest possible to 3.1.x.

Next, Distutils will be feature-frozen in 3.x like it is in 2.x, as things are 
now happening in distutils2. Only bugs fixes will happen.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Bill Janssen

Bill Janssen bill.jans...@gmail.com added the comment:

I'm seeing this on Python 2.6.4 on Windows XP with the latest MinGW/msys.

--
nosy: +janssen

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Bill Janssen

Bill Janssen bill.jans...@gmail.com added the comment:

Re-opening.

--
keywords: +26backport
priority: high - normal
resolution: invalid - 
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Bill Janssen

Bill Janssen bill.jans...@gmail.com added the comment:

My bad.  Adding --compiler=mingw32 eliminates this error.

--
resolution:  - rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

This bug was confirmed to no longer be present for Python 2.6.4, however it is 
still present for Python 3.1.1. Could someone with open privileges re-open 
this please?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

Craig, 

did you run the command like this under 3.x ? :

$ python setup.py build --compiler=mingw32 --verbose

Also, what is your gcc version ? and your PATH environment ?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

I ran it as follows:

\python31\python.exe setup.py build --compiler=mingw32 --verbose

and got:

running build
running build_py
running build_ext
building 'cobs._cobsext' extension
error: Unable to find vcvarsall.bat

If I run:

gcc --version

I get:

gcc (GCC) 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Path:
PATH=C:\Program Files\CollabNet\Subversion Server;C:\WINNT\Microsoft.NET\Framewo
rk\v1.1.4322\;C:\WINNT\system32;C:\WINNT;C:\Program Files\Microsoft Visual Studi
o 8\VC\bin;C:\Program Files\Subversion\bin;C:\Program Files\IVI Foundation\IVI\b
in;C:\Program Files\IVI Foundation\VISA\WinNT\Bin\;C:\PROGRA~1\IVIFOU~1\VISA\Win
NT\Bin;C:\Program Files\IVI Foundation\VISA\WinNT\Bin;c:\python26\;C:\Program Fi
les\TortoiseSVN\bin;C:\Program Files\TortoiseHg;c:\MinGW\bin

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

And, I should add, doing nearly the same thing, except with Python 2.6.4, works 
fine. Same machine, same console window, same path:

\python26\python.exe setup.py build --compiler=mingw32 --verbose

running build
running build_py
running build_ext
building 'cobs._cobsext' extension
c:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python26\include -IC:\Pytho
n26\PC -c src/_cobsext2.c -o build\temp.win32-2.6\Release\src\_cobsext2.o
writing build\temp.win32-2.6\Release\src\_cobsext.def
c:\MinGW\bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2.6\Release\src\_co
bsext2.o build\temp.win32-2.6\Release\src\_cobsext.def -LC:\Python26\libs -LC:\P
ython26\PCbuild -lpython26 -lmsvcr90 -o build\lib.win32-2.6\cobs\_cobsext.pyd

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-18 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

Benjamin, can I fix this bug before you tag 3.1.2 ?

Basically, I'll apply on 3.1 what was applied on 2.6 :

MacZiade:release31-maint tarek$ svn di
Index: Lib/distutils/command/build_ext.py
===
--- Lib/distutils/command/build_ext.py  (révision 79090)
+++ Lib/distutils/command/build_ext.py  (copie de travail)
@@ -310,7 +310,7 @@
 
 # Setup the CCompiler object that we'll use to do all the
 # compiling and linking
-self.compiler = new_compiler(compiler=None,
+self.compiler = new_compiler(compiler=self.compiler,
  verbose=self.verbose,
  dry_run=self.dry_run,
  force=self.force)


Then, after you have tagged 3.1, I will revert distutils in py3 branch so it's 
back to 3.1 state then frozen, like what I am doing for 2.7.

--
nosy: +benjamin.peterson
resolution: rejected - accepted

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-16 Thread Eric Devolder

Eric Devolder eric.devol...@gmail.com added the comment:

Same problem on 3.1.2rc1.

--
versions: +Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-11 Thread Eric Devolder

Eric Devolder eric.devol...@gmail.com added the comment:

Yes, I believe it is.

that should be re-opened.

2010/3/11 Craig McQueen rep...@bugs.python.org


 Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

 This still seems to be a bug in Python 3.1.1, does it not? Can this be
 re-opened?

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue2698
 ___


--
Added file: http://bugs.python.org/file16522/unnamed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___divYes, I believe it is./div
div /div
divthat should be re-opened.brbr/div
div class=gmail_quote2010/3/11 Craig McQueen span dir=ltrlt;a 
href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;/spanbr
blockquote class=gmail_quote style=PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 
0.8ex; BORDER-LEFT: #ccc 1px solid
div class=imbrCraig McQueen lt;a 
href=mailto:pyt...@craig.mcqueen.id.au;pyt...@craig.mcqueen.id.au/agt; 
added the comment:brbr/divThis still seems to be a bug in Python 3.1.1, 
does it not? Can this be re-opened?br

div
div/div
div 
class=h5br--brbr___brPython
 tracker lt;a 
href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;brlt;a 
href=http://bugs.python.org/issue2698; 
target=_blankhttp://bugs.python.org/issue2698/agt;br
___br/div/div/blockquote/divbr
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-11 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

What traceback do you get exactly ? The same one than the first TB of this 
issue ?

--
priority:  - high

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-11 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

Not so much of a traceback. But essentially the same final error:
running build
running build_py
running build_ext
building 'cobs._cobsext' extension
error: Unable to find vcvarsall.bat

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-10 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

This still seems to be a bug in Python 3.1.1, does it not? Can this be 
re-opened?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-01-18 Thread Daniel

Daniel daniel.mon...@free.fr added the comment:

Sorry, I am on others problems and i don't have any time to look at a solution 
:(

Daniel.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-01-10 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

Eric sent a build_ext.py to me and Daniel26 by e-mail. Attached. The idea was 
to copy it over the one in C:\Python31\Lib\distutils\command.

I tried the file that he sent, but I'm getting the same issue that Daniel26 
described.

--
Added file: http://bugs.python.org/file15826/build_ext.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-01-04 Thread Daniel

Daniel daniel.mon...@free.fr added the comment:

Thanks for your response!
I'm back after holidays :)

Yappy new year everybody!!!

Conserning our problem:
.../...
adding base module named weakref
running build
running build_py
running build_ext
Traceback (most recent call last):
  File setup.py, line 240, in module
license = Python Software Foundation License)
  File c:\python31\lib\distutils\core.py, line 149, in setup 
dist.run_commands()
  File c:\python31\lib\distutils\dist.py, line 919, in run_commands 
self.run_command(cmd)
  File c:\python31\lib\distutils\dist.py, line 938, in run_command 
cmd_obj.run()
  File c:\python31\lib\distutils\command\build.py, line 128, in run 
self.run_command(cmd_name)
  File c:\python31\lib\distutils\cmd.py, line 315, in run_command 
self.distribution.run_command(command)
  File c:\python31\lib\distutils\dist.py, line 938, in run_command 
cmd_obj.run()
  File c:\python31\lib\distutils\command\build_ext.py, line 358, in run 
force=self.force)
  File c:\python31\lib\distutils\ccompiler.py, line 1106, in new_compiler 
return klass(None, dry_run, force)
  File c:\python31\lib\distutils\cygwinccompiler.py, line 280, in __init__ 
CygwinCCompiler.__init__ (self, verbose, dry_run, force)
  File c:\python31\lib\distutils\cygwinccompiler.py, line 124, in __init__ if 
self.ld_version = 2.10.90: TypeError: unorderable types: NoneType() = str()

I will also analyse and look at a solution.


Daniel.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-24 Thread Daniel

Daniel daniel.mon...@free.fr added the comment:

Thank you :)

Daniel.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-24 Thread Craig McQueen

Craig McQueen pyt...@craig.mcqueen.id.au added the comment:

Eric (keldonin), please consider attaching the file (solution you
mentioned) to this issue for the benefit of the rest of us. I'm
interested to see it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-23 Thread Daniel

Daniel daniel.mon...@free.fr added the comment:

Hello,

I confirm : Python3.1.1 
.../...
running build
running build_py
running build_ext
building 'cx_Freeze.util' extension
error: Unable to find vcvarsall.bat

I've got the r73896 file correction.
:(
D.

--
nosy: +Daniel26
versions:  -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-23 Thread Eric Devolder

Eric Devolder eric.devol...@gmail.com added the comment:

Will send you the trick (file) to make it work, but I can't do it from here
(at work - access restrictions) - please wait until Tonight :-)

Cheers

Eric

2009/12/23 Daniel rep...@bugs.python.org


 Daniel daniel.mon...@free.fr added the comment:

 Hello,

 I confirm : Python3.1.1
 .../...
 running build
 running build_py
 running build_ext
 building 'cx_Freeze.util' extension
 error: Unable to find vcvarsall.bat

 I've got the r73896 file correction.
 :(
 D.

 --
 nosy: +Daniel26
 versions:  -Python 2.6

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue2698
 ___


--
Added file: http://bugs.python.org/file15666/unnamed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___divWill send you the trick (file) to make it work, but I can#39;t do it 
from here (at work - access restrictions) - please wait until Tonight :-)/div
div /div
divCheers/div
div /div
divEricbrbr/div
div class=gmail_quote2009/12/23 Daniel span dir=ltrlt;a 
href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;/spanbr
blockquote class=gmail_quote style=PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 
0.8ex; BORDER-LEFT: #ccc 1px solidbrDaniel lt;a 
href=mailto:daniel.mon...@free.fr;daniel.mon...@free.fr/agt; added the 
comment:br
brHello,brbrI confirm : Python3.1.1br.../...brrunning 
buildbrrunning build_pybrrunning build_extbrbuilding 
#39;cx_Freeze.util#39; extensionbr
div class=imerror: Unable to find vcvarsall.batbrbr/divI#39;ve got 
the r73896 file correction.br:(brD.brbr--brnosy: 
+Daniel26brversions:  -Python 2.6br
div
div/div
div class=h5br___brPython tracker 
lt;a 
href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;brlt;a 
href=http://bugs.python.org/issue2698; 
target=_blankhttp://bugs.python.org/issue2698/agt;br
___br/div/div/blockquote/divbr
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-22 Thread Craig McQueen

Craig McQueen ces-...@mcqueen.id.au added the comment:

This seems to be an bug in Python 3.1.1. Is it fixed in the Python 3
code? Is the issue being tracked in a separate issue?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-12-15 Thread Craig McQueen

Changes by Craig McQueen ces-...@mcqueen.id.au:


--
nosy: +cmcqueen1975

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-10-28 Thread Eric BREHAULT

Eric BREHAULT ebreha...@gmail.com added the comment:

Hello,

I get the same error with Python 2.6.3 (and gcc 3.4.5):
E:\downloads\pycairo-1.8.8python setup.py build --compiler=mingw32
cairo = 1.8.8 detected
creating pycairo.pc
creating src/config.h
running build
running build_ext
building 'cairo._cairo' extension
error: Unable to find vcvarsall.bat

wasn't it supposed to be fixed (since 2.6.2) ?

Thanks,

Eric

--
nosy: +ebrehault

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-10-28 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

A regression occured in 2.6.3 on the compiler option. This is fixed in
2.6.4, you should upgrade your system in order to see it fixed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-10-28 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

A regression occured in 2.6.3 on the compiler option. This is fixed in
2.6.4, you should upgrade your system in order to see it fixed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-08-22 Thread Hagen Fürstenau

Hagen Fürstenau hfuerste...@gmx.net added the comment:

Shouldn't r73896 be backported to the 3.1 branch? I still get Unable to
find vcvarsall.bat with Python 3.1.1.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-08-04 Thread Lenard Lindstrom

Lenard Lindstrom le...@telus.net added the comment:

Here is the build with Python 2.6.2. It works now.

C:\pygame\bug2698python setup.py build --compiler=mingw32 --verbose
running build
running build_ext
building 'simple' extension
creating build
creating build\temp.win32-2.6
creating build\temp.win32-2.6\Release
C:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\python26\include
-IC:\python26\PC -c simple.c -o build\temp.win32-2.6\Release\simple.o
writing build\temp.win32-2.6\Release\simple.def
creating build\lib.win32-2.6
C:\mingw\bin\gcc.exe -mno-cygwin -shared -s
build\temp.win32-2.6\Release\simple.o
build\temp.win32-2.6\Release\simple.def -LC:\python26\libs
-LC:\python26\PCbuild -lpython26 -lmsvcr90 -o build\lib.win32-2.6\simple.pyd

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-08-04 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

ok then, I am closing it 

thanks for the feedback !

--
resolution:  - invalid
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-08-02 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

The vcvarsall.bat eror is unrelated to the error James and Eric are
mentioned, which is another error fixed in the revision Hagen points.

Lenard, could you re-run it under the latest 2.6 version with the global
option --verbose please ?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-07-27 Thread Hagen Fürstenau

Hagen Fürstenau hfuerste...@gmx.net added the comment:

Seems to have been fixed around r73896.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-07-26 Thread Hagen Fürstenau

Changes by Hagen Fürstenau hfuerste...@gmx.net:


--
nosy: +hagen

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-07-22 Thread Eric Devolder

Changes by Eric Devolder eric.devol...@gmail.com:


--
nosy: +keldonin

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-07-22 Thread Eric Devolder

Eric Devolder eric.devol...@gmail.com added the comment:

Same problem under WinXP, using mingw compiler. Works for my package
under Python 3.0, ceases functioning under 3.1, with same error message.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-07-04 Thread James William Pye

James William Pye x...@jwp.name added the comment:

Seeing this in 3.1 when I try to compile with mingw32 under wine:

error: Unable to find vcvarsall.bat


--compiler=mingw32 works in 3.0. I assume it's related to this bug?

--
nosy: +jwp
versions: +Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-02-28 Thread Akira Kitada

Changes by Akira Kitada akit...@gmail.com:


--
assignee:  - tarek
components: +Windows
nosy: +tarek
type:  - compile error

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2008-04-26 Thread Lenard Lindstrom

New submission from Lenard Lindstrom [EMAIL PROTECTED]:

Python 2.6a2 on Windows XP

Distutils fails to build an extension module for MinGW. Even though 
mingw32 is specified as the compiler distutils.msvc9compiler is still 
loaded and it cannot find vcvarsall.bat. Here is an example:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

[snip]

C:\pygame\extpath=%path%;C:\python26;C:\mingw\bin

C:\pygame\extset MINGW_ROOT_DIRECTORY=C:\mingw

C:\pygame\extpython setup.py build --compiler=mingw32
running build
running build_ext
error: None

C:\pygame\extpython setup.py build_ext --compiler=mingw32
Traceback (most recent call last):
  File setup.py, line 6, in module
ext_modules=[Extension('simple', ['simple.c',]),],
  File C:\python26\lib\distutils\core.py, line 137, in setup
ok = dist.parse_command_line()
  File C:\python26\lib\distutils\dist.py, line 459, in 
parse_command_line
args = self._parse_command_opts(parser, args)
  File C:\python26\lib\distutils\dist.py, line 517, in 
_parse_command_opts
cmd_class = self.get_command_class(command)
  File C:\python26\lib\distutils\dist.py, line 836, in 
get_command_class
__import__ (module_name)
  File C:\python26\lib\distutils\command\build_ext.py, line 21, in 
module
from distutils.msvccompiler import get_build_version
  File C:\python26\lib\distutils\msvccompiler.py, line 658, in 
module
from distutils.msvc9compiler import MSVCCompiler
  File C:\python26\lib\distutils\msvc9compiler.py, line 286, in 
module
VC_ENV = query_vcvarsall(VERSION, ARCH)
  File C:\python26\lib\distutils\msvc9compiler.py, line 253, in 
query_vcvarsall
raise IOError(Unable to find vcvarsall.bat)
IOError: Unable to find vcvarsall.bat

C:\pygame\exttype setup.py
from distutils.core import setup, Extension

setup(name='Simple',
  version='1.0',
  description='Python extension module test',
  ext_modules=[Extension('simple', ['simple.c',]),],
  )


C:\pygame\extgcc --version
gcc (GCC) 3.4.5 (mingw special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is 
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.


C:\pygame\extpython -V
Python 2.6a2

--
components: Distutils
messages: 65850
nosy: kermode
severity: normal
status: open
title: Extension module build fails for MinGW: missing vcvarsall.bat
versions: Python 2.6

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2698
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com