[Python-Dev] Can't build Zope on Windows w/ 2.4.1c1 (original) (raw)
Tim Peters tim.peters at gmail.com
Thu Mar 10 18:07:50 CET 2005
- Previous message: [Python-Dev] Can't build Zope on Windows w/ 2.4.1c1
- Next message: [Python-Dev] Can't build Zope on Windows w/ 2.4.1c1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Anthony Baxter]
It works on Linux, with Zope 2.7.4.
Thanks!
Just as a note to others (I've mentioned this to Tim already) if you set an environment variable DISTUTILSDEBUG before running a setup.py, you get very verbose information about what's going on, and, more importantly, full tracebacks rather than terse error messages.
error: No such file or directory looks like a distutils error message.
This helped a lot, although I'm even more confused now:
building 'ZODB.cPickleCache' extension C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\Code\Zope-2_7-branch\lib\Components\ExtensionClass\src -IC:\python24\include -IC:\python24\PC /TcZODB/cPickleCache.c /Fobuild\temp.win32-2.4\Release\ZODB/cPickleCache.obj cPickleCache.c error: No such file or directory Traceback (most recent call last): File "C:\Code\Zope-2_7-branch\setup.py", line 1094, in ? distclass=ZopeDistribution, File "C:\python24\lib\distutils\core.py", line 149, in setup dist.run_commands() File "C:\python24\lib\distutils\dist.py", line 946, in run_commands self.run_command(cmd) File "C:\python24\lib\distutils\dist.py", line 966, in run_command cmd_obj.run() File "C:\python24\lib\distutils\command\build_ext.py", line 279, in run self.build_extensions() File "C:\python24\lib\distutils\command\build_ext.py", line 405, in build_extensions self.build_extension(ext) File "C:\python24\lib\distutils\command\build_ext.py", line 502, in build_extension target_lang=language) File "C:\python24\lib\distutils\ccompiler.py", line 847, in link_shared_object extra_preargs, extra_postargs, build_temp, target_lang) File "C:\python24\lib\distutils\msvccompiler.py", line 422, in link if not self.initialized: self.initialize() File "C:\python24\lib\distutils\msvccompiler.py", line 239, in initialize os.environ['path'] = string.join(self.__paths, ';') File "C:\python24\lib\os.py", line 419, in setitem putenv(key, item) OSError: [Errno 2] No such file or directory
LOL -- or something . Before going to sleep, Anthony suggested that
Bug #1110478: Revert os.environ.update to do putenv again.
might be relevant. HTF can we get a "no such file or directly" out of a putenv()?! Don't be shy.
- Previous message: [Python-Dev] Can't build Zope on Windows w/ 2.4.1c1
- Next message: [Python-Dev] Can't build Zope on Windows w/ 2.4.1c1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]