Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install Toto gem under Windows XP Professional SP3 #48

Open
lyslim opened this issue Jul 22, 2010 · 5 comments
Open

Failed to install Toto gem under Windows XP Professional SP3 #48

lyslim opened this issue Jul 22, 2010 · 5 comments

Comments

@lyslim
Copy link

lyslim commented Jul 22, 2010

Could some one help?

I tried the installation in both remote and local way, it kept throwing out error as below:

D:\02_RoR\ruby>gem install toto -v 0.4.6
Building native extensions. This could take a while...
ERROR: Error installing toto:
ERROR: Failed to build gem native extension.

D:/02_RoR/ruby/bin/ruby.exe extconf.rb
checking for random()... no
checking for srandom()... no
checking for rand()... no
checking for srand()... no
creating Makefile

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

Gem files will remain installed in D:/02_RoR/ruby/lib/ruby/gems/1.8/gems/rdiscou
nt-1.6.5 for inspection.
Results logged to D:/02_RoR/ruby/lib/ruby/gems/1.8/gems/rdiscount-1.6.5/ext/gem_
make.out

Is it an incompatible issue? Is there any windows-compatible verson of Toto?

Thanks a lot!

@JayYang
Copy link

JayYang commented Jul 23, 2010

I remember I install toto failed too. But do you ready need it? You can install Git, and then use command: git clone git://github.com/cloudhead/dorothy.git mytoto

if you want to deploy toto blog system, see my blog: http://superman-jayyang.heroku.com/2010/07/02/how-to-deploy-ruby-blog-system/

@lyslim
Copy link
Author

lyslim commented Jul 23, 2010

I did directly try dorothy and deploy that to heroku... but I guess without toto gem, we could NOT fully utilize the feature of toto?

@MarkBorcherding
Copy link

I'm having the same problem when installing on Windows 7. While I'm still able to push via git to Heroku, it means I can't run the blog locally to work on tweaks or use the convenience rake tasks to generate new messages.

@drmohundro
Copy link

To get around this one Windows, just pull down the Development Kit from http://rubyinstaller.org/downloads/ (I used DevKit-3.4.5-20100819-1535-sfx.exe). You can extract that to your ruby install directory. Once you've done that, you'll need to add the mingw bin directory to your path.

The problem is that the "building native extensions" step can't find the build tools, but they live under the DevKit.

@ixti
Copy link

ixti commented Sep 5, 2011

@cloudhead, I believe this issue can be safely closed - drmohundro gave excelent solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants