The problem: mod_wsgi built fine but:
$ apachectl configtest
httpd: Syntax error on line 118 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_wsgi.so into server: dlopen(/usr/libexec/apache2/mod_wsgi.so, 10
): Symbol not found: _PyExc_RuntimeError\n Referenced from: /usr/libexec/apache2/mod_wsgi.so\n Expected in: dynamic lookup\n
After following along with InstallationOnMacOSX I latterly found this comment on his own post by Tom Giddens to get mod_wsgi to work with apache. I actually went with this method to achieve the same goal. Thanks all.
Wednesday, December 9, 2009
Monday, August 10, 2009
Some python notes on Leopard 10.5
Thanks again to Ian Bicking:
lxml: an underappreciated web scraping library
$ STATIC_DEPS=true easy_install 'lxml>=2.2alpha1'
Truly most appreciated.
Sunday, April 19, 2009
A Life Stream
Version II of my life stream effort is acting now as my home page. The first version was using FriendFeed but in this version my server side code is directly requesting the feeds from google, twitter and delicious.
The earlier version used a jsonrpc library but I'm now using web.py to provide the services.
The earlier version used a jsonrpc library but I'm now using web.py to provide the services.
Thursday, April 2, 2009
Compiling mod_python on OSX
Source distribution of mod_python (3.3.1) didn't compile on my iMac, but that from the repository did:
Note that I have built both apache2 and python2.5 from source on my system.
svn co https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk mod_python_src
cd mod_python_src
./configure --with-apxs=/usr/local/apache2/bin/apxs --with-python=/usr/local/Python/Python-2.5.2/bin/python2.5
make
sudo make install
Note that I have built both apache2 and python2.5 from source on my system.
Monday, October 6, 2008
apache, php, postgresql on osx
Monday, September 15, 2008
Events app
A little app using google data calendar api: http://transitiontownthames.org.nz/events.html. At the moment anyone with a google account can add events and therefore I had to disable the 'edit entry' and 'delete entry' functionality. Need to get my head around the authentication particulary access control. I spent around 30 hours coding the thing (including learning from scratch the necessary apis).
Friday, September 5, 2008
Compiling Python2.5 on Leopard
I had some bother with compiling python2.5 on Leopard. But with the help of Andreas Jung I finally got it to work as I'd like. For what it's worth I've created a shell script for the process. It also includes installing easy_install, lxml and mx packages. (There was a problem with mxExperimental which is fixed with the development snapshot - thanks Marc-Andre.)
Subscribe to:
Posts (Atom)