apple / ccs-pykerberos

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

Kerberos poblem building calendar server #6

Closed macosforgebot closed 14 years ago

macosforgebot commented 16 years ago

pkropf@… originally submitted this as ticket:203


I'm running into a problem building the calendar server. When ./run -s gets to building PyKerberos, here's what happens:

Building PyKerberos...
running build
running build_ext
building 'kerberos' extension
creating build
creating build/temp.macosx-10.3-i386-2.4
creating build/temp.macosx-10.3-i386-2.4/src
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c src/kerberos.c -o build/temp.macosx-10.3-i386-2.4/src/kerberos.o -I/opt/local/include
In file included from src/kerberosbasic.h:20,
                 from src/kerberos.c:21:
/usr/include/gssapi/gssapi_generic.h:46: error: syntax error before ‘extern’
/usr/include/gssapi/gssapi_generic.h:47: error: syntax error before ‘extern’
/usr/include/gssapi/gssapi_generic.h:48: error: syntax error before ‘extern’
/usr/include/gssapi/gssapi_generic.h:50: error: syntax error before ‘extern’
error: command '/usr/bin/gcc-4.0' failed with exit status 1

This is on a Leopard based system.

macosforgebot commented 16 years ago

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


I see macosx-10.3 in the logs you submitted. Are you sure this is Leopard? I don't see this error on Leopard.

macosforgebot commented 16 years ago

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

macosforgebot commented 14 years ago

@wsanchez originally submitted this as comment:3:⁠ticket:203