Hi

I am trying to get Calendarserver trunk from today (r4337) to run on a FreeBSD 7.2 server.

I am following the instruction on <http://blog.royhooper.ca/2007/07/07/installing-the-darwin-calendar-server-on-freebsd >, with minor modifications.

- xattr is installed from port (devel/py-xattr), it is Bob Ippolito's implementation so that should be ok.
- It is no longer necessary to path the PyKerberos source

When I try to run setup (./run -s) i get the following error:
---
Building PyKerberos...
./run: line 464: $@: unbound variable
---
I can get around that be commenting the line "set -u" in the run script and calendarserver seems to build and install without any other errors. when I try to run the server with ./run i get the following:
---
exec python /usr/local/www/iCal/Twisted/bin/twistd -n caldav -f /usr/ local/www/iCal/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined
Traceback (most recent call last):
 File "/usr/local/www/iCal/Twisted/bin/twistd", line 19, in <module>
   run()
File "/usr/local/www/iCal/Twisted/twisted/scripts/twistd.py", line 27, in run
   app.run(runApp, ServerOptions)
File "/usr/local/www/iCal/Twisted/twisted/application/app.py", line 685, in run
   config.parseOptions()
File "/usr/local/www/iCal/Twisted/twisted/application/app.py", line 665, in parseOptions
   usage.Options.parseOptions(self, options)
File "/usr/local/www/iCal/Twisted/twisted/python/usage.py", line 226, in parseOptions
   for (cmd, short, parser, doc) in self.subCommands:
File "/usr/local/www/iCal/Twisted/twisted/application/app.py", line 676, in subCommands
   self.loadedPlugins[plug.tapname] = plug
File "/usr/local/www/iCal/CalendarServer/twisted/plugins/caldav.py", line 13, in getProperty
   return getattr(reflect.namedClass(self.serviceMakerClass), propname)
File "/usr/local/www/iCal/Twisted/twisted/python/reflect.py", line 349, in namedObject
   module = namedModule('.'.join(classSplit[:-1]))
File "/usr/local/www/iCal/Twisted/twisted/python/reflect.py", line 337, in namedModule
   topLevel = __import__(name)
File "/usr/local/www/iCal/CalendarServer/twistedcaldav/mail.py", line 23, in <module>
   from calendarserver.provision.root import RootResource
File "/usr/local/www/iCal/CalendarServer/calendarserver/provision/ root.py", line 31, in <module>
   from twistedcaldav.extensions import DAVFile, CachingPropertyStore
File "/usr/local/www/iCal/CalendarServer/twistedcaldav/ extensions.py", line 51, in <module>
   from twisted.web2.dav.static import DAVFile as SuperDAVFile
File "/usr/local/www/iCal/Twisted/twisted/web2/dav/static.py", line 44, in <module> from twisted.web2.dav.xattrprops import xattrPropertyStore as DeadPropertyStore File "/usr/local/www/iCal/Twisted/twisted/web2/dav/xattrprops.py", line 62, in <module>
   _ATTR_MISSING = (errno.ENODATA, 93)
AttributeError: 'module' object has no attribute 'ENODATA'
---

ENODATA is not an available error code on FreeBSD, but ENOATTR that is mentioned in twisted/web2/dav/xattrprops.py is, but on FreeBSD it has errno 87, and not 93 as in MacOS X, but I do not know if this is my problem, and if it is what to do about it.

So at the moment I am a bit stuck and I was hoping somebody had some pointers to how I might resolve this.

Has anybody else gotten calendarserver to run on FreeBSD after trunk switched over to using the updated twisted branch?

Any help would be appreciated

Regards

Lars N. Cleemann
_______________________________________________
calendarserver-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to