I’m having trouble installing lighttpd for local development on Mac OS X
Here are the commands I’ve run:
sudo port install fcgi
sudo port install lighttpd
Here’s a snippet from running “port installed” with several ports
removed for brevity:
fcgi @2.4.0_1 (active)
lighttpd @1.4.9_0 (active)
rb-rubygems @0.8.11_0 (active)
readline @5.0.005_0+darwin_8 (active)
ruby @1.8.4_1 (active)
So, it looks like everything is in place for installing the fcgi gem.
But when I run
“sudo gem install fcgi” I get the following error:
ruby extconf.rb install fcgi\nchecking for fcgiapp.h… yes
checking for FCGX_Accept() in -lfcgi… no
I’ve tried a few different things I’ve run across online, including
sudo gem install fcgi – --with-fcgi-include=/opt/local/include
But no luck. Same error message each time. I’ve also tried installing
from source without using ports and installing the rb-fcgi port.
Everything gives me the same error.
Anyone have any thoughts on what else I might try?