[CalendarServer-users] Problems to setup Calendar Server

Håkan Axelsson developer at axelsson.ws
Fri Nov 23 10:43:12 PST 2007

Well, the error actually occurrs when PyXML (and PyKerberos ...) is  
compiled with gcc.

I guess that you are right in that this is due to something with my  
local machine, but I can not figure out what it can be. I feel like  
that someone else should have stumbled into the same problem.

I have actually tried this on two different macs, one MacBook Pro and  
one MacMini, both running OSX 10.5.1. Both are of Intel-architecture.  
So even if the problem possibly is in the configuration of my machine  
somehow, it can be reproducable on two different machines.

OK, here is a more completed trace of "./run -s". The trace is huge so  
I have deleted lots of lines, but it should still be enough for you to  
get a picture of the problem.

sh-3.2# which python
sh-3.2# ./run -s

Downloading PyXML...
   % Total    % Received % Xferd  Average Speed   Time    Time      
Time  Current
                                  Dload  Upload   Total   Spent     
Left  Speed
   0  717k    0  4088    0     0   5114      0  0:02:23 --:--:--   
0:02:23 12928PyXML-0.8.4/

   <lots of lines deleted>


Removing build directory /opt/icalserver-dev/PyXML-0.8.4/build...
Removing pyc files from /opt/icalserver-dev/PyXML-0.8.4...

Building PyXML...
running build
running build_py
creating build
creating build/lib.macosx-10.5-i386-2.5
creating build/lib.macosx-10.5-i386-2.5/_xmlplus
copying xml/__init__.py -> build/lib.macosx-10.5-i386-2.5/_xmlplus
copying xml/FtCore.py -> build/lib.macosx-10.5-i386-2.5/_xmlplus
copying xml/ns.py -> build/lib.macosx-10.5-i386-2.5/_xmlplus
creating build/lib.macosx-10.5-i386-2.5/_xmlplus/dom
copying xml/dom/__init__.py -> build/lib.macosx-10.5-i386-2.5/_xmlplus/ 
copying xml/dom/Attr.py -> build/lib.macosx-10.5-i386-2.5/_xmlplus/dom
copying xml/dom/CDATASection.py -> build/lib.macosx-10.5-i386-2.5/ 
copying xml/dom/CharacterData.py -> build/lib.macosx-10.5-i386-2.5/ 
copying xml/dom/Comment.py -> build/lib.macosx-10.5-i386-2.5/_xmlplus/ 
copying xml/dom/Document.py -> build/lib.macosx-10.5-i386-2.5/_xmlplus/ 
copying xml/dom/DocumentFragment.py -> build/lib.macosx-10.5-i386-2.5/ 

   <more lines deleted>

copying xml/xpath/yappsrt.py -> build/lib.macosx-10.5-i386-2.5/ 
running build_ext
building '_xmlplus.parsers.pyexpat' extension
creating build/temp.macosx-10.5-i386-2.5
creating build/temp.macosx-10.5-i386-2.5/extensions
creating build/temp.macosx-10.5-i386-2.5/extensions/expat
creating build/temp.macosx-10.5-i386-2.5/extensions/expat/lib
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 - 
DHAVE_MEMMOVE=1 -Iextensions/expat/lib -I/System/Library/Frameworks/ 
Python.framework/Versions/2.5/include/python2.5 -c extensions/ 
pyexpat.c -o build/temp.macosx-10.5-i386-2.5/extensions/pyexpat.o
extensions/pyexpat.c:5:20: error: Python.h: No such file or directory
extensions/pyexpat.c:5:20: error: Python.h: No such file or directory
extensions/pyexpat.c:8:21: error: compile.h: No such file or directory
extensions/pyexpat.c:9:25: error: frameobject.h: No such file or  
extensions/pyexpat.c:8:21: error: compile.h: No such file or directory
extensions/pyexpat.c:9:25: error: frameobject.h: No such file or  
extensions/pyexpat.c:63: error: parse error before ‘*’ token
extensions/pyexpat.c:63: warning: type defaults to ‘int’ in  
declaration of ‘ErrorObject’
extensions/pyexpat.c:63: warning: data definition has no type or  
storage class
extensions/pyexpat.c:70: error: parse error before ‘PyObject_HEAD’

   <more lines deleted>

extensions/pyexpat.c:1926: error: ‘item’ undeclared (first use in this  
extensions/pyexpat.c:1996: warning: implicit declaration of function  
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:2020: error: parse error before ‘*’ token
extensions/pyexpat.c:2021: warning: function declaration isn’t a  
extensions/pyexpat.c: In function ‘clear_handlers’:
extensions/pyexpat.c:2023: error: ‘PyObject’ undeclared (first use in  
this function)
extensions/pyexpat.c:2023: error: ‘temp’ undeclared (first use in this  
extensions/pyexpat.c:2026: error: ‘initial’ undeclared (first use in  
this function)
extensions/pyexpat.c:2027: error: ‘self’ undeclared (first use in this  
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:2037: error: array type has incomplete element type
lipo: can't open input file: /var/tmp//ccpoyEwr.out (No such file or  
error: command 'gcc' failed with exit status 1


23 nov 2007 kl. 13.47 skrev Emil Lundberg:

> That's kind of peculiar - 'lipo' is a utility to create fat/thin  
> binaries (ppc/x86, 32/64-bit) for OS X 10.4/10.5. I can't see why  
> this would need to be invoked by 'run -s' at all.
> You'll need to tell us more about what your setup is and any other  
> error messages you can find. This is most likely due to something  
> with your local machine setup and not intrinsic to DCS. Examples  
> include binaries copied from a different architecture, full  
> partitions, etc.
> /Emil
> 23 nov 2007 kl. 13.26 skrev Håkan Axelsson:
>> Hi, everyone!
>> I have some problems when installing the Darwin Calendar Server on  
>> OSX 10.5.1.
>> I have checkedout the source files from Subversion. When setting up  
>> the server with the command "run -s" I run into trouble. I receive  
>> an error message like this during setup:
>> lipo: can't open input file: /var/tmp/<filename>.out
>> I have search both on this mailing list and on Google without  
>> finding any information. I have no clue how to proceed and would  
>> really appreciate if someone can direct me.
>> /H
>> _______________________________________________
>> calendarserver-users mailing list
>> calendarserver-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/calendarserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20071123/dc783557/attachment.html

More information about the calendarserver-users mailing list