V
Victor Reyes
[Note: parts of this message were removed to make it a legal post.]
Team,
I am trying to install RRDtool under MS Windows/XP.
I tried to install the gem and got the following errors:
C:\$user\downloads\Ruby and Friends>ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
C:\$user\downloads\Ruby and Friends>gem install RubyRRDtool-0.6.0.gem
Building native extensions. This could take a while...
ERROR: While executing gem ... (RuntimeError)
Error instaling RubyRRDtool-0.6.0.gem:
ERROR: Failed to build gem native extension.
ruby extconf.rb install RubyRRDtool-0.6.0.gem
checking for main() in z.lib... no
checking for main() in png.lib... no
checking for main() in freetype.lib... no
checking for main() in art_lgpl_2.lib... no
checking for rrd_first() in rrd.lib... no
creating Makefile
nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0
/gem_make.out
I then tried the binary distribution (
rrdtool-1.2.27-w32.zip
<http://www.gknw.net/mirror/rrdtool/rrdtool-1.2.27-w32.zip>
06-Mar-2008 02:24 1.0M ZIP compressed archive) for Windows.
But when I try the sample pgm I get the error listed below.
C:\$user\downloads\Ruby and Friends\rrdtool-1.2.27-w32\rrdtool-1.2.27-w32>ls
-al
total 4146
drwx------ 2 ReyesV Domain+Users 512 Mar 31 08:49 .
drwx------ 3 ReyesV Domain+Users 512 Mar 28 15:39 ..
-rwx------ 1 ReyesV Domain+Users 113828 Feb 17 10:26 CHANGES
-rwx------ 1 ReyesV Domain+Users 15405 Feb 17 10:26 COPYING
-rwx------ 1 ReyesV Domain+Users 3693 Feb 17 10:26 COPYRIGHT
-rwx------ 1 ReyesV Domain+Users 60444 Feb 17 10:26
DejaVuSansMono-Roman.ttf
-rwx------ 1 ReyesV Domain+Users 2031 Feb 17 10:26 NEWS
-rwx------ 1 ReyesV Domain+Users 2545 Feb 17 10:26 README
-rwx------ 1 ReyesV Domain+Users 183 Mar 6 01:23 readme.txt
-rwx------ 1 ReyesV Domain+Users 960512 Mar 6 01:23 rrdcgi.exe
-rwx------ 1 ReyesV Domain+Users 959488 Mar 6 01:23 rrdtool.exe
-rwx------ 1 ReyesV Domain+Users 1090 Mar 28 15:59 rrdtoolTest00.rb
C:\$user\downloads\Ruby and Friends\rrdtool-1.2.27-w32\rrdtool-1.2.27-w32>ruby
rrdtoolTest00.rb
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- RRD (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from rrdtoolTest00.rb:1
Suggestions will be greatly appreciated.
Thank you
Victor
Team,
I am trying to install RRDtool under MS Windows/XP.
I tried to install the gem and got the following errors:
C:\$user\downloads\Ruby and Friends>ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
C:\$user\downloads\Ruby and Friends>gem install RubyRRDtool-0.6.0.gem
Building native extensions. This could take a while...
ERROR: While executing gem ... (RuntimeError)
Error instaling RubyRRDtool-0.6.0.gem:
ERROR: Failed to build gem native extension.
ruby extconf.rb install RubyRRDtool-0.6.0.gem
checking for main() in z.lib... no
checking for main() in png.lib... no
checking for main() in freetype.lib... no
checking for main() in art_lgpl_2.lib... no
checking for rrd_first() in rrd.lib... no
creating Makefile
nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0
/gem_make.out
I then tried the binary distribution (
rrdtool-1.2.27-w32.zip
<http://www.gknw.net/mirror/rrdtool/rrdtool-1.2.27-w32.zip>
06-Mar-2008 02:24 1.0M ZIP compressed archive) for Windows.
But when I try the sample pgm I get the error listed below.
C:\$user\downloads\Ruby and Friends\rrdtool-1.2.27-w32\rrdtool-1.2.27-w32>ls
-al
total 4146
drwx------ 2 ReyesV Domain+Users 512 Mar 31 08:49 .
drwx------ 3 ReyesV Domain+Users 512 Mar 28 15:39 ..
-rwx------ 1 ReyesV Domain+Users 113828 Feb 17 10:26 CHANGES
-rwx------ 1 ReyesV Domain+Users 15405 Feb 17 10:26 COPYING
-rwx------ 1 ReyesV Domain+Users 3693 Feb 17 10:26 COPYRIGHT
-rwx------ 1 ReyesV Domain+Users 60444 Feb 17 10:26
DejaVuSansMono-Roman.ttf
-rwx------ 1 ReyesV Domain+Users 2031 Feb 17 10:26 NEWS
-rwx------ 1 ReyesV Domain+Users 2545 Feb 17 10:26 README
-rwx------ 1 ReyesV Domain+Users 183 Mar 6 01:23 readme.txt
-rwx------ 1 ReyesV Domain+Users 960512 Mar 6 01:23 rrdcgi.exe
-rwx------ 1 ReyesV Domain+Users 959488 Mar 6 01:23 rrdtool.exe
-rwx------ 1 ReyesV Domain+Users 1090 Mar 28 15:59 rrdtoolTest00.rb
C:\$user\downloads\Ruby and Friends\rrdtool-1.2.27-w32\rrdtool-1.2.27-w32>ruby
rrdtoolTest00.rb
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- RRD (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from rrdtoolTest00.rb:1
Suggestions will be greatly appreciated.
Thank you
Victor