apple / ccs-pykerberos

Python Kerberos library used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
117 stars 65 forks source link

PyKerberos not compiling on VS 9.0.30729.4462, .NET 3.5 SP1 #42

Closed macosforgebot closed 8 years ago

macosforgebot commented 9 years ago

herron@… originally submitted this as ticket:909


When I run the "python setup.py build" command, I get the following compilation errors:

C:\python27\python setup.py build
running build
running build_ext
building 'kerberos' extension
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\python27\incl
ude -IC:\python27\PC /Tcsrc/base64.c /Fobuild\temp.win32-2.7\Release\src/base64.obj '{' is not recognized as an internal
 or external command, operable program or batch file.
cl : Command line warning D9024 : unrecognized source file type ''{'', object file assumed
cl : Command line warning D9027 : source file ''{'' ignored
cl : Command line warning D9024 : unrecognized source file type 'is', object file assumed
cl : Command line warning D9027 : source file 'is' ignored
cl : Command line warning D9024 : unrecognized source file type 'not', object file assumed
cl : Command line warning D9027 : source file 'not' ignored
cl : Command line warning D9024 : unrecognized source file type 'recognized', object file assumed
cl : Command line warning D9027 : source file 'recognized' ignored
cl : Command line warning D9024 : unrecognized source file type 'as', object file assumed
cl : Command line warning D9027 : source file 'as' ignored
cl : Command line warning D9024 : unrecognized source file type 'an', object file assumed
cl : Command line warning D9027 : source file 'an' ignored
cl : Command line warning D9024 : unrecognized source file type 'internal', object file assumed
cl : Command line warning D9027 : source file 'internal' ignored
cl : Command line warning D9024 : unrecognized source file type 'or', object file assumed
cl : Command line warning D9027 : source file 'or' ignored
cl : Command line warning D9024 : unrecognized source file type 'external', object file assumed
cl : Command line warning D9027 : source file 'external' ignored
cl : Command line warning D9024 : unrecognized source file type 'command,', object file assumed
cl : Command line warning D9027 : source file 'command,' ignored
cl : Command line warning D9024 : unrecognized source file type 'operable', object file assumed
cl : Command line warning D9027 : source file 'operable' ignored
cl : Command line warning D9024 : unrecognized source file type 'program', object file assumed
cl : Command line warning D9027 : source file 'program' ignored
cl : Command line warning D9024 : unrecognized source file type 'or', object file assumed
cl : Command line warning D9027 : source file 'or' ignored
cl : Command line warning D9024 : unrecognized source file type 'batch', object file assumed
cl : Command line warning D9027 : source file 'batch' ignored
cl : Command line warning D9024 : unrecognized source file type 'file.', object file assumed
cl : Command line warning D9027 : source file 'file.' ignored
base64.c
src/base64.c(59) : error C2143: syntax error : missing ';' before 'type'
src/base64.c(60) : error C2065: 'oval' : undeclared identifier
src/base64.c(61) : error C2065: 'oval' : undeclared identifier
src/base64.c(78) : error C2143: syntax error : missing ';' before 'type'
src/base64.c(80) : error C2275: 'size_t' : illegal use of this type as an expression
        c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : see declara
tion of 'size_t'
src/base64.c(80) : error C2146: syntax error : missing ';' before identifier 'vlen'
src/base64.c(80) : error C2065: 'vlen' : undeclared identifier
src/base64.c(81) : error C2143: syntax error : missing ';' before 'type'
src/base64.c(82) : error C2143: syntax error : missing ';' before 'type'
src/base64.c(86) : error C2065: 'result' : undeclared identifier
src/base64.c(86) : warning C4047: 'return' : 'unsigned char *' differs in levels of indirection from 'int'
src/base64.c(88) : error C2065: 'c1' : undeclared identifier
src/base64.c(89) : error C2065: 'c1' : undeclared identifier
src/base64.c(89) : error C2065: 'c1' : undeclared identifier
src/base64.c(89) : error C2065: 'c1' : undeclared identifier
src/base64.c(92) : error C2065: 'c2' : undeclared identifier
src/base64.c(93) : error C2065: 'c2' : undeclared identifier
src/base64.c(93) : error C2065: 'c2' : undeclared identifier
src/base64.c(93) : error C2065: 'c2' : undeclared identifier
src/base64.c(96) : error C2065: 'c3' : undeclared identifier
src/base64.c(97) : error C2065: 'c3' : undeclared identifier
src/base64.c(97) : error C2065: 'c3' : undeclared identifier
src/base64.c(97) : error C2065: 'c3' : undeclared identifier
src/base64.c(97) : error C2065: 'c3' : undeclared identifier
src/base64.c(100) : error C2065: 'c4' : undeclared identifier
src/base64.c(101) : error C2065: 'c4' : undeclared identifier
src/base64.c(101) : error C2065: 'c4' : undeclared identifier
src/base64.c(101) : error C2065: 'c4' : undeclared identifier
src/base64.c(101) : error C2065: 'c4' : undeclared identifier
src/base64.c(106) : error C2065: 'out' : undeclared identifier
src/base64.c(106) : error C2100: illegal indirection
src/base64.c(106) : error C2065: 'c1' : undeclared identifier
src/base64.c(106) : error C2065: 'c1' : undeclared identifier
src/base64.c(106) : error C2065: 'c1' : undeclared identifier
src/base64.c(106) : error C2065: 'c2' : undeclared identifier
src/base64.c(106) : error C2065: 'c2' : undeclared identifier
src/base64.c(106) : error C2065: 'c2' : undeclared identifier
src/base64.c(106) : error C2106: '=' : left operand must be l-value
src/base64.c(109) : error C2065: 'c3' : undeclared identifier
src/base64.c(110) : error C2065: 'out' : undeclared identifier
src/base64.c(110) : error C2100: illegal indirection
src/base64.c(110) : error C2065: 'c2' : undeclared identifier
src/base64.c(110) : error C2065: 'c2' : undeclared identifier
src/base64.c(110) : error C2065: 'c2' : undeclared identifier
src/base64.c(110) : error C2065: 'c3' : undeclared identifier
src/base64.c(110) : error C2065: 'c3' : undeclared identifier
src/base64.c(110) : error C2065: 'c3' : undeclared identifier
src/base64.c(110) : error C2106: '=' : left operand must be l-value
src/base64.c(113) : error C2065: 'c4' : undeclared identifier
src/base64.c(114) : error C2065: 'out' : undeclared identifier
src/base64.c(114) : error C2100: illegal indirection
src/base64.c(114) : error C2065: 'c3' : undeclared identifier
src/base64.c(114) : error C2065: 'c3' : undeclared identifier
src/base64.c(114) : error C2065: 'c3' : undeclared identifier
src/base64.c(114) : error C2065: 'c4' : undeclared identifier
src/base64.c(114) : error C2065: 'c4' : undeclared identifier
src/base64.c(114) : error C2065: 'c4' : undeclared identifier
src/base64.c(114) : error C2106: '=' : left operand must be l-value
src/base64.c(121) : error C2065: 'result' : undeclared identifier
src/base64.c(121) : error C2100: illegal indirection
src/base64.c(124) : error C2065: 'result' : undeclared identifier
src/base64.c(124) : warning C4047: 'return' : 'unsigned char *' differs in levels of indirection from 'int'
error: command '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2
macosforgebot commented 8 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:909

macosforgebot commented 8 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:909


We don't really support Windows… absent a patch this just won't get fixed.