error installing caldecott

此生再无相见时 提交于 2019-12-24 07:03:58

问题


recently i made web application and want to atatch my database with it ..though i followed steps of doing it but still i am getting error ..i dont know where's problem i did in steps .. please let me know where i am wrong

please help me where i am wrong or what i skipped .. thankyou..


回答1:


I had problems install caldecott , i got the

ERROR:  Error installing caldecott:
        ERROR: Failed to build gem native extension.

        "C:/Program Files/ruby-1.9.2/bin/ruby.exe" extconf.rb
*** extconf.rb failed ***

error :

i found this resource : http://www.clausconrad.com/blog/installing-caldecott-on-windows

which was helpfull but my problem was i had multiple ruby installations on my system !

so make sure you are using the right ruby installation and delete the others if needed : i had :

C:/Program Files/ruby-1.9.2/bin/ruby.exe

and

C:\Ruby193\bin\ruby.exe

i deleted the first one and everything went fine , be sure to install the devkit like the link says , and everything should be allright.




回答2:


There's an issue installing eventmachine on Windows. Try this instead:

gem install eventmachine --pre
gem install caldecott



回答3:


To install Caldecott requires Ruby 1.9.2. Check version by

ruby -v

if not 1.9 update the version and re try to install




回答4:


first make sure that you installed C compiler in your local computer...
if you are using Linux you can run the following command:

sudo apt-get install g++

if you are in windows you will have find a C compiler from the net.
After installing this C compiler, you can now run

 sudo gem install caldecott

If this is not working, try

ruby -v

to see if the version is 1.9.3 or above....

then repeat

hope that helps



来源:https://stackoverflow.com/questions/10740541/error-installing-caldecott

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!