I followed hivelogic article on how to install Ror and Lighttpd on Mac
OS.
But I’m not sure I got Lighttpd in the right place.
If I do “which lighttpd” and “lighttpd -v” I get answers from the
terminal:
/usr/local/sbin/lighttpd
lighttpd-1.4.11 - a light and fast webserver
But I can’t find a Lighttpd folder. Should there be one?
How can I check so I got RubyGems, PCRE and FastCGI correctly installed?
If I want to try installing again, can I just do that? Will it overwrite
the files I already got installed? Or how do I uninstall?
Pål Bergström wrote:
If I do “which lighttpd” and “lighttpd -v” I get answers from the
terminal:
/usr/local/sbin/lighttpd
lighttpd-1.4.11 - a light and fast webserver
That’s where mine lives, and it works fine.
But I can’t find a Lighttpd folder. Should there be one?
No. You should see its source directory in the terminal application
wherever you built it. Mine’s in /usr/local/src. But you won’t see the
/usr directory in the Finder, because it’s Magically Rendered
Invisible:-)
How can I check so I got RubyGems, PCRE and FastCGI correctly installed?
Are they installed in /opt? If so, you can see that in the Finder. Look
in /opt/local/lib/ruby and the various directories thereof.
PCRE, on my machine, is in /usr/local/lib: ls /usr/local/lib/libpcre*
If I want to try installing again, can I just do that? Will it overwrite
the files I already got installed? Or how do I uninstall?
Yes, re-installing will replace the files that are being re-installed.
–Al Evans
Al Evans wrote:
Pål Bergström wrote:
If I do “which lighttpd” and “lighttpd -v” I get answers from the
terminal:
/usr/local/sbin/lighttpd
lighttpd-1.4.11 - a light and fast webserver
That’s where mine lives, and it works fine.
But I can’t find a Lighttpd folder. Should there be one?
No. You should see its source directory in the terminal application
wherever you built it. Mine’s in /usr/local/src. But you won’t see the
/usr directory in the Finder, because it’s Magically Rendered
Invisible:-)
You mean the directory from which it was built, src as suggested? Sorry
for my lack of knowledge. I know my way around a bit with the terminal
but I’ve never compiled (is that the name?) an app myself.
I got a Applescript making them visible Either that or via the
terminal. But that script is good to have.
How can I check so I got RubyGems, PCRE and FastCGI correctly installed?
Are they installed in /opt? If so, you can see that in the Finder. Look
in /opt/local/lib/ruby and the various directories thereof.
I don’t got an opt directory? Hmm. Are both rubygems and fastcgi
installed with their names, so I can make a find?
PCRE, on my machine, is in /usr/local/lib: ls /usr/local/lib/libpcre*
Got that.
If I want to try installing again, can I just do that? Will it overwrite
the files I already got installed? Or how do I uninstall?
Yes, re-installing will replace the files that are being re-installed.
Ok. Good to know. I might give Lighttpd another chance.
–Al Evans
Pål Bergström wrote:
No. You should see its source directory in the terminal application
wherever you built it. Mine’s in /usr/local/src. But you won’t see the
/usr directory in the Finder, because it’s Magically Rendered
Invisible:-)
You mean the directory from which it was built, src as suggested?
Yes. Unless you deleted it after the build.
How can I check so I got RubyGems, PCRE and FastCGI correctly installed?
Are they installed in /opt? If so, you can see that in the Finder. Look
in /opt/local/lib/ruby and the various directories thereof.
I don’t got an opt directory? Hmm. Are both rubygems and fastcgi
installed with their names, so I can make a find?
A find for -name ‘rubygems.rb’ should get rubygems; -name ‘fcgi.rb’
should find fastcgi.
–Al Evans