I'm attempting to install Radiant onto a Godaddy Shared Linux account
(Java server with SSH access) but keep banging my head against a wall.
Do note that I'm not a ruby person, so I'm simply following
instructions and what google has spat out.

Apparently when installing gem compiles the scripts to native code
using make, gcc, and several other commands. I've had to manually
download and add make and gcc to my PATH.


System specs
-OS: CentOS release 5.2 (Final)
-Linux Kernel version: 2.6.18-164.15.1.el5PAE
-Ruby version: ruby 1.8.4 (2005-12-24) [i686-linux]
-Gem version: 1.3.7
-Make version: GNU Make 3.81 (3.81-3.el5.i386)
-Gcc version: 4.1.2-48.el5.i386

Here's what happens

[[na...@p3nlhjava006 html]$ gem install radiant
Building native extensions.  This could take a while...
ERROR:  Error installing radiant:
        ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install radiant
creating Makefile

make
make: Warning: File `Makefile' has modification time 0.037 s in the
future
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_attributes.c
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_inline.c
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_scan.c
gcc -shared  -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -o
redcloth_scan.so redcloth_attributes.o redcloth_inline.o
redcloth_scan.o  -ldl -lcrypt -lm   -lc
make: warning:  Clock skew detected.  Your build may be incomplete.

make install
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_attributes.c
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_inline.c
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_scan.c
gcc -shared  -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -o
redcloth_scan.so redcloth_attributes.o redcloth_inline.o
redcloth_scan.o  -ldl -lcrypt -lm   -lc
/usr/bin/install -c -m 0755 redcloth_scan.so /home/content/i/h/a/
[name]/.gems/gems/RedCloth-4.2.3/lib
/usr/bin/install: cannot stat `redcloth_scan.so': No such file or
directory
make: *** [/home/content/i/h/a/[name]/.gems/gems/RedCloth-4.2.3/lib/
redcloth_scan.so] Error 1


Gem files will remain installed in /home/content/i/h/a/[name]/.gems/
gems/RedCloth-4.2.3 for inspection.
Results logged to /home/content/i/h/a/[name]/.gems/gems/RedCloth-4.2.3/
ext/redcloth_scan/gem_make.out

---------------------

Interestingly enough, running gem install RedCloth produces the exact
same output:

[[na...@p3nlhjava006 radiant.wreckcreations.biz]$ gem install RedCloth
Building native extensions.  This could take a while...
ERROR:  Error installing RedCloth:
        ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install RedCloth
creating Makefile

make
make: Warning: File `Makefile' has modification time 0.069 s in the
future
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_attributes.c
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_inline.c
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_scan.c
gcc -shared  -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -o
redcloth_scan.so redcloth_attributes.o redcloth_inline.o
redcloth_scan.o  -ldl -lcrypt -lm   -lc
make: warning:  Clock skew detected.  Your build may be incomplete.

make install
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_attributes.c
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_inline.c
gcc -fPIC -g -O2 -O2   -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/
local/lib/ruby/1.8/i686-linux -I.   -c redcloth_scan.c
gcc -shared  -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -o
redcloth_scan.so redcloth_attributes.o redcloth_inline.o
redcloth_scan.o  -ldl -lcrypt -lm   -lc
/usr/bin/install -c -m 0755 redcloth_scan.so /home/content/i/h/a/
ihammerhands/.gems/gems/RedCloth-4.2.3/lib
/usr/bin/install: cannot stat `redcloth_scan.so': No such file or
directory
make: *** [/home/content/i/h/a/ihammerhands/.gems/gems/RedCloth-4.2.3/
lib/redcloth_scan.so] Error 1


Gem files will remain installed in /home/content/i/h/a/
ihammerhands/.gems/gems/RedCloth-4.2.3 for inspection.
Results logged to /home/content/i/h/a/ihammerhands/.gems/gems/
RedCloth-4.2.3/ext/redcloth_scan/gem_make.out

---------

I'm at a loss here, and I'm not familiar enough with Ruby to
troubleshoot it myself. So I hope that somebody here can help.

Before you say it, switching hosts or plans isn't possible. Getting a
separate plan at another friendly host and redirecting there isn't an
option either. This is only for one website, so it shouldn't be all
that hard.

Thanks

Reply via email to