From: Florian Frank Date: 2007-07-30T18:39:23+09:00 Subject: Re: Installing json-1.1.1 gem on windows xp Sumanth Ambati wrote: > I was trying to install the json extension gem... but says 'Error > failed to create local extension/nmake ....' > When I went through the conf file it showed it requires both mkmf (meant > for extensions) and rbconfig... > Now the question where do I get these files and how do I install them on > my win-xp os... > Thanks in advance... This sounds as if you try to compile the gem on your Windows box. This is a PITA on this operating system (it comes with no vendor compiler toolchain by default) and/or with Ruby (only the One Click Installer?) It might not be possible at all. It's perhaps better, if you use the Windows binary (mswin32 platform) gem I provide on rubyforge in this case. You can also try to install the Visual C++ development environment and Microsoft's Platform SDK and use the provided Rakefile to create this gem yourself, if you still have problems. But this is not for the faint of heart: the installation of these two archives takes forever, you have to configure all the correct environment variables, and you also have to edit Ruby's config.h if you want to use a current version of Visual C++. If all things are configured correctly and in place, it works quite well, though. The whole process still feels rather hackish to me -- it pisses me off every time I have to walk through it. -- Florian Frank