Wayne L.
2013-Feb-17 23:12 UTC
Error on installation of Ruby On Rails on QNAP TS809U-RP [Linux]
I am not sure where I should even begin troubleshooting this. I know a little bit about Linux and am comfortable editing files and running commands however definitely not a Linux guru. I have ipkg already installed on the QNAP. I know absolutely nothing about ruby on rails. Thanks for any help. For those that are not familiar with a QNAP, ipkg is the same as apt-get or yum in some Linux distros. (I have also attempted to build ruby on rails from source and I receive the same error when attempting to install rails. Can someone help? I run ipkg install ruby successful then ipkg install rubygems successful then (as I have read) ipkg install ruby -force_reinstall successful then gem install rails (I receive the following error) [~] # gem install rails Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. /opt/bin/ruby extconf.rb creating Makefile make /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc -I. -I/opt/include/ruby-1.9.1/i686-linux -I/opt/include/ruby-1.9.1/ruby/backward -I/opt/include/ruby-1.9.1 -I. -DJSON_GENERATOR -O2 -O2 -I/home/slug/optware/ts509/staging/opt/include -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall -Wno-parentheses -fPIC -O3 -Wall -O0 -ggdb -o generator.o -c generator.c make: /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc: Command not found make: *** [generator.o] Error 127 Gem files will remain installed in /opt/lib/ruby/gems/1.9.1/gems/json-1.7.7 for inspection. Results logged to /opt/lib/ruby/gems/1.9.1/gems/json-1.7.7/ext/json/ext/generator/gem_make.out -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/SoUku-4leWIJ. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2013-Feb-18 09:38 UTC
Re: Error on installation of Ruby On Rails on QNAP TS809U-RP [Linux]
On 17 February 2013 23:12, Wayne L. <spectacularstuff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am not sure where I should even begin troubleshooting this. I know a > little bit about Linux and am comfortable editing files and running commands > however definitely not a Linux guru. I have ipkg already installed on the > QNAP. I know absolutely nothing about ruby on rails. Thanks for any help. > For those that are not familiar with a QNAP, ipkg is the same as apt-get or > yum in some Linux distros. (I have also attempted to build ruby on rails > from source and I receive the same error when attempting to install rails. > Can someone help? > > I run > ipkg install ruby > successful > then ipkg install rubygems > successful > then (as I have read) ipkg install ruby -force_reinstall > successful > then gem install rails (I receive the following error) > > [~] # gem install rails > Building native extensions. This could take a while... > ERROR: Error installing rails: > ERROR: Failed to build gem native extension. > > /opt/bin/ruby extconf.rb > creating Makefile > > make > /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc > -I. -I/opt/include/ruby-1.9.1/i686-linux > -I/opt/include/ruby-1.9.1/ruby/backward -I/opt/include/ruby-1.9.1 -I. > -DJSON_GENERATOR -O2 -O2 -I/home/slug/optware/ts509/staging/opt/include > -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall -Wno-parentheses -fPIC -O3 -Wall > -O0 -ggdb -o generator.o -c generator.c > make: > /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc: > Command not found > make: *** [generator.o] Error 127You need to install the development tools. On Ubuntu this would be the package build-essential, plus some others. I don''t know whether it will help but googling for install ruby rails qnap found this [1] and others If possible I suggest that you use rvm to install RoR. Colin [1] http://forum.qnap.com/viewtopic.php?p=248556 -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.