Should the syslog extenstion be automatically installed if you use the
one-click installer? Whenever I require ‘syslog’ i get the following
error:
C:\ruby\src\ruby-1.8.4_2006-04-14\ext\syslog>ruby test.rb
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require': no such file to load -- syslog (LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from test.rb:13
I tried to run
C:\ruby\src\ruby-1.8.4_2006-04-14\ext\syslog>ruby extconf.rb
but got
checking for syslog.h… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
How should I go about installing the syslog extension?