Error In Installating Ruby Enterprise Edition in RHEL5.4

Im trying to install ruby from ruby enterprise edition of (ruby-
enterprise-1.8.7-2010.02) package. when i tried to install in rhel 5.4
machine which is of 64 bit im getting errors as make: ***
[libtcmalloc_minimal_la-tcmalloc.lo] Error 1 … Anybody has faced same
problem while installing ruby… :frowning:

checking for backtrace in -lunwind… no
checking printf format code for printing a size_t and ssize_t… l
checking for __builtin_stack_pointer()… no
checking for __thread… yes
checking if nanosleep requires any libraries… no
checking whether uname is declared… yes
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… no
checking whether pthreads work with -Kthread… no
checking whether pthreads work with -kthread… no
checking for the pthreads library -llthread… no
checking whether pthreads work with -pthread… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads… no
checking whether to check for GCC pthread/shared inconsistencies…
yes
checking whether -pthread is sufficient with -shared… yes
checking whether the compiler implements namespaces… yes
checking what namespace STL code is in…
checking for program_invocation_name… yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/google/tcmalloc.h
config.status: creating src/config.h
config.status: executing depfiles commands
make libtcmalloc_minimal.la
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I./src -I./src -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -
Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -
DNO_FRAME_POINTER -g -O2 -c -o libtcmalloc_minimal_la-tcmalloc.lo
test -f 'src/tcmalloc.cc' || echo './'src/tcmalloc.cc
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -
pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-
compare -DNO_FRAME_POINTER -g -O2 -c src/tcmalloc.cc -fPIC -DPIC -
o .libs/libtcmalloc_minimal_la-tcmalloc.o
In file included from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/algorithm:65,
from src/tcmalloc.cc:112:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/stl_algobase.h:64:28: error: bits/c++config.h: No such file or
directory
In file included from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/bits/stl_algobase.h:69,
from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/algorithm:65,
from src/tcmalloc.cc:112:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
iosfwd:45:29: error: bits/c++locale.h: No such file or directory
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
iosfwd:46:25: error: bits/c++io.h: No such file or directory
In file included from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/memory:54,
from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/bits/stl_tempbuf.h:64,
from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/bits/stl_algo.h:66,
from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/algorithm:68,
from src/tcmalloc.cc:112:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/allocator.h:52:31: error: bits/c++allocator.h: No such file or
directory
In file included from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/bits/basic_string.h:45,
from /usr/lib/gcc/x86_64-redhat-linux/
4.1.2/…/…/…/…/include/c++/4.1.2/string:52,
from src/base/commandlineflags.h:52,
from src/tcmalloc.cc:114:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/atomicity.h:38:30: error: bits/atomic_word.h: No such file or
directory
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/allocator.h:82: error: expected template-name before < token
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/allocator.h:82: error: expected `{’ before < token
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/allocator.h:82: error: expected unqualified-id before < token
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/stl_algo.h: In function void
std::random_shuffle(_RandomAccessIterator, _RandomAccessIterator):
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/stl_algo.h:1906: error: rand is not a member of std
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/atomicity.h: At global scope:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/atomicity.h:44: error: expected constructor, destructor, or type
conversion before __exchange_and_add
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/atomicity.h:48: error: expected , or … before * token
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h:150: error: _Atomic_word does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h: In member function void
std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_dispose(const
_Alloc&):
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h:232: error: __exchange_and_add is not a member
of __gnu_cxx
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h: In member function typename
_Alloc::rebind<_CharT>::other::size_type std::basic_string<_CharT,
_Traits, _Alloc>::_M_check(typename
_Alloc::rebind<_CharT>::other::size_type, const char*) const:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h:306: error: there are no arguments to __N that
depend on a template parameter, so a declaration of __N must be
available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h:306: error: (if you use -fpermissive, G++ will
accept your code, but allowing the use of an undeclared name is
deprecated)
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h: In member function void
std::basic_string<_CharT, _Traits, _Alloc>::_M_check_length(typename
_Alloc::rebind<_CharT>::other::size_type, typename
_Alloc::rebind<_CharT>::other::size_type, const char*) const:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h:314: error: there are no arguments to __N that
depend on a template parameter, so a declaration of __N must be
available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h: In member function typename
_Alloc::rebind<_CharT>::other::const_reference
std::basic_string<_CharT, _Traits, _Alloc>::at(typename
_Alloc::rebind<_CharT>::other::size_type) const:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h:726: error: there are no arguments to __N that
depend on a template parameter, so a declaration of __N must be
available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h: In member function typename
_Alloc::rebind<_CharT>::other::reference std::basic_string<_CharT,
_Traits, _Alloc>::at(typename
_Alloc::rebind<_CharT>::other::size_type):
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.h:745: error: there are no arguments to __N that
depend on a template parameter, so a declaration of __N must be
available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.tcc: In static member function static _CharT*
std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator,
_InIterator, const _Alloc&, std::forward_iterator_tag):
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.tcc:145: error: there are no arguments to __N that
depend on a template parameter, so a declaration of __N must be
available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.tcc: In static member function static typename
std::basic_string<_CharT, _Traits, _Alloc>::_Rep*
std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(typename
_Alloc::rebind<_CharT>::other::size_type, typename
_Alloc::rebind<_CharT>::other::size_type, const _Alloc&):
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/
bits/basic_string.tcc:533: error: there are no arguments to __N that
depend on a template parameter, so a declaration of __N must be
available
make: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 1

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs