[CalendarServer-users] Home Install on Darwin

Dirk dirk at cocoanuts.org
Sat Nov 28 05:04:12 PST 2009


Hi!

Can anybody shed some light on how to do a home install of the server  
on Darwin?
I have the server running in Debug mode, but do not want to pollute  
lots of directories with parts of the server.

Home install looks perfect for me. Tries release 2.3 and trunk. Tried  
under 10.5 and 10.6:

DCS $ svn checkout  
http://svn.macosforge.org/repository/calendarserver/CalendarServer/trunk  
./calendarserver-trunk

...

calendarserver-trunk $ mkdir /tmp/DCS
calendarserver-trunk $ ./run -I /tmp/DCS

...

running build_ext
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp  
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall  
-Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch  
i386 -arch ppc -pipe  
-I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5  
-c conftest.c -o conftest.o
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp  
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall  
-Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch  
i386 -arch ppc -pipe  
-I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5  
-c conftest.c -o conftest.o
conftest.c:1:23: error: sys/epoll.h: No such file or directory
conftest.c:1:23: error: sys/epoll.h: No such file or directory

.....

copying conf/caldavd.plist ->  
/Users/theisen/DCS/calendarserver-trunk/build/dst/System/Library/Frameworks/Python.framework/Versions/2.5/caldavd
running install_egg_info
Writing  
/Users/theisen/DCS/calendarserver-trunk/build/dst/Library/Python/2.5/site-packages/twistedcaldav-trunk._r4808_-py2.5.egg-info
rewriting  
/Users/theisen/DCS/calendarserver-trunk/build/dst/usr/local/bin/caldavd
rewriting  
/Users/theisen/DCS/calendarserver-trunk/build/dst/usr/local/bin/calendarserver_export
rewriting  
/Users/theisen/DCS/calendarserver-trunk/build/dst/usr/local/bin/calendarserver_manage_principals
building file list ... rsync: link_stat  
"/Users/theisen/DCS/calendarserver-trunk/build/dst/System/Library/Frameworks/Python.framework/Versions/2.5/bin/."  
failed: No such file or directory (2)
done

Looks like it's trying to build and install python, which is not  
neccessary on 10.5/10.6.
Are those special Python versions? I remember the debug versions using  
the builtin python command after a check.

Please help.

Greetings,
    Dirk


More information about the calendarserver-users mailing list