[Twisted-Python] Compile failure in 1.1.0rc1 Windows

Mark Evans v6kk1hg02 at sneakemail.com
Thu Oct 23 05:03:18 EDT 2003


Windows 2000, MSVC6sp5, the full Microsoft SDK is also installed (free from MS website in case you didn't know), as well as MASM for that matter.  Necessary Microsoft INCLUDE and PATH environment variables OK, and as per standard.  All TM prerequisites like SSL etc are installed correctly.  Then tried a simple setup.py install command.

The failure is a missing include file referenced from portmap.c.

#include <rpc/rpc.h>
#include <rpc/pmap_clnt.h>

Some clues.  On Windows, there *is* a VC6 and MSSDK header called rpc.h.  However it does not live in a folder called rpc.  And there is *no* header called pmap_clnt.h.  The last part of the output is shown below.

I'm sorry if this is the wrong list, only trying to help out with the rc1 release.

Mark

===================================
C:\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -
DWIN32=1 -IC:\Python\include -IC:\Python\PC /Tctwisted/spread/cBanana.c /Fobuild
\temp.win32-2.3\Release\twisted/spread/cBanana.obj
cBanana.c
twisted/spread/cBanana.c(350) : warning C4305: '=' : truncation from 'const int
' to 'char '
twisted/spread/cBanana.c(360) : warning C4305: '=' : truncation from 'const int
' to 'char '
twisted/spread/cBanana.c(371) : warning C4305: '=' : truncation from 'const int
' to 'char '
twisted/spread/cBanana.c(375) : warning C4305: '=' : truncation from 'const int
' to 'char '
twisted/spread/cBanana.c(384) : warning C4305: '=' : truncation from 'const int
' to 'char '
twisted/spread/cBanana.c(387) : warning C4305: '=' : truncation from 'const int
' to 'char '
twisted/spread/cBanana.c(461) : warning C4305: '=' : truncation from 'const int
' to 'char '
twisted/spread/cBanana.c(470) : warning C4305: '=' : truncation from 'const int
' to 'char '
C:\Microsoft Visual Studio\VC98\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPA
TH:C:\Python\libs /LIBPATH:C:\Python\PCBuild /EXPORT:initcBanana build\temp.win3
2-2.3\Release\twisted/spread/cBanana.obj /OUT:build\lib.win32-2.3\twisted\spread
\cBanana.pyd /IMPLIB:build\temp.win32-2.3\Release\twisted/spread\cBanana.lib
   Creating library build\temp.win32-2.3\Release\twisted/spread\cBanana.lib and
object build\temp.win32-2.3\Release\twisted/spread\cBanana.exp
building 'twisted.runner.portmap' extension
creating build\temp.win32-2.3\Release\twisted\runner
C:\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -
DWIN32=1 -IC:\Python\include -IC:\Python\PC /Tctwisted/runner/portmap.c /Fobuild
\temp.win32-2.3\Release\twisted/runner/portmap.obj
portmap.c
twisted/runner/portmap.c(23) : fatal error C1083: Cannot open include file: 'rpc
/rpc.h': No such file or directory
error: command '"C:\Microsoft Visual Studio\VC98\BIN\cl.exe"' failed with exit s
tatus 2




More information about the Twisted-Python mailing list