# Error In Installating Ruby Enterprise Edition in RHEL5.4

**URL:** <https://www.ruby-forum.com/t/error-in-installating-ruby-enterprise-edition-in-rhel5-4/202454>\
**Category:** Rails\
**Created:** [January 29, 2011, 1:56pm UTC](https://www.ruby-forum.com/t/error-in-installating-ruby-enterprise-edition-in-rhel5-4/202454 "2011-01-29T13:56:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [January 29, 2011, 1:56pm UTC](https://www.ruby-forum.com/t/error-in-installating-ruby-enterprise-edition-in-rhel5-4/202454/1 "2011-01-29T13:56:06Z")

</div>

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… ☹ …

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
