From: Park Heesob Date: 2002-09-13T13:02:17+09:00 Subject: Re: RubyInline and CrossPlatform concerns (was: Windows XP : RubyInline 1.0.4 Released!) Hi, "Shashank Date" wrote in message news:c%cg9.135362$27.2204597@twister.rdc-kc.rr.com... > Park, > > I tried your new version and here are the results: > > -------------------------------------------------------------------------- -- > ----- > C:\>ruby example.rb > RubyInline 1.0.5 > NOTE: creating C:\Documents and Settings\default/.ruby_inline for RubyInline > Building C:\Documents and > Settings\default/.ruby_inline/Mod_MyTest_fastfact.so > creating Makefile > c:/ruby/lib/ruby/1.7/mkmf.rb:588: warning: global variable `$INSTALLFILES' > not initialized > c:/ruby/lib/ruby/1.7/mkmf.rb:592: warning: global variable `$INSTALLFILES' > not initialized > > Microsoft (R) Program Maintenance Utility Version 7.00.9466 > Copyright (C) Microsoft Corporation. All rights reserved. > > Type = Inline, Iter = 1000000, time = 8.50200000 sec, 0.00000850 sec / iter > > C:\> cd ruby > > C:\ruby>findstr /S INSTALLFILES *.rb > lib\ruby\1.7\mkmf.rb: install_files(mfile, $INSTALLFILES, INSTALL_DIRS, > srcprefix) > lib\ruby\1.7\mkmf.rb: install_files(mfile, $INSTALLFILES, SITEINSTALL_DIRS, > srcprefix) > rubysrc\ext\dl\extconf.rb:$INSTALLFILES = [ > rubysrc\lib\mkmf.rb: install_files(mfile, $INSTALLFILES, INSTALL_DIRS, > srcprefix) > rubysrc\lib\mkmf.rb: install_files(mfile, $INSTALLFILES, SITEINSTALL_DIRS, > srcprefix) > > C:\ruby> > -------------------------------------------------------------------------- -- > ---- > > Notice how $INSTALLFILES is not initialized in any files coming with the > standard install ... the initialization is found only in extconf.rb which > comes only with the source code. > > What do you think? > Thanks, > > -- Shanko There is no warning on ruby 1.6.6 (2001-12-26) [i686-linux] ruby 1.6.7 (2002-03-01) [i686-linux] In order to prevent warning insert $INSTALLFILES = '' before create_makefile(mod_name) Park Heesob