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?
I'd love to have syslog facility available on Windows, but Microsoft
has their own ideas about system logging. I remember there was an
extension that provide you access to windows event manager API.
···
On 8/25/06, hauserns@gmail.com <hauserns@gmail.com> wrote:
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?
--
Kent
---