Dear all,
I am preparing a server based on OmniOS (kernel illumos), let’s say the
successor of OpenIndiana (OpenSolaris) and I would like to offer CalDAV/CardDAV
to the users. I chose calendarserver because the users use iOS, OS X, Android.
I run “python setup.py” and everything runs well (I just needed to put the GNU
tar in the path before the one provided by OmniOS/illumos) until PyKerberos.
------
~/CalendarServer/CalendarServer-5.2 $ ./run -s
Using built libevent.
Using built memcached.
Using built PostgreSQL.
Using built OpenLDAP.
Using built libffi.
Using system version of setuptools.
Building Zope Interface...
Using system version of pyOpenSSL.
Building PyKerberos...
gcc: error: /usr/bin/krb5-config:: No such file or directory
gcc: error: Unknown: No such file or directory
gcc: error: option: No such file or directory
gcc: error: `gssapi': No such file or directory
gcc: error: use: No such file or directory
gcc: error: `--help': No such file or directory
gcc: error: for: No such file or directory
gcc: error: usage: No such file or directory
gcc: error: unrecognized command line option '--'
error: command 'gcc' failed with exit status 1
~/CalendarServer/CalendarServer-5.2 $ cd ../PyKerberos
~/CalendarServer/PyKerberos $ python setup.py build
running build
running build_ext
building 'kerberos' extension
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
gcc: error: /usr/bin/krb5-config:: No such file or directory
gcc: error: Unknown: No such file or directory
gcc: error: option: No such file or directory
gcc: error: `gssapi': No such file or directory
gcc: error: use: No such file or directory
gcc: error: `--help': No such file or directory
gcc: error: for: No such file or directory
gcc: error: usage: No such file or directory
gcc: error: unrecognized command line option '--'
error: command 'gcc' failed with exit status 1
~/src/CalendarServer/PyKerberos $ krb5-config --all --libs —cflags
Version: Solaris Kerberos (based on MIT Kerberos 5 release 1.6.3)
Vendor: Sun Microsystems, Inc.
Prefix: /usr
Exec_prefix: /usr
-I/usr/include/kerberosv5
-L/usr/lib -R/usr/lib -lkrb5
------
As you can see, “gssapi” does not show up when requested with
extra_link_args = commands.getoutput("krb5-config --libs gssapi").split(),
even if the gssapi packages are installed (I never tested Kerberos though):
------
~/src/CalendarServer/PyKerberos $ pkg search gssapi
INDEX ACTION VALUE PACKAGE
pkg.summary set GSSAPI CONFIG V2 pkg:/service/security/[email protected]
pkg.summary set GSSAPI V2
pkg:/system/library/security/[email protected]
pkg.summary set kernel GSSAPI V2
pkg:/system/kernel/security/[email protected]
basename dir usr/include/gssapi pkg:/system/[email protected]
~/src/CalendarServer/PyKerberos $ pkg info
pkg:/service/security/[email protected]
pkg:/system/library/security/[email protected]
pkg:/system/kernel/security/[email protected]
pkg:/system/[email protected]
Name: service/security/gss
Summary: GSSAPI CONFIG V2
Description: Generic Security Service Application Program Interface, Version
2 - config
Category: System/Security
State: Installed
Publisher: omnios
Version: 0.5.11
Build Release: 5.11
Branch: 0.151010
Packaging Date: Mon Apr 28 19:28:56 2014
Size: 17.53 kB
FMRI:
pkg://omnios/service/security/[email protected],5.11-0.151010:20140428T192856Z
Name: system/header
Summary: SunOS Header Files
Description: SunOS C/C++ header files for general development of software
Category: System/Core
State: Installed
Publisher: omnios
Version: 0.5.11
Build Release: 5.11
Branch: 0.151010
Packaging Date: Mon Apr 28 19:29:16 2014
Size: 12.19 MB
FMRI: pkg://omnios/system/[email protected],5.11-0.151010:20140428T192916Z
Name: system/kernel/security/gss
Summary: kernel GSSAPI V2
Description: Generic Security Service Application Program Interface, Version
2 - kernel
Category: System/Security
State: Installed
Publisher: omnios
Version: 0.5.11
Build Release: 5.11
Branch: 0.151010
Packaging Date: Mon Apr 28 19:29:21 2014
Size: 335.22 kB
FMRI:
pkg://omnios/system/kernel/security/[email protected],5.11-0.151010:20140428T192921Z
Name: system/library/security/gss
Summary: GSSAPI V2
Description: Generic Security Service Application Program Interface, Version
2 - user
Category: System/Security
State: Installed
Publisher: omnios
Version: 0.5.11
Build Release: 5.11
Branch: 0.151010
Packaging Date: Mon Apr 28 19:29:26 2014
Size: 687.41 kB
FMRI:
pkg://omnios/system/library/security/[email protected],5.11-0.151010:20140428T192926Z
------
Could anyone help me with the issue?
Thanks
Olaf Marzocchi
_______________________________________________
calendarserver-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/calendarserver-users