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