Skip to content

Instantly share code, notes, and snippets.

@yuki24
Created February 7, 2013 13:32
Show Gist options
  • Save yuki24/4730935 to your computer and use it in GitHub Desktop.
Save yuki24/4730935 to your computer and use it in GitHub Desktop.
ruby 2.0.0dev fails to compile an extension.
nothing.o: nothing.c
require 'mkmf'
create_makefile("nothing")
void
Init_nothing(coid)
{
}
@yuki24
Copy link
Author

yuki24 commented Feb 7, 2013

Result:

$ ruby extconf.rb 
creating Makefile
$ make
make: *** No rule to make target `/home/yuki/.rvm/rubies/ruby-head/include//ruby.h', needed by `nothing.o'.  Stop.

@yuki24
Copy link
Author

yuki24 commented Feb 7, 2013

Ruby version:

$ ruby -v
ruby 2.0.0dev (2013-02-07) [x86_64-linux]

Latest commit:

commit c206b802db10cb4dc55fa460e959bb15c04f2272
Author: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date:   Thu Feb 7 07:21:33 2013 +0000

    Makefile.sub: rubyarchdir in config.status

    * win32/Makefile.sub (config.status): now rbconfig.rb needs
      rubyarchdir.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment