mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Improve mkmf error message
* lib/mkmf.rb: Improve the error message when ruby.h is missing, to suggest installing separate packages. [Feature #14656] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e6d7389c2b
commit
f961bad191
1 changed files with 6 additions and 1 deletions
|
@ -241,7 +241,12 @@ module MakeMakefile
|
||||||
$topdir ||= RbConfig::CONFIG["topdir"]
|
$topdir ||= RbConfig::CONFIG["topdir"]
|
||||||
$arch_hdrdir = "$(extout)/include/$(arch)"
|
$arch_hdrdir = "$(extout)/include/$(arch)"
|
||||||
else
|
else
|
||||||
abort "mkmf.rb can't find header files for ruby at #{$hdrdir}/ruby.h"
|
abort <<MESSAGE
|
||||||
|
mkmf.rb can't find header files for ruby at #{$hdrdir}/ruby.h
|
||||||
|
|
||||||
|
You might have to install separate package for the ruby development
|
||||||
|
environment, ruby-dev or ruby-devel for example.
|
||||||
|
MESSAGE
|
||||||
end
|
end
|
||||||
|
|
||||||
CONFTEST = "conftest".freeze
|
CONFTEST = "conftest".freeze
|
||||||
|
|
Loading…
Reference in a new issue