Ruby on Rails Developers Forum

For all Ruby on Rails (RoR) Expert Developers Programmers Coders
Ruby on Rails PHP .Net Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

Could not create Makefile due to some reason

 
Post new topic   Reply to topic    Ruby on Rails Developers Forum Index -> Setting up ruby and rails
View previous topic :: View next topic  
Author Message
umamahesh_nyros



Joined: 17 Jul 2007
Posts: 283
Location: Hyderabad

PostPosted: Mon Oct 19, 2009 3:41 pm    Post subject: Could not create Makefile due to some reason Reply with quote

i am getting below error when i try to install rails in my system.

D:\>gem install rails --include-dependencies
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install rails --include-dependencies
checking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
*** 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
--srcdir=.
--curdir
--ruby=c:/ruby/bin/ruby
--with-fcgi-dir
--without-fcgi-dir
--with-fcgi-include
--without-fcgi-include=${fcgi-dir}/include
--with-fcgi-lib
--without-fcgi-lib=${fcgi-dir}/lib


Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/fcgi-0.8.7 for
inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/fcgi-0.8.7/ext/fcgi/gem_make.ou


i have searched in my forums. but no one has given the solution related to rails installation. can any one provide me the solution for my problem..
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jhonynil



Joined: 13 Nov 2007
Posts: 108

PostPosted: Mon Oct 19, 2009 3:43 pm    Post subject: Reply with quote

Hello Uma,

just update the local systems and then install rails. run the below command to update gems.

D:\>gem update --system
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Ruby on Rails Developers Forum Index -> Setting up ruby and rails
Page 1 of 1

 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts PROBLEMS CREATING AN SSH TUNNEL
0 clem_c_rock 6106 Tue May 07, 2013 6:18 pm
clem_c_rock View latest post
No new posts Module Control
0 mpiaser 613 Sun May 05, 2013 4:12 am
mpiaser View latest post
No new posts Difficulty in learning ruby and rails
8 moneysharma 5800 Sat Apr 20, 2013 6:37 am
lucyming View latest post
No new posts Implementing SEO in rails
1 Rohini Pamarty 3031 Sat Apr 20, 2013 6:36 am
lucyming View latest post
No new posts RVM installation on ubuntu 10.04 version.
2 konduri subrahmanyam 3925 Sat Apr 20, 2013 6:35 am
lucyming View latest post
No new posts How to connect to remote databases in Ruby ?
1 ranjit_nyros 2690 Tue Apr 16, 2013 7:50 am
liveproject101 View latest post
No new posts Install Safari & IE in Ubuntu
2 Anu Krishna 3463 Thu Apr 04, 2013 6:52 am
chrisluger2012 View latest post
No new posts Saving the files in a zip folder using "rubyzip"
0 ranjit_nyros 5083 Thu Mar 14, 2013 5:23 pm
ranjit_nyros View latest post
No new posts [SOLVED]: A must after the installation of phpmyadmin
0 ranjit_nyros 1358 Thu Mar 14, 2013 4:52 pm
ranjit_nyros View latest post
No new posts Cropping Images with Carrierwave + rmagick
0 ranjit_nyros 1395 Thu Mar 14, 2013 4:37 pm
ranjit_nyros View latest post




Hire an expert Ruby on Rails developer / coder / programmer or development team from India now!!

Other Forums : PHP   ::   .Net   |   Free unlimited HTML CSS templates download

Nyros Technologies   |   Kakinada City Portal   |   Developers Blog   |   About Ruby on Rails Experts   |   More