Project

General

Profile

Bug #2589

mkmf.rb bug on "make distclean" if build fails

Added by djberg96 (Daniel Berger) over 9 years ago. Updated about 8 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
ruby -v:
1.8.6-p383
[ruby-core:27517]

Description

=begin
Hi,

If the build fails, and I try to run "gmake distclean" I see this error:

gcc -g -O2 -DRUBY_EXPORT -L. main.o libruby-static.a -lrt -ldl -lcrypt -lm -o miniruby
rbconfig.rb updated
compiling Win32API
compiling bigdecimal
gmake: *** [all] Error 1
bash-3.00$ gmake distclean
cleaning Win32API
cleaning bigdecimal
cleaning curses
/export/home/dberger/src/ruby/ruby-1.8.6-p383/lib/mkmf.rb:1077:in configuration': undefined methodquote' for nil:NilClass (NoMethodError)
from /export/home/dberger/src/ruby/ruby-1.8.6-p383/lib/mkmf.rb:1151:in dummy_makefile'
from ./ext/extmk.rb:186:in
extmake'
from ./ext/extmk.rb:185:in open'
from ./ext/extmk.rb:185:in
extmake'
from ./ext/extmk.rb:441
from ./ext/extmk.rb:440:in `each'
from ./ext/extmk.rb:440
gmake: [distclean-ext] Error 1 (ignored)
=end

History

#1

Updated by nobu (Nobuyoshi Nakada) over 9 years ago

=begin
Hi,

At Sun, 10 Jan 2010 23:57:45 +0900,
Daniel Berger wrote in [ruby-core:27517]:

If the build fails, and I try to run "gmake distclean" I see this error:

gcc -g -O2 -DRUBY_EXPORT -L. main.o libruby-static.a -lrt -ldl -lcrypt -lm -o miniruby
rbconfig.rb updated
compiling Win32API
compiling bigdecimal
gmake: *** [all] Error 1
bash-3.00$ gmake distclean
cleaning Win32API
cleaning bigdecimal
cleaning curses
/export/home/dberger/src/ruby/ruby-1.8.6-p383/lib/mkmf.rb:1077:in configuration': undefined methodquote' for nil:NilClass (NoMethodError)

Can't you show the Makefile in ext/curses?

--
Nobu Nakada

=end

#2

Updated by djberg96 (Daniel Berger) over 9 years ago

=begin
It's empty. 0 byte file.
=end

Also available in: Atom PDF