cant find header file ruby.h

  • Thread starter pradeep koppaka
  • Start date
P

pradeep koppaka

Robert Klemme wrote in post #986156:
What does "ls -ld /usr/lib64/ruby" tell you? Does the user have
permissions to access the directory?

Cheers

robert


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

ideamax@usqlh07d2:~> cd /usr/lib64/ruby
ideamax@usqlh07d2:/usr/lib64/ruby>


=E2=97=84
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

-- =

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

Robert Klemme

Robert Klemme wrote in post #986156:
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

--=20
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/
 
P

pradeep koppaka

Robert Klemme wrote in post #986186:
Looks OK.


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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top