libevent not found during run script
Howdy, all - I already had CalendarServer running on my iMac G5 (PPC), but I have had a few issues and decided that it would be best to get the latest and greatest of the stable source code, so I checked out the latest source code this weekend and, when I tried to run the setup script, I found that I keep getting an error telling me that "libevent is required and must be installed." This error seems to occur during system checks that are done while building memchached. As it turns out, libevent is installed and I even went so far as to delete the libevent folder that was installed and let the setup script download and install it again. The setup script did, indeed, download and install it again, but the error again occurred during what appears to be the memchached build. Am I updating my installation in the wrong way? Are there other steps I should take before I checkout via svn? All I had done was use the following: svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk /Library/CalendarServer and then I ran the setup script: ./run -s Thanks - Conrad
Hi Conrad, --On July 14, 2008 11:10:28 AM -0500 Conrad Wasmer <conrad.wasmer@comcast.net> wrote:
I am new to this list, and could not find a way to search the archives, so please forgive me and/or point me to a past thread if I am re-hashing old news.
I've set up calendar server (employing advice from Tony Rush's blog) and things worked great for a few months. Then at the end of April, it stopped. I haven't dealt with this because our first child joined us in early April, and some priorities have shifted... The only thing that may have changed is, perhaps, an update to Leopard from Apple. After the recent update to 10.5.3, there was no sudden re-enabling of the Calendar Server, for which I had illogically hoped.
It appears that twisted is looking to listen to an address that is already in use. Any advice is much appreciated.
That usually means you already have a server instance running on the port you are trying to use for the new instance. Do "ps -aux | grep caldav" and see if you can see what else is running. -- Cyrus Daboo
Because the text of the question posed yesterday may have been malformed as a result of my email setup, I am re-posting it to this group. Please forgive me if you have already seen this, but I am still hoping for some suggestions. Thanks all - Conrad -- On Mon, July 14, 2008 11:10 am, Conrad Wasmer wrote: Howdy, all - I already had CalendarServer running on my iMac G5 (PPC), but I have had a few issues and decided that it would be best to get the latest and greatest of the stable source code, so I checked out the latest source code this weekend and, when I tried to run the setup script, I found that I keep getting an error telling me that "libevent is required and must be installed." This error seems to occur during system checks that are done while building memchached. As it turns out, libevent is installed and I even went so far as to delete the libevent folder that was installed and let the setup script download and install it again. The setup script did, indeed, download and install it again, but the error again occurred during what appears to be the memchached build. Am I updating my installation in the wrong way? Are there other steps I should take before I checkout via svn? All I had done was use the following: svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk /Library/CalendarServer and then I ran the setup script: ./run -s Thanks - Conrad
On Jul 15, 2008, at 7:38 AM, Conrad Wasmer wrote:
Because the text of the question posed yesterday may have been malformed as a result of my email setup, I am re-posting it to this group. Please forgive me if you have already seen this, but I am still hoping for some suggestions.
Thanks all -
Conrad -- On Mon, July 14, 2008 11:10 am, Conrad Wasmer wrote:
Howdy, all -
I already had CalendarServer running on my iMac G5 (PPC), but I have had a few issues and decided that it would be best to get the latest and greatest of the stable source code, so I checked out the latest source code this weekend and, when I tried to run the setup script, I found that I keep getting an error telling me that "libevent is required and must be installed." This error seems to occur during system checks that are done while building memchached.
As it turns out, libevent is installed and I even went so far as to delete the libevent folder that was installed and let the setup script download and install it again. The setup script did, indeed, download and install it again, but the error again occurred during what appears to be the memchached build.
Am I updating my installation in the wrong way? Are there other steps I should take before I checkout via svn? All I had done was use the following: svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk /Library/CalendarServer
and then I ran the setup script:
./run -s
I think this problem got fixed yesterday. Do an svn update to get the latest 'run' script, blow away the ../libevent-1.4.4-stable/ and ../ memcached-1.2.5/ directories, and run ./run -s Before you run the server, you'll need to... cp conf/caldavd-test.plist conf/caldavd-dev.plist ...and edit conf/caldvd-dev.plist to let the server know where to find the memcached you just built: <key>memcached</key> <string>../memcached-1.2.5/_root/bin/memcached</string> ~morgen
Thanks, Morgen. I followed your advice and at first encountered the same problem I'd had earlier. Then I realized that I need to checkout the code to the appropriate directory - I was checking it out (with the command listed below) from within /Library/CalendarServer/ so that when I ran the run script it was creating a new CalendarServer directory within my existing CalendarServer directory. It seemed very confused by this. I think this is what happens when one tries to fix problems without either enough sleep or caffeine. It turns out, though, that only I need the caffeine - my iMac prefers to avoid it. On another note - I see that now the .plist file has a few more properties since last I updated. Is there any documentation (even rather informal documentation) that explains the usage of the various properties/keys? After succesfully running the ./run -s script, I copied caldavd-test.plist to caldavd-dev.plist and then modified caldavd-dev.plist to look to my conf/accounts.xml file (instead of conf/accounts-test.xml or whatever the default was in that field) that I'd used in the earlier incarnation of my calendar server, but the server does not recognize my primary account. Has the format of the xml authentication changed at all? Or does it appear I may have missed something in the .plist file? Thanks for any pointers - Conrad --- Conrad Wasmer On Tue, July 15, 2008 10:03 am, Morgen Sagen wrote:
On Jul
15, 2008, at 7:38 AM, Conrad Wasmer wrote:
Because the text of the question posed yesterday may have been
malformed as a result of my email setup, I am re-posting it to this group. Please forgive me if you have already seen this, but I am still hoping for some suggestions.
Thanks all -
Conrad
--
On Mon, July 14, 2008 11:10 am, Conrad Wasmer wrote:
Howdy, all -
I already had CalendarServer running on my iMac G5 (PPC), but I have had a few issues and decided that it would be best to get the latest and greatest of the stable source code, so I checked out the latest source code this weekend and, when I tried to run the setup script, I found that I keep getting an error telling me that "libevent is required and must be installed." This error seems to occur during system checks that are done while building memchached.
As it turns out, libevent is installed and I even went so far as to delete the libevent folder that was installed and let the setup script download and install it again. The setup script did, indeed, download and install it again, but the error again occurred during what appears to be the memchached build.
Am I updating my installation in the wrong way? Are there other steps I should take before I checkout via svn? All I had done was
use the following:
svn checkout
http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk
/Library/CalendarServer
and then I ran the setup script:
./run -s
I think this problem got fixed yesterday. Do an svn update to get the latest 'run' script, blow away the ../libevent-1.4.4-stable/ and ../ memcached-1.2.5/ directories, and run ./run -s
Before you run the server, you'll need to...
cp conf/caldavd-test.plist conf/caldavd-dev.plist
...and edit conf/caldvd-dev.plist to let the server know where to find the memcached you just built:
<key>memcached</key>
<string>../memcached-1.2.5/_root/bin/memcached</string>
~morgen_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
participants (3)
-
Conrad Wasmer
-
Cyrus Daboo
-
Morgen Sagen