Hi Tor,

--On November 17, 2006 9:57:18 AM +0100 Tor Hildrum <[EMAIL PROTECTED]> wrote:

   Yeah, this sound like something the linker would say.  Perhaps you
have a bum python.

I traced everything, and here is what happens:
--------------------------------------------------------
--------------------------------------------------------
import xml # directory
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml
# /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/__in
# it__.pyc
matches
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/__ini
t__.py
import xml # precompiled from
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xml/__ini
t__.pyc
import _xmlplus # directory
/Users/tor/dev/CalendarServer/PyXML-0.8.4/build/lib.darwin-8.8.1-Power_Ma
cintosh-2.4/_xmlplus

Hmm, the build directory being picked up in the path is lib.darwin-8.8.1-Power_Macintosh-2.4/ - but that's a PPC one. You ought to see something like lib.darwin-8.8.1-i386-2.4/ for an x86 build.

Try this: go to the PyXML-0.8.4 directory and delete the build directory. They type 'python setup.py build'. After that look in the build directory and see what lib.xxx was built.

Also try the following:

python -c "from distutils.util import get_platform; print get_platform()"

That should give an i386 result.

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to