From: WATANABE Hirofumi Date: 2003-07-09T18:32:01+09:00 Subject: Re: Building Ruby 1.8 preview 3 Hi, "Gavin Sinclair" writes: > I'm trying to build 1.8p3 on Cygwin, and failing for a rather > unsatisfactory reason. It creates miniruby OK, but fails on the next step > with the following error (hand typed): > > Creating library file: libcygwin-ruby18.dll.a > ./ext/extmk.rb:28:in `require': No such file to load -- mkmf (LoadError) > from ./ext/extmk.rb:28 > make: *** [all] Error 1 > > The output of (./miniruby -e 'puts $:') is > /home/gavin/build/ruby-1.8.0/lib/ruby/... > > where ... = 1.8, site_ruby, and the normal subdirs. > > ./lib/ruby doesn't exist; all the libs are in ./lib. > > Am I doing something wrong? Try this or check the latest CVS. Index: mkconfig.rb =================================================================== RCS file: /src/ruby/mkconfig.rb,v retrieving revision 1.30 diff -u -1 -r1.30 mkconfig.rb --- mkconfig.rb 9 Apr 2003 15:45:28 -0000 1.30 +++ mkconfig.rb 9 Jul 2003 09:26:12 -0000 @@ -50,3 +50,3 @@ elsif /^(?:ac_given_)?srcdir=(.*)/ =~ line - srcdir = $1 + srcdir = $1.strip elsif /^ac_given_INSTALL=(.*)/ =~ line