Robert Klemme wrote in post #986186:
> On Tue, Mar 8, 2011 at 12:30 PM, pradeep koppaka <bulls66 / gmail.com>
> wrote:
>>>>
>>>> Attachments:
>>>> http://www.ruby-forum.com/attachment/6007/rubyerror1.JPG
>>>
>>> What does "ls -ld /usr/lib64/ruby" tell you? Does the user have
>>> permissions to access the directory?
>
>> Hi this is how I am getting i am new to suse linux plz assist me
>> deamax@usqlh05d3:~> ls -ld /usr/lib64/ruby
>> drwxr-xr-x 6 root root 4096 2011-03-07 08:09 /usr/lib64/ruby
>
> Looks OK.
>
>> ideamax@usqlh07d2:~> cd /usr/lib64/ruby
>> ideamax@usqlh07d2:/usr/lib64/ruby>
>>
>> ideamax@usqlh07d2:/usr/lib64/ruby> ls -l
>> total 12
>> drwxr-xr-x 29 root root 4096 2011-02-28 22:21 1.8
>> drwxr-xr-x 3 root root 4096 2011-02-28 22:21 site_ruby
>> drwxr-xr-x 3 root root 4096 2011-02-28 22:21 vendor_ruby
>
> Now I'm confused.  In your screenshot there is a ruby.h in that
> directory.  Now there isn't.  I'd say you found the source of the
> error.  You should probably check your ruby installation.  How did you
> install ruby?
>
> Cheers
>
> robert

hi these are the steps followed from
http://www.rubyenterpriseedition.com/documentation.html

1)
tar xzvf ruby-enterprise-x.x.x.tar.gz

2)
PREFIX=/opt/ruby-enterprise

3)
cd ruby-enterprise-x.x.x/source/distro/google-perftools-*
./configure --prefix=$PREFIX --disable-dependency-tracking
make libtcmalloc_minimal.la

4)
sudo mkdir -p $PREFIX/lib
sudo rm -f $PREFIX/lib/libtcmalloc_minimal*.so*
sudo cp -Rpf .libs/libtcmalloc_minimal*.so* $PREFIX/lib/

cd ../..

5)./configure --prefix=$PREFIX --enable-mbari-api CFLAGS='-g -O2'

6)Open Makefile. Search for a line which starts with:
append the string $(PRELIBS) to the part after the = sign. for me it
came like this

LIBS = $(PRELIBS) -lrt -lcrypt -lm  $(EXTLIBS)
 upto here worked fine but while running
the script like this
make PRELIBS="-Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -ltcmalloc_minimal"
i am facing error...I am attaching the same screen shot.kindly resolve
it.would be a help for me.

Attachments:
http://www.ruby-forum.com/attachment/6014/error.JPG


-- 
Posted via http://www.ruby-forum.com/.