`<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Dear all,</div><div>I submitted the same request some weeks ago to the CalendarServer but I got no answer, so I try with OmniOS, where I also expect to find the knowledge necessary to solve this issue.</div><div><br></div>I am preparing a server based on OmniOS and I would like to offer CalDAV/CardDAV to the users. I chose calendarserver because the users use iOS, OS X, Android. I know there are other options like DAViCal, but for the time being I tried to go with Apple’s implementation.<br><br>I checked the repository locally and then I run “python setup.py”.<div>Everything gets compiled well after putting the GNU tar in the path before the one provided by OmniOS, except PyKerberos. It is a library written to avoid including the whole Python Kerberos libraries (or so I read in the READMEs).<br><br>This is the output:<br>------<br>~/CalendarServer/CalendarServer-5.2 $ ./run -s<br><br>Using built libevent.<br><br>Using built memcached.<br><br>Using built PostgreSQL.<br><br>Using built OpenLDAP.<br><br>Using built libffi.<br><br>Using system version of setuptools.<br><br>Building Zope Interface...<br><br>Using system version of pyOpenSSL.<br><br>Building PyKerberos...<br><br>gcc: error: /usr/bin/krb5-config:: No such file or directory<br>gcc: error: Unknown: No such file or directory<br>gcc: error: option: No such file or directory<br>gcc: error: `gssapi': No such file or directory<br>gcc: error: use: No such file or directory<br>gcc: error: `--help': No such file or directory<br>gcc: error: for: No such file or directory<br>gcc: error: usage: No such file or directory<br>gcc: error: unrecognized command line option '--'<br>error: command 'gcc' failed with exit status 1<br><br>~/CalendarServer/CalendarServer-5.2 $ cd ../PyKerberos<br><br>~/CalendarServer/PyKerberos $ python setup.py build<br><br>running build<br>running build_ext<br>building 'kerberos' extension<br>gcc -m64 -fno-strict-aliasing -std=c99 -m64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c src/kerberos.c -o build/temp.solaris-2.11-i86pc-2.6/src/kerberos.o /usr/bin/krb5-config: Unknown option `gssapi' -- use `--help' for usage<br>gcc: error: /usr/bin/krb5-config:: No such file or directory<br>gcc: error: Unknown: No such file or directory<br>gcc: error: option: No such file or directory<br>gcc: error: `gssapi': No such file or directory<br>gcc: error: use: No such file or directory<br>gcc: error: `--help': No such file or directory<br>gcc: error: for: No such file or directory<br>gcc: error: usage: No such file or directory<br>gcc: error: unrecognized command line option '--'<br>error: command 'gcc' failed with exit status 1<br><br>~/src/CalendarServer/PyKerberos $ krb5-config --all --libs --cflags<br><br>Version: Solaris Kerberos (based on MIT Kerberos 5 release 1.6.3)<br>Vendor: Sun Microsystems, Inc.<br>Prefix: /usr<br>Exec_prefix: /usr<br>-I/usr/include/kerberosv5<br>-L/usr/lib -R/usr/lib -lkrb5<br>------<br><br></div><div>It is also important to mention that the build script uses the commandline "krb5-config --libs gssapi" to get the path for the GSSAPI libs.</div><div><br>However the gssapi packages ARE installed (I never tested Kerberos though):</div><div>------<br>~/src/CalendarServer/PyKerberos $ pkg search gssapi<br><br>INDEX ACTION VALUE PACKAGE<br>pkg.summary set GSSAPI CONFIG V2 pkg:/service/security/gss@0.5.11-0.151010<br>pkg.summary set GSSAPI V2 pkg:/system/library/security/gss@0.5.11-0.151010<br>pkg.summary set kernel GSSAPI V2 pkg:/system/kernel/security/gss@0.5.11-0.151010<br>basename dir usr/include/gssapi pkg:/system/header@0.5.11-0.151010<br><br>~/src/CalendarServer/PyKerberos $ pkg info pkg:/service/security/gss@0.5.11-0.151010 pkg:/system/library/security/gss@0.5.11-0.151010 pkg:/system/kernel/security/gss@0.5.11-0.151010 pkg:/system/header@0.5.11-0.151010<br><br> Name: service/security/gss<br> Summary: GSSAPI CONFIG V2<br> Description: Generic Security Service Application Program Interface, Version<br> 2 - config<br> Category: System/Security<br> State: Installed<br> Publisher: omnios<br> Version: 0.5.11<br>Build Release: 5.11<br> Branch: 0.151010<br>Packaging Date: Mon Apr 28 19:28:56 2014<br> Size: 17.53 kB<br> FMRI: <a href="pkg://omnios/service/security/gss@0.5.11,5.11-0.151010:20140428T192856Z">pkg://omnios/service/security/gss@0.5.11,5.11-0.151010:20140428T192856Z</a><br><br> Name: system/header<br> Summary: SunOS Header Files<br> Description: SunOS C/C++ header files for general development of software<br> Category: System/Core<br> State: Installed<br> Publisher: omnios<br> Version: 0.5.11<br>Build Release: 5.11<br> Branch: 0.151010<br>Packaging Date: Mon Apr 28 19:29:16 2014<br> Size: 12.19 MB<br> FMRI: <a href="pkg://omnios/system/header@0.5.11,5.11-0.151010:20140428T192916Z">pkg://omnios/system/header@0.5.11,5.11-0.151010:20140428T192916Z</a><br><br> Name: system/kernel/security/gss<br> Summary: kernel GSSAPI V2<br> Description: Generic Security Service Application Program Interface, Version<br> 2 - kernel<br> Category: System/Security<br> State: Installed<br> Publisher: omnios<br> Version: 0.5.11<br>Build Release: 5.11<br> Branch: 0.151010<br>Packaging Date: Mon Apr 28 19:29:21 2014<br> Size: 335.22 kB<br> FMRI: <a href="pkg://omnios/system/kernel/security/gss@0.5.11,5.11-0.151010:20140428T192921Z">pkg://omnios/system/kernel/security/gss@0.5.11,5.11-0.151010:20140428T192921Z</a><br><br> Name: system/library/security/gss<br> Summary: GSSAPI V2<br> Description: Generic Security Service Application Program Interface, Version<br> 2 - user<br> Category: System/Security<br> State: Installed<br> Publisher: omnios<br> Version: 0.5.11<br>Build Release: 5.11<br> Branch: 0.151010<br>Packaging Date: Mon Apr 28 19:29:26 2014<br> Size: 687.41 kB<br> FMRI: <a href="pkg://omnios/system/library/security/gss@0.5.11,5.11-0.151010:20140428T192926Z">pkg://omnios/system/library/security/gss@0.5.11,5.11-0.151010:20140428T192926Z</a><br>------<br><br><br>Could anyone help me with the issue? I tried some changes like providing directly the path with the libraries but I was not able to solve the problem.<br><br>Thanks<br>Olaf Marzocchi<br><br></div></body></html>`