Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > gem install thrift fails on windows

Reply
Thread Tools

gem install thrift fails on windows

 
 
Saravanan Krishnan
Guest
Posts: n/a
 
      03-23-2011
Hi Folks,

I'm trying to install thrift gem in my local windows machine. It throws
the following error. I'm using ruby 1.8.7 version. Can any one help me?

>gem install thrift

Building native extensions. This could take a while...
ERROR: Error installing thrift:
ERROR: Failed to build gem native extension.

C:/Ruby187/bin/ruby.exe extconf.rb
checking for strlcpy() in string.h... no
creating Makefile

make
'make' is not recognized as an internal or external command,
operable program or batch file.


Gem files will remain installed in
C:/Ruby187/lib/ruby/gems/1.8/gems/thrift-0.6.0 for inspection.
Results logged to
C:/Ruby187/lib/ruby/gems/1.8/gems/thrift-0.6.0/ext/gem_make.out

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Quintus
Guest
Posts: n/a
 
      03-23-2011
Am 23.03.2011 11:28, schrieb Saravanan Krishnan:
> Hi Folks,
>
> I'm trying to install thrift gem in my local windows machine. It throws
> the following error. I'm using ruby 1.8.7 version. Can any one help me?
>
>> gem install thrift

> Building native extensions. This could take a while...
> ERROR: Error installing thrift:
> ERROR: Failed to build gem native extension.
>
> C:/Ruby187/bin/ruby.exe extconf.rb
> checking for strlcpy() in string.h... no
> creating Makefile
>
> make
> 'make' is not recognized as an internal or external command,
> operable program or batch file.
>
>
> Gem files will remain installed in
> C:/Ruby187/lib/ruby/gems/1.8/gems/thrift-0.6.0 for inspection.
> Results logged to
> C:/Ruby187/lib/ruby/gems/1.8/gems/thrift-0.6.0/ext/gem_make.out
>


You're missing a C build environment. Install the RubyInstaller's
devkit: http://rubyinstaller.org/add-ons/devkit/

Vale,
Marvin

 
Reply With Quote
 
 
 
 
Saravanan Krishnan
Guest
Posts: n/a
 
      03-24-2011
Thanks mate... You made my day...

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change protocol to TJSONProtocol. in apache thrift java ankit patel Java 1 02-28-2014 10:31 PM
A question about thrift performance. Vincent Python 0 01-06-2013 02:16 AM
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
gem query finds gem, yet require fails Michael Glaesemann Ruby 5 11-26-2006 02:23 AM
[GEM PATCH] allow gem to install bin file to different location Ara.T.Howard Ruby 0 10-26-2005 11:52 PM



Advertisments