Just a note to myself and anyone who has problems using easy_install: This link helped me a lot.
$ easy_install -U setuptools
I wanted to install Pylons system wide, instead of the virtual Python it installs by default. easy_install provided an easy alternative, but it gave tons of errors for every dependency that there where egg files missing.
The above command updates setuptools, the package which contains easy_install, it’s like the selfupdate feature of Macports. After the update all files worked again for me!
When I succeed in getting Lighttpd to behave I’ll post a tutorial on how to set up system wide Pylons with multiple applications in Lighttpd on a mac. This article does not include the installation of Pyolons nor Lighttpd, and sets the webroot to the project file, but except for that it was very helpful to me.
So far I got Lighttpd to serve a html file with the scgi module disabled. I got Pylons to show the default project page when using the built in development server. But with scgi enabled I get(static content):
Too many redirects occurred trying to open “http://127.0.0.1/”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.
2009-06-25 16:43:40 : Protocol error ‘invalid netstring length’
2009-06-25 16:43:40,553 ERROR [scgi-wsgi] Protocol error ‘invalid netstring length’