From: Victor Reyes Date: 2008-03-31T22:29:07+09:00 Subject: Re: Problems installing RRDtool gem under Windows ------=_Part_1416_32073947.1206970144417 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I assumed VC6 = Visual C Version 6. If this is correct, then that does it for me, as I can't get a copy of that software. Is this the case even if a run the binary? Thanks Victor On 3/31/08, Jano Svitok wrote: > > On Mon, Mar 31, 2008 at 2:58 PM, Victor Reyes > wrote: > > 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 > > > > > > 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 > > > You need to have VC6 installed and its environment setup before > running gem install (call vsvars32.bat). > After you do that, make sure nmake.exe in in your %PATH%. > > The binary distribution doesn't contain the ruby extension, you are > looking for binary GEM, but rubyforge has only source one. > > > Jano > > ------=_Part_1416_32073947.1206970144417--