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
on 2013-02-18 08:52
on 2013-02-18 10:40
On 17 February 2013 23:12, Wayne L. <spectacularstuff@gmail.com> wrote: > ipkg install ruby > ERROR: Failed to build gem native extension. > -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 You 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
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.