Created
September 12, 2011 12:59
-
-
Save martinklepsch/1211189 to your computer and use it in GitHub Desktop.
tvm fails to install rvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2011-09-12 14:52:46] ./installer -a /home/martin/.rvm/rubies/ree-1.8.7-2011.03 --dont-install-useful-gems | |
[33m[44m[1mWelcome to the Ruby Enterprise Edition installer[0m[37m[40m | |
This installer will help you install Ruby Enterprise Edition 1.8.7-2011.03. | |
Don't worry, none of your system files will be touched if you don't want them | |
to, so there is no risk that things will screw up. | |
You can expect this from the installation process: | |
[1m1.[0m[37m[40m Ruby Enterprise Edition will be compiled and optimized for speed for this | |
system. | |
[1m2.[0m[37m[40m Ruby on Rails will be installed for Ruby Enterprise Edition. | |
[1m3.[0m[37m[40m You will learn how to tell Phusion Passenger to use Ruby Enterprise | |
Edition instead of regular Ruby. | |
[1mPress Enter to continue, or Ctrl-C to abort.[0m[37m[40m | |
[33m[44m[1mChecking for required software...[0m[37m[40m | |
* C compiler... [1m[32mfound at /usr/bin/gcc[0m[37m[40m | |
* C++ compiler... [1m[32mfound at /usr/bin/g++[0m[37m[40m | |
* The 'make' tool... [1m[32mfound at /usr/bin/make[0m[37m[40m | |
* The 'patch' tool... [1m[32mfound at /usr/bin/patch[0m[37m[40m | |
* Zlib development headers... [1m[32mfound[0m[37m[40m | |
* OpenSSL development headers... [1m[32mfound[0m[37m[40m | |
* GNU Readline development headers... [1m[32mfound[0m[37m[40m | |
-------------------------------------------- | |
[33m[44m[1mTarget directory[0m[37m[40m | |
Auto-installing to: /home/martin/.rvm/rubies/ree-1.8.7-2011.03 | |
-------------------------------------------- | |
[33m[44m[1mCompiling and optimizing the memory allocator for Ruby Enterprise Edition[0m[37m[40m | |
In the mean time, feel free to grab a cup of coffee. | |
./configure --prefix=/home/martin/.rvm/rubies/ree-1.8.7-2011.03 --disable-dependency-tracking | |
checking build system type... x86_64-unknown-linux-gnu | |
checking host system type... x86_64-unknown-linux-gnu | |
checking for a BSD-compatible install... /bin/install -c | |
checking whether build environment is sane... yes | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking for style of include used by make... GNU | |
checking dependency style of gcc... none | |
checking how to run the C preprocessor... gcc -E | |
checking for g++... g++ | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether g++ accepts -g... yes | |
checking dependency style of g++... none | |
checking whether gcc and cc understand -c and -o together... yes | |
checking for objcopy... objcopy | |
checking for a sed that does not truncate output... /bin/sed | |
checking for grep that handles long lines and -e... /bin/grep | |
checking for egrep... /bin/grep -E | |
checking for fgrep... /bin/grep -F | |
checking for ld used by gcc... /usr/bin/ld | |
checking if the linker (/usr/bin/ld) is GNU ld... yes | |
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B | |
checking the name lister (/usr/bin/nm -B) interface... BSD nm | |
checking whether ln -s works... yes | |
checking the maximum length of command line arguments... 1572864 | |
checking whether the shell understands some XSI constructs... yes | |
checking whether the shell understands "+="... yes | |
checking for /usr/bin/ld option to reload object files... -r | |
checking for objdump... objdump | |
checking how to recognize dependent libraries... pass_all | |
checking for ar... ar | |
checking for strip... strip | |
checking for ranlib... ranlib | |
checking command to parse /usr/bin/nm -B output from gcc object... ok | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking for dlfcn.h... yes | |
checking whether we are using the GNU C++ compiler... (cached) yes | |
checking whether g++ accepts -g... (cached) yes | |
checking dependency style of g++... (cached) none | |
checking how to run the C++ preprocessor... g++ -E | |
checking for objdir... .libs | |
checking if gcc supports -fno-rtti -fno-exceptions... no | |
checking for gcc option to produce PIC... -fPIC -DPIC | |
checking if gcc PIC flag -fPIC -DPIC works... yes | |
checking if gcc static flag -static works... yes | |
checking if gcc supports -c -o file.o... yes | |
checking if gcc supports -c -o file.o... (cached) yes | |
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking whether -lc should be explicitly linked in... no | |
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... yes | |
checking whether to build static libraries... yes | |
checking for ld used by g++... /usr/bin/ld -m elf_x86_64 | |
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes | |
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking for g++ option to produce PIC... -fPIC -DPIC | |
checking if g++ PIC flag -fPIC -DPIC works... yes | |
checking if g++ static flag -static works... yes | |
checking if g++ supports -c -o file.o... yes | |
checking if g++ supports -c -o file.o... (cached) yes | |
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking for inline... inline | |
checking for __attribute__... yes | |
checking for ANSI C header files... (cached) yes | |
checking for __int64... no | |
checking for struct mallinfo... yes | |
checking for Elf32_Versym... yes | |
checking for sbrk... yes | |
checking for geteuid... yes | |
checking features.h usability... yes | |
checking features.h presence... yes | |
checking for features.h... yes | |
checking malloc.h usability... yes | |
checking malloc.h presence... yes | |
checking for malloc.h... yes | |
checking glob.h usability... yes | |
checking glob.h presence... yes | |
checking for glob.h... yes | |
checking execinfo.h usability... yes | |
checking execinfo.h presence... yes | |
checking for execinfo.h... yes | |
checking libunwind.h usability... no | |
checking libunwind.h presence... no | |
checking for libunwind.h... no | |
checking unwind.h usability... yes | |
checking unwind.h presence... yes | |
checking for unwind.h... yes | |
checking sched.h usability... yes | |
checking sched.h presence... yes | |
checking for sched.h... yes | |
checking conflict-signal.h usability... no | |
checking conflict-signal.h presence... no | |
checking for conflict-signal.h... no | |
checking sys/prctl.h usability... yes | |
checking sys/prctl.h presence... yes | |
checking for sys/prctl.h... yes | |
checking linux/ptrace.h usability... yes | |
checking linux/ptrace.h presence... yes | |
checking for linux/ptrace.h... yes | |
checking sys/syscall.h usability... yes | |
checking sys/syscall.h presence... yes | |
checking for sys/syscall.h... yes | |
checking sys/socket.h usability... yes | |
checking sys/socket.h presence... yes | |
checking for sys/socket.h... yes | |
checking sys/wait.h usability... yes | |
checking sys/wait.h presence... yes | |
checking for sys/wait.h... yes | |
checking poll.h usability... yes | |
checking poll.h presence... yes | |
checking for poll.h... yes | |
checking fcntl.h usability... yes | |
checking fcntl.h presence... yes | |
checking for fcntl.h... yes | |
checking grp.h usability... yes | |
checking grp.h presence... yes | |
checking for grp.h... yes | |
checking pwd.h usability... yes | |
checking pwd.h presence... yes | |
checking for pwd.h... yes | |
checking sys/resource.h usability... yes | |
checking sys/resource.h presence... yes | |
checking for sys/resource.h... yes | |
checking valgrind.h usability... no | |
checking valgrind.h presence... no | |
checking for valgrind.h... no | |
checking whether cfree is declared... yes | |
checking whether posix_memalign is declared... yes | |
checking whether memalign is declared... yes | |
checking whether valloc is declared... yes | |
checking whether pvalloc is declared... yes | |
checking for stdlib.h... (cached) yes | |
checking for unistd.h... (cached) yes | |
checking for sys/param.h... yes | |
checking for getpagesize... yes | |
checking for working mmap... yes | |
checking if int32_t is the same type as intptr_t... no | |
checking ucontext.h usability... yes | |
checking ucontext.h presence... yes | |
checking for ucontext.h... yes | |
checking sys/ucontext.h usability... yes | |
checking sys/ucontext.h presence... yes | |
checking for sys/ucontext.h... yes | |
checking cygwin/signal.h usability... no | |
checking cygwin/signal.h presence... no | |
checking for cygwin/signal.h... no | |
checking how to access the program counter from a struct ucontext... uc_mcontext.gregs[REG_RIP] | |
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 __environ... yes | |
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 what we have so far is sufficient with -nostdlib... no | |
checking whether -lpthread saves the day... yes | |
checking whether the compiler implements namespaces... yes | |
checking what namespace STL code is in... std | |
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 | |
config.status: executing libtool 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 -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 | |
libtool: compile: 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 | |
src/tcmalloc.cc:1672:54: error: conflicting declaration ‘void* (* __memalign_hook)(size_t, size_t, const void*)’ | |
/usr/include/malloc.h:183:39: error: ‘__memalign_hook’ has a previous declaration as ‘void* (* volatile __memalign_hook)(size_t, size_t, const void*)’ | |
make: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 1 | |
[0m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment