apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

'run' script installs Twisted plugins to wrong location on x86_64 systems #459

Closed macosforgebot closed 12 years ago

macosforgebot commented 14 years ago

s.adam@… originally submitted this as ticket:391


I may have made a beginner's mistake as this is the first time I deal with Twisted, but I believe that CalendarServer installs the Twisted plugins to the wrong location on x86_64 systems.

CalendarServer will create a both '/usr/lib/python2.X/site-packages' (sitelib) and '/usr/lib64/python2.X/site-packages' (sitearch) directory and places the Twisted files in sitearch directory and the Twisted plugins in the sitelib. Attempting to start the server will have Twisted search only the sitearch directory and produce an error since the caldav plugin isn't known.

I am using Fedora 13 x86_64 which has Python 2.6.

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:391

macosforgebot commented 12 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:391


If you install Twisted on your own before building this server, and it's detectable (ie. in PYTHONPATH), then the server should use that Twisted and not try to build and install its own. This is generally the best way to install.