[CalendarServer-users] building under FreeBSD 5.5 (revisited)

Wilfredo Sánchez Vega wsanchez at wsanchez.net
Thu Jan 11 18:35:26 PST 2007


Joe-

   You want to remove "gssapi/" from the #include lines mentioned by  
the compiler.  I'm not sure how to make that fully cross-platform...   
Python's distutils isn't as helpful as autoconf for this sort of  
thing...  Will have to think about it a bit, I guess.

   Alternatively, remove the PyKerberos stuff from the "run" script in  
the server sources, and don't configure Kerberos when you run the  
server.

	-wsv


On Jan 11, 2007, at 5:28 PM, Joe Auty wrote:

>
> On Jan 11, 2007, at 8:25 PM, Cyrus Daboo wrote:
>
>> Hi Joe,
>>
>> --On January 11, 2007 7:40:54 PM -0500 Joe Auty  
>> <joe at netmusician.org> wrote:
>>
>>> I would love to start testing the CalendarServer, but I'm not able  
>>> to get
>>> past the following error message when I invoke a ./run:
>>>
>>>
>>> Building PyKerberos...
>>> running build
>>> running build_ext
>>> building 'kerberos' extension
>>> creating build
>>> creating build/temp.freebsd-5.5-RELEASE-i386-2.4
>>> creating build/temp.freebsd-5.5-RELEASE-i386-2.4/src
>>> cc -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t
>>> -DTHREAD_STACK_SIZE=0x20000 -fPIC -I/usr/local/include/python2.4 -c
>>> src/kerberos.c -o build/temp.freebsd-5.5-RELEASE-i386-2.4/src/ 
>>> kerberos.o
>>> -I/usr/include
>>> In file included from src/kerberos.c:21:
>>> src/kerberosbasic.h:19:27: gssapi/gssapi.h: No such file or  
>>> directory
>>> src/kerberosbasic.h:20:35: gssapi/gssapi_generic.h: No such file or
>>> directory
>>> src/kerberosbasic.h:21:32: gssapi/gssapi_krb5.h: No such file or  
>>> directory
>>> In file included from src/kerberos.c:22:
>>> src/kerberosgss.h:30: error: syntax error before "gss_ctx_id_t"
>>> src/kerberosgss.h:37: error: syntax error before "gss_ctx_id_t"
>>> error: command 'cc' failed with exit status 1
>>>
>>
>> Can you locate a gssapi.h file on your system, and if so where is it?
>
>
>
> # locate gssapi.h
> /usr/include/gssapi.h
> /usr/obj/usr/src/i386/usr/include/gssapi.h
> /usr/src/contrib/bind9/lib/dns/include/dst/gssapi.h
> /usr/src/contrib/cvs/lib/xgssapi.h
> /usr/src/crypto/heimdal/lib/gssapi/gssapi.h
>
>
>
>
>
>
>
> -----------
> Joe Auty
> NetMusician: web publishing software for musicians
> http://www.netmusician.org
> joe at netmusician.org
>
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/calendarserver-users



More information about the calendarserver-users mailing list