*** extconf.rb failed ***

  1. rtm332

    When I try to follow the instruction to install, I got this error when I got to this step:

    D:\Programs\Vim\vimfiles\ruby\command-t>ruby extconf.rb
    checking for ruby.h... no
    couldn't find ruby.h (required)
    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of
    necessary libraries and/or headers.  Check the mkmf.log file for more
    details.  You may need configuration options.
    
    Provided configuration options:
            --with-opt-dir
            --without-opt-dir
            --with-opt-include
            --without-opt-include=${opt-dir}/include
            --with-opt-lib
            --without-opt-lib=${opt-dir}/lib
            --with-make-prog
            --without-make-prog
            --srcdir=.
            --curdir
            --ruby=D:/Programs/Ruby187/bin/ruby
    • OS: win7
    • Vim: 7.2, 7.3
    • Ruby 1.87, 1.92
    • Dev kit: 3.45, 4.51

    Any body can help?

    thanks!

  2. anonymous

    Same difficulty here. Strange as ruby.h is in C:\Ruby187\lib\ruby\1.8\i386-mingw32 (for Ruby 1.87, of course).

  3. anonymous

    See thist post, it helped me. Make sure you have all the steps done correctly plus you run the devkitvars.bat script.

  4. anonymous

    It happened to me, the way I solved was: once you open the command prompt and navigate to your command-t installation folder, type in the path execute the devkitvars.bat from your ruby installation folder.

  5. anonymous

    Solved by copying content of C:\Ruby187\mingw into C:\Ruby187\

Reply

This topic is now closed.