Bug #2589
mkmf.rb bug on "make distclean" if build fails
| Status: | Open | Start date: | 01/10/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| ruby -v: | 1.8.6-p383 |
Description
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 method `quote' 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)
History
Updated by Nobuyoshi Nakada about 2 years ago
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 method `quote' for nil:NilClass (NoMethodError) Can't you show the Makefile in ext/curses? -- Nobu Nakada
Updated by Daniel Berger about 2 years ago
It's empty. 0 byte file.