{"id":962,"date":"2022-08-30T15:10:05","date_gmt":"2022-08-30T15:10:05","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/ruby-enterprise-edition-ree-linux-server-os-compatibility-closed-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:10:05","modified_gmt":"2022-08-30T15:10:05","slug":"ruby-enterprise-edition-ree-linux-server-os-compatibility-closed-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/ruby-enterprise-edition-ree-linux-server-os-compatibility-closed-collection-of-common-programming-errors\/","title":{"rendered":"Ruby Enterprise Edition (REE) Linux Server OS Compatibility? [closed]-Collection of common programming errors"},"content":{"rendered":"<p>I tried to install REE on ubuntu (12.04.2) 64 bit and centos (6.3) 64 bit, but i end up with some weird error&#8217;s.<\/p>\n<p>So i would like to know ree os compatibility, according ree website they gave installation procedures for Ubuntu 10.04, Debian 6 and remaining operating systems, but i tried all the installation stuffs resulted in vain.<\/p>\n<p><strong>Has anyone installed REE on ubuntu (12.04.2 LTS) 64 bit successfully? And i would like to know the work around or steps<\/strong><\/p>\n<p><strong>update:<\/strong><\/p>\n<p>REE installation error on ubuntu 12.04.2 LTS<\/p>\n<pre><code>Press Enter to continue, or Ctrl-C to abort.\n\nChecking for required software...\n\n * Non-broken C compiler... found at \/usr\/bin\/gcc\n * Non-broken C++ compiler... found at \/usr\/bin\/g++\n * The 'make' tool... found at \/usr\/bin\/make\n * The 'patch' tool... found at \/usr\/bin\/patch\n * Zlib development headers... found\n * OpenSSL development headers... found\n * GNU Readline development headers... found\n--------------------------------------------\nTarget directory\n\nWhere would you like to install Ruby Enterprise Edition to?\n(All Ruby Enterprise Edition files will be put inside that directory.)\n\n[\/opt\/ruby-enterprise-1.8.7-2012.02] :\n--------------------------------------------\nCompiling and optimizing the memory allocator for Ruby Enterprise Edition\nIn the mean time, feel free to grab a cup of coffee.\n\n.\/configure --prefix=\/opt\/ruby-enterprise-1.8.7-2012.02 --disable-dependency-tra                                                                                        cking\nchecking build system type... x86_64-unknown-linux-gnu\nchecking host system type... x86_64-unknown-linux-gnu\nchecking for a BSD-compatible install... \/usr\/bin\/install -c\nchecking whether build environment is sane... yes\nchecking for gawk... gawk\nchecking whether make sets $(MAKE)... yes\nchecking for gcc... \/usr\/bin\/gcc\nchecking whether the C compiler works... yes\nchecking for C compiler default output file name... a.out\nchecking for suffix of executables...\nchecking whether we are cross compiling... no\nchecking for suffix of object files... o\nchecking whether we are using the GNU C compiler... yes\nchecking whether \/usr\/bin\/gcc accepts -g... yes\nchecking for \/usr\/bin\/gcc option to accept ISO C89... none needed\nchecking for style of include used by make... GNU\nchecking dependency style of \/usr\/bin\/gcc... none\nchecking how to run the C preprocessor... \/usr\/bin\/gcc -E\nchecking whether we are using the GNU C++ compiler... yes\nchecking whether \/usr\/bin\/g++ accepts -g... yes\nchecking dependency style of \/usr\/bin\/g++... none\nchecking whether \/usr\/bin\/gcc and cc understand -c and -o together... yes\nchecking for objcopy... objcopy\nchecking for a sed that does not truncate output... \/bin\/sed\nchecking for grep that handles long lines and -e... \/bin\/grep\nchecking for egrep... \/bin\/grep -E\nchecking for fgrep... \/bin\/grep -F\nchecking for ld used by \/usr\/bin\/gcc... \/usr\/bin\/ld\nchecking if the linker (\/usr\/bin\/ld) is GNU ld... yes\nchecking for BSD- or MS-compatible name lister (nm)... \/usr\/bin\/nm -B\nchecking the name lister (\/usr\/bin\/nm -B) interface... BSD nm\nchecking whether ln -s works... yes\nchecking the maximum length of command line arguments... 1572864\nchecking whether the shell understands some XSI constructs... yes\nchecking whether the shell understands \"+=\"... yes\nchecking for \/usr\/bin\/ld option to reload object files... -r\nchecking for objdump... objdump\nchecking how to recognize dependent libraries... pass_all\nchecking for ar... ar\nchecking for strip... strip\nchecking for ranlib... ranlib\nchecking command to parse \/usr\/bin\/nm -B output from \/usr\/bin\/gcc object... ok\nchecking for ANSI C header files... yes\nchecking for sys\/types.h... yes\nchecking for sys\/stat.h... yes\nchecking for stdlib.h... yes\nchecking for string.h... yes\nchecking for memory.h... yes\nchecking for strings.h... yes\nchecking for inttypes.h... yes\nchecking for stdint.h... yes\nchecking for unistd.h... yes\nchecking for dlfcn.h... yes\nchecking whether we are using the GNU C++ compiler... (cached) yes\nchecking whether \/usr\/bin\/g++ accepts -g... (cached) yes\nchecking dependency style of \/usr\/bin\/g++... (cached) none\nchecking how to run the C++ preprocessor... \/usr\/bin\/g++ -E\nchecking for objdir... .libs\nchecking if \/usr\/bin\/gcc supports -fno-rtti -fno-exceptions... no\nchecking for \/usr\/bin\/gcc option to produce PIC... -fPIC -DPIC\nchecking if \/usr\/bin\/gcc PIC flag -fPIC -DPIC works... yes\nchecking if \/usr\/bin\/gcc static flag -static works... yes\nchecking if \/usr\/bin\/gcc supports -c -o file.o... yes\nchecking if \/usr\/bin\/gcc supports -c -o file.o... (cached) yes\nchecking whether the \/usr\/bin\/gcc linker (\/usr\/bin\/ld -m elf_x86_64) supports sh                                                                                        ared libraries... yes\nchecking whether -lc should be explicitly linked in... no\nchecking dynamic linker characteristics... GNU\/Linux ld.so\nchecking how to hardcode library paths into programs... immediate\nchecking whether stripping libraries is possible... yes\nchecking if libtool supports shared libraries... yes\nchecking whether to build shared libraries... yes\nchecking whether to build static libraries... yes\nchecking for ld used by \/usr\/bin\/g++... \/usr\/bin\/ld -m elf_x86_64\nchecking if the linker (\/usr\/bin\/ld -m elf_x86_64) is GNU ld... yes\nchecking whether the \/usr\/bin\/g++ linker (\/usr\/bin\/ld -m elf_x86_64) supports sh                                                                                        ared libraries... yes\nchecking for \/usr\/bin\/g++ option to produce PIC... -fPIC -DPIC\nchecking if \/usr\/bin\/g++ PIC flag -fPIC -DPIC works... yes\nchecking if \/usr\/bin\/g++ static flag -static works... yes\nchecking if \/usr\/bin\/g++ supports -c -o file.o... yes\nchecking if \/usr\/bin\/g++ supports -c -o file.o... (cached) yes\nchecking whether the \/usr\/bin\/g++ linker (\/usr\/bin\/ld -m elf_x86_64) supports sh                                                                                        ared libraries... yes\nchecking dynamic linker characteristics... GNU\/Linux ld.so\nchecking how to hardcode library paths into programs... immediate\nchecking for inline... inline\nchecking for __attribute__... yes\nchecking for ANSI C header files... (cached) yes\nchecking for __int64... no\nchecking for struct mallinfo... yes\nchecking for Elf32_Versym... yes\nchecking for sbrk... yes\nchecking for geteuid... yes\nchecking features.h usability... yes\nchecking features.h presence... yes\nchecking for features.h... yes\nchecking malloc.h usability... yes\nchecking malloc.h presence... yes\nchecking for malloc.h... yes\nchecking glob.h usability... yes\nchecking glob.h presence... yes\nchecking for glob.h... yes\nchecking execinfo.h usability... yes\nchecking execinfo.h presence... yes\nchecking for execinfo.h... yes\nchecking libunwind.h usability... no\nchecking libunwind.h presence... no\nchecking for libunwind.h... no\nchecking unwind.h usability... yes\nchecking unwind.h presence... yes\nchecking for unwind.h... yes\nchecking sched.h usability... yes\nchecking sched.h presence... yes\nchecking for sched.h... yes\nchecking conflict-signal.h usability... no\nchecking conflict-signal.h presence... no\nchecking for conflict-signal.h... no\nchecking sys\/prctl.h usability... yes\nchecking sys\/prctl.h presence... yes\nchecking for sys\/prctl.h... yes\nchecking linux\/ptrace.h usability... yes\nchecking linux\/ptrace.h presence... yes\nchecking for linux\/ptrace.h... yes\nchecking sys\/syscall.h usability... yes\nchecking sys\/syscall.h presence... yes\nchecking for sys\/syscall.h... yes\nchecking sys\/socket.h usability... yes\nchecking sys\/socket.h presence... yes\nchecking for sys\/socket.h... yes\nchecking sys\/wait.h usability... yes\nchecking sys\/wait.h presence... yes\nchecking for sys\/wait.h... yes\nchecking poll.h usability... yes\nchecking poll.h presence... yes\nchecking for poll.h... yes\nchecking fcntl.h usability... yes\nchecking fcntl.h presence... yes\nchecking for fcntl.h... yes\nchecking grp.h usability... yes\nchecking grp.h presence... yes\nchecking for grp.h... yes\nchecking pwd.h usability... yes\nchecking pwd.h presence... yes\nchecking for pwd.h... yes\nchecking sys\/resource.h usability... yes\nchecking sys\/resource.h presence... yes\nchecking for sys\/resource.h... yes\nchecking valgrind.h usability... no\nchecking valgrind.h presence... no\nchecking for valgrind.h... no\nchecking whether cfree is declared... yes\nchecking whether posix_memalign is declared... yes\nchecking whether memalign is declared... yes\nchecking whether valloc is declared... yes\nchecking whether pvalloc is declared... yes\nchecking for stdlib.h... (cached) yes\nchecking for unistd.h... (cached) yes\nchecking for sys\/param.h... yes\nchecking for getpagesize... yes\nchecking for working mmap... yes\nchecking if int32_t is the same type as intptr_t... no\nchecking ucontext.h usability... yes\nchecking ucontext.h presence... yes\nchecking for ucontext.h... yes\nchecking sys\/ucontext.h usability... yes\nchecking sys\/ucontext.h presence... yes\nchecking for sys\/ucontext.h... yes\nchecking cygwin\/signal.h usability... no\nchecking cygwin\/signal.h presence... no\nchecking for cygwin\/signal.h... no\nchecking how to access the program counter from a struct ucontext... uc_mcontext.gregs[REG_RIP]\nchecking for backtrace in -lunwind... no\nchecking printf format code for printing a size_t and ssize_t... l\nchecking for __builtin_stack_pointer()... no\nchecking for __environ... yes\nchecking for __thread... yes\nchecking if nanosleep requires any libraries... no\nchecking whether uname is declared... yes\nchecking for the pthreads library -lpthreads... no\nchecking whether pthreads work without any flags... no\nchecking whether pthreads work with -Kthread... no\nchecking whether pthreads work with -kthread... no\nchecking for the pthreads library -llthread... no\nchecking whether pthreads work with -pthread... yes\nchecking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE\nchecking if more special flags are required for pthreads... no\nchecking whether to check for GCC pthread\/shared inconsistencies... yes\nchecking whether -pthread is sufficient with -shared... yes\nchecking whether what we have so far is sufficient with -nostdlib... no\nchecking whether -lpthread saves the day... yes\nchecking whether the compiler implements namespaces... yes\nchecking what namespace STL code is in... std\nchecking for program_invocation_name... yes\nconfigure: creating .\/config.status\nconfig.status: creating Makefile\nconfig.status: creating src\/google\/tcmalloc.h\nconfig.status: creating src\/config.h\nconfig.status: executing depfiles commands\nconfig.status: executing libtool commands\nmake libtcmalloc_minimal.la\n\/bin\/bash .\/libtool --tag=CXX --mode=compile \/usr\/bin\/g++ -DHAVE_CONFIG_H -I. -I. -I.\/src  -I.\/src   -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc  -DNO_FRAME_POINTER -g -O2 -c -o libtcmalloc_minimal_la-tcmalloc.lo `test -f 'src\/tcmalloc.cc' || echo '.\/'`src\/tcmalloc.cc\nlibtool: compile:  \/usr\/bin\/g++ -DHAVE_CONFIG_H -I. -I. -I.\/src -I.\/src -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc -DNO_FRAME_POINTER -g -O2 -c src\/tcmalloc.cc  -fPIC -DPIC -o .libs\/libtcmalloc_minimal_la-tcmalloc.o\nsrc\/tcmalloc.cc:1672:54: error: conflicting declaration \u00e2void* (* __memalign_hook)(size_t, size_t, const void*)\u00e2\n\/usr\/include\/malloc.h:183:39: error: \u00e2__memalign_hook\u00e2 has a previous declaration as \u00e2void* (* volatile __memalign_hook)(size_t, size_t, const void*)\u00e2\nsrc\/tcmalloc.cc: In function \u00e2void PrintStats(int)\u00e2:\nsrc\/tcmalloc.cc:523:47: warning: ignoring return value of \u00e2ssize_t write(int, const void*, size_t)\u00e2, declared with attribute warn_unused_result [-Wunused-result]\nsrc\/tcmalloc.cc: In function \u00e2void {anonymous}::ReportLargeAlloc(Length, void*)\u00e2:\nsrc\/tcmalloc.cc:1010:47: warning: ignoring return value of \u00e2ssize_t write(int, const void*, size_t)\u00e2, declared with attribute warn_unused_result [-Wunused-result]\nmake: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 1\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:07:39. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I tried to install REE on ubuntu (12.04.2) 64 bit and centos (6.3) 64 bit, but i end up with some weird error&#8217;s. So i would like to know ree os compatibility, according ree website they gave installation procedures for Ubuntu 10.04, Debian 6 and remaining operating systems, but i tried all the installation stuffs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-962","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=962"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/962\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}