Install gcc, it's obvious by just looking at which point mkmf cancels...
Probably you will stumble over more missing development packages after
that, but let's make one step after the other.

Prasanna Moharana <lipp.prasa...@gmail.com> schrieb am Mo., 14.09.2015,
12:03:

>
> <https://lh3.googleusercontent.com/-k2GxhXioxdY/VfaavXNSucI/AAAAAAAAARc/0ECId5N62jU/s1600/Screenshot%2Bfrom%2B2015-09-14%2B12%253A55%253A28.png>
> Hello every body am very new to this group.
> i have some issue regarding Rails installation.Though i have installed
> Ruby,bundler etc i was trying to install rails using gem install rails
> command but there are some error like
>
> ERROR:  Error installing rails:
>     ERROR: Failed to build gem native extension.
>
>     /home/prasanna/.rvm/rubies/ruby-2.2.3/bin/ruby -r
> ./siteconf20150914-3856-mtv6bq.rb extconf.rb
> checking if the C compiler accepts ... *** 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
>     --without-make-prog
>     --srcdir=.
>     --curdir
>     --ruby=/home/prasanna/.rvm/rubies/ruby-2.2.3/bin/$(RUBY_BASE_NAME)
>     --help
>     --clean
>
>
> so can any body please help me to tackle this..
>
> PS.Tried -sudo apt-get install mkmf ,
> gem install mkmf
> build essential command etc..so please help me to get rid of these..
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/000e21cf-421f-488a-93b6-0d0da43addb4%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/000e21cf-421f-488a-93b6-0d0da43addb4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BbCVss0rxwsmtn69wYvX__zSRwZacRtZHiVNZzNmxvw_M0qBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to