Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save znz/14041 to your computer and use it in GitHub Desktop.
Save znz/14041 to your computer and use it in GitHub Desktop.
ruby-enterprise-1.8.6-20080810 installer failed on lenny(testing)
Welcome to the Ruby Enterprise Edition installer
This installer will help you install Ruby Enterprise Edition 1.8.6-20080810.
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:
1. Ruby Enterprise Edition will be compiled and optimized for speed for this
system.
2. Ruby on Rails will be installed for Ruby Enterprise Edition.
3. You will learn how to tell Phusion Passenger to use Ruby Enterprise
Edition instead of regular Ruby.
Press Enter to continue, or Ctrl-C to abort.
Checking for required software...
* GNU C++ compiler... found at /usr/bin/g++
* Zlib development headers... found
* OpenSSL development headers... found
--------------------------------------------
Target directory
Where would you like to install Ruby Enterprise Edition to?
(All Ruby Enterprise Edition files will be put inside that directory.)
[/opt/ruby-enterprise-1.8.6-20080810] : --------------------------------------------
Compiling and optimizing the memory allocator for Ruby Enterprise Edition
In the mean time, feel free to grab a cup of coffee.
It looks like the source is already configured.
Skipping configure script...
make libtcmalloc_minimal.la
/bin/sh ./libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -c -o libtcmalloc_minimal_la-system-alloc.lo `test -f 'src/system-alloc.cc' || echo './'`src/system-alloc.cc
ccache g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -c src/system-alloc.cc -fPIC -DPIC -o .libs/libtcmalloc_minimal_la-system-alloc.o
In file included from /usr/include/c++/4.3/bits/postypes.h:47,
from /usr/include/c++/4.3/bits/char_traits.h:47,
from /usr/include/c++/4.3/string:47,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/cwchar:52:24: error: wchar.h: No such file or directory
In file included from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/string:47,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/cstdio:50:24: error: stdio.h: No such file or directory
In file included from /usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:47,
from /usr/include/c++/4.3/bits/localefwd.h:47,
from /usr/include/c++/4.3/string:50,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/clocale:48:25: error: locale.h: No such file or directory
In file included from /usr/include/c++/4.3/bits/localefwd.h:49,
from /usr/include/c++/4.3/string:50,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/cctype:49:24: error: ctype.h: No such file or directory
In file included from /usr/include/c++/4.3/bits/postypes.h:47,
from /usr/include/c++/4.3/bits/char_traits.h:47,
from /usr/include/c++/4.3/string:47,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/cwchar:72: error: '::mbstate_t' has not been declared
/usr/include/c++/4.3/cwchar:146: error: '::wint_t' has not been declared
/usr/include/c++/4.3/cwchar:148: error: '::btowc' has not been declared
/usr/include/c++/4.3/cwchar:149: error: '::fgetwc' has not been declared
/usr/include/c++/4.3/cwchar:150: error: '::fgetws' has not been declared
/usr/include/c++/4.3/cwchar:151: error: '::fputwc' has not been declared
/usr/include/c++/4.3/cwchar:152: error: '::fputws' has not been declared
/usr/include/c++/4.3/cwchar:153: error: '::fwide' has not been declared
/usr/include/c++/4.3/cwchar:154: error: '::fwprintf' has not been declared
/usr/include/c++/4.3/cwchar:155: error: '::fwscanf' has not been declared
/usr/include/c++/4.3/cwchar:156: error: '::getwc' has not been declared
/usr/include/c++/4.3/cwchar:157: error: '::getwchar' has not been declared
/usr/include/c++/4.3/cwchar:158: error: '::mbrlen' has not been declared
/usr/include/c++/4.3/cwchar:159: error: '::mbrtowc' has not been declared
/usr/include/c++/4.3/cwchar:160: error: '::mbsinit' has not been declared
/usr/include/c++/4.3/cwchar:161: error: '::mbsrtowcs' has not been declared
/usr/include/c++/4.3/cwchar:162: error: '::putwc' has not been declared
/usr/include/c++/4.3/cwchar:163: error: '::putwchar' has not been declared
/usr/include/c++/4.3/cwchar:164: error: '::swprintf' has not been declared
/usr/include/c++/4.3/cwchar:165: error: '::swscanf' has not been declared
/usr/include/c++/4.3/cwchar:166: error: '::ungetwc' has not been declared
/usr/include/c++/4.3/cwchar:167: error: '::vfwprintf' has not been declared
/usr/include/c++/4.3/cwchar:169: error: '::vfwscanf' has not been declared
/usr/include/c++/4.3/cwchar:171: error: '::vswprintf' has not been declared
/usr/include/c++/4.3/cwchar:173: error: '::vswscanf' has not been declared
/usr/include/c++/4.3/cwchar:175: error: '::vwprintf' has not been declared
/usr/include/c++/4.3/cwchar:177: error: '::vwscanf' has not been declared
/usr/include/c++/4.3/cwchar:179: error: '::wcrtomb' has not been declared
/usr/include/c++/4.3/cwchar:180: error: '::wcscat' has not been declared
/usr/include/c++/4.3/cwchar:181: error: '::wcscmp' has not been declared
/usr/include/c++/4.3/cwchar:182: error: '::wcscoll' has not been declared
/usr/include/c++/4.3/cwchar:183: error: '::wcscpy' has not been declared
/usr/include/c++/4.3/cwchar:184: error: '::wcscspn' has not been declared
/usr/include/c++/4.3/cwchar:185: error: '::wcsftime' has not been declared
/usr/include/c++/4.3/cwchar:186: error: '::wcslen' has not been declared
/usr/include/c++/4.3/cwchar:187: error: '::wcsncat' has not been declared
/usr/include/c++/4.3/cwchar:188: error: '::wcsncmp' has not been declared
/usr/include/c++/4.3/cwchar:189: error: '::wcsncpy' has not been declared
/usr/include/c++/4.3/cwchar:190: error: '::wcsrtombs' has not been declared
/usr/include/c++/4.3/cwchar:191: error: '::wcsspn' has not been declared
/usr/include/c++/4.3/cwchar:192: error: '::wcstod' has not been declared
/usr/include/c++/4.3/cwchar:194: error: '::wcstof' has not been declared
/usr/include/c++/4.3/cwchar:196: error: '::wcstok' has not been declared
/usr/include/c++/4.3/cwchar:197: error: '::wcstol' has not been declared
/usr/include/c++/4.3/cwchar:198: error: '::wcstoul' has not been declared
/usr/include/c++/4.3/cwchar:199: error: '::wcsxfrm' has not been declared
/usr/include/c++/4.3/cwchar:200: error: '::wctob' has not been declared
/usr/include/c++/4.3/cwchar:201: error: '::wmemcmp' has not been declared
/usr/include/c++/4.3/cwchar:202: error: '::wmemcpy' has not been declared
/usr/include/c++/4.3/cwchar:203: error: '::wmemmove' has not been declared
/usr/include/c++/4.3/cwchar:204: error: '::wmemset' has not been declared
/usr/include/c++/4.3/cwchar:205: error: '::wprintf' has not been declared
/usr/include/c++/4.3/cwchar:206: error: '::wscanf' has not been declared
/usr/include/c++/4.3/cwchar:208: error: '::wcschr' has not been declared
/usr/include/c++/4.3/cwchar: In function 'wchar_t* std::wcschr(wchar_t*, wchar_t)':
/usr/include/c++/4.3/cwchar:212: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'
/usr/include/c++/4.3/cwchar:212: error: initializing argument 1 of 'wchar_t* std::wcschr(wchar_t*, wchar_t)'
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:214: error: '::wcspbrk' has not been declared
/usr/include/c++/4.3/cwchar: In function 'wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)':
/usr/include/c++/4.3/cwchar:218: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'
/usr/include/c++/4.3/cwchar:218: error: initializing argument 1 of 'wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)'
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:220: error: '::wcsrchr' has not been declared
/usr/include/c++/4.3/cwchar: In function 'wchar_t* std::wcsrchr(wchar_t*, wchar_t)':
/usr/include/c++/4.3/cwchar:224: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'
/usr/include/c++/4.3/cwchar:224: error: initializing argument 1 of 'wchar_t* std::wcsrchr(wchar_t*, wchar_t)'
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:226: error: '::wcsstr' has not been declared
/usr/include/c++/4.3/cwchar: In function 'wchar_t* std::wcsstr(wchar_t*, const wchar_t*)':
/usr/include/c++/4.3/cwchar:230: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'
/usr/include/c++/4.3/cwchar:230: error: initializing argument 1 of 'wchar_t* std::wcsstr(wchar_t*, const wchar_t*)'
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:232: error: '::wmemchr' has not been declared
/usr/include/c++/4.3/cwchar: In function 'wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)':
/usr/include/c++/4.3/cwchar:236: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'
/usr/include/c++/4.3/cwchar:236: error: initializing argument 1 of 'wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)'
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:253: error: '::wcstold' has not been declared
/usr/include/c++/4.3/cwchar:262: error: '::wcstoll' has not been declared
/usr/include/c++/4.3/cwchar:263: error: '::wcstoull' has not been declared
/usr/include/c++/4.3/cwchar:270: error: '__gnu_cxx::wcstold' has not been declared
/usr/include/c++/4.3/cwchar:271: error: '__gnu_cxx::wcstoll' has not been declared
/usr/include/c++/4.3/cwchar:272: error: '__gnu_cxx::wcstoull' has not been declared
In file included from /usr/include/c++/4.3/bits/char_traits.h:47,
from /usr/include/c++/4.3/string:47,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/bits/postypes.h:207: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.3/bits/postypes.h:207: error: template argument 1 is invalid
/usr/include/c++/4.3/bits/postypes.h:207: error: invalid type in declaration before ';' token
/usr/include/c++/4.3/bits/postypes.h:209: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.3/bits/postypes.h:209: error: template argument 1 is invalid
/usr/include/c++/4.3/bits/postypes.h:209: error: invalid type in declaration before ';' token
In file included from /usr/include/c++/4.3/string:47,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/bits/char_traits.h:69: error: 'mbstate_t' in namespace 'std' does not name a type
/usr/include/c++/4.3/bits/char_traits.h:242: error: 'mbstate_t' does not name a type
/usr/include/c++/4.3/bits/char_traits.h:309: error: 'wint_t' does not name a type
/usr/include/c++/4.3/bits/char_traits.h:312: error: 'mbstate_t' does not name a type
/usr/include/c++/4.3/bits/char_traits.h:351: error: expected ',' or '...' before '&' token
/usr/include/c++/4.3/bits/char_traits.h:353: error: 'int_type' does not name a type
/usr/include/c++/4.3/bits/char_traits.h:357: error: expected ',' or '...' before '&' token
/usr/include/c++/4.3/bits/char_traits.h:360: error: 'int_type' does not name a type
/usr/include/c++/4.3/bits/char_traits.h:363: error: 'int_type' does not name a type
/usr/include/c++/4.3/bits/char_traits.h: In static member function 'static int std::char_traits<wchar_t>::compare(const wchar_t*, const wchar_t*, size_t)':
/usr/include/c++/4.3/bits/char_traits.h:328: error: 'wmemcmp' was not declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function 'static size_t std::char_traits<wchar_t>::length(const wchar_t*)':
/usr/include/c++/4.3/bits/char_traits.h:332: error: 'wcslen' was not declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function 'static const wchar_t* std::char_traits<wchar_t>::find(const wchar_t*, size_t, const wchar_t&)':
/usr/include/c++/4.3/bits/char_traits.h:336: error: invalid conversion from 'const wchar_t*' to 'wchar_t*'
/usr/include/c++/4.3/bits/char_traits.h:336: error: initializing argument 1 of 'wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)'
/usr/include/c++/4.3/bits/char_traits.h: In static member function 'static wchar_t* std::char_traits<wchar_t>::move(wchar_t*, const wchar_t*, size_t)':
/usr/include/c++/4.3/bits/char_traits.h:340: error: 'wmemmove' was not declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function 'static wchar_t* std::char_traits<wchar_t>::copy(wchar_t*, const wchar_t*, size_t)':
/usr/include/c++/4.3/bits/char_traits.h:344: error: 'wmemcpy' was not declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function 'static wchar_t* std::char_traits<wchar_t>::assign(wchar_t*, size_t, wchar_t)':
/usr/include/c++/4.3/bits/char_traits.h:348: error: 'wmemset' was not declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function 'static wchar_t std::char_traits<wchar_t>::to_char_type(int)':
/usr/include/c++/4.3/bits/char_traits.h:351: error: '__c' was not declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function 'static bool std::char_traits<wchar_t>::eq_int_type(int)':
/usr/include/c++/4.3/bits/char_traits.h:358: error: '__c1' was not declared in this scope
/usr/include/c++/4.3/bits/char_traits.h:358: error: '__c2' was not declared in this scope
In file included from /usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:47,
from /usr/include/c++/4.3/bits/localefwd.h:47,
from /usr/include/c++/4.3/string:50,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/clocale: At global scope:
/usr/include/c++/4.3/clocale:59: error: '::lconv' has not been declared
/usr/include/c++/4.3/clocale:60: error: '::setlocale' has not been declared
/usr/include/c++/4.3/clocale:61: error: '::localeconv' has not been declared
In file included from /usr/include/c++/4.3/bits/localefwd.h:47,
from /usr/include/c++/4.3/string:50,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:57: error: 'uselocale' was not declared in this scope
/usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:57: error: invalid type in declaration before ';' token
/usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h: In function 'int std::__convert_from_v(__locale_struct* const&, char*, int, const char*, ...)':
/usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:77: error: '__gnu_cxx::__uselocale' cannot be used as a function
/usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:102: error: '__gnu_cxx::__uselocale' cannot be used as a function
In file included from /usr/include/c++/4.3/bits/localefwd.h:49,
from /usr/include/c++/4.3/string:50,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/cctype: At global scope:
/usr/include/c++/4.3/cctype:71: error: '::isalnum' has not been declared
/usr/include/c++/4.3/cctype:72: error: '::isalpha' has not been declared
/usr/include/c++/4.3/cctype:73: error: '::iscntrl' has not been declared
/usr/include/c++/4.3/cctype:74: error: '::isdigit' has not been declared
/usr/include/c++/4.3/cctype:75: error: '::isgraph' has not been declared
/usr/include/c++/4.3/cctype:76: error: '::islower' has not been declared
/usr/include/c++/4.3/cctype:77: error: '::isprint' has not been declared
/usr/include/c++/4.3/cctype:78: error: '::ispunct' has not been declared
/usr/include/c++/4.3/cctype:79: error: '::isspace' has not been declared
/usr/include/c++/4.3/cctype:80: error: '::isupper' has not been declared
/usr/include/c++/4.3/cctype:81: error: '::isxdigit' has not been declared
/usr/include/c++/4.3/cctype:82: error: '::tolower' has not been declared
/usr/include/c++/4.3/cctype:83: error: '::toupper' has not been declared
In file included from /usr/include/c++/4.3/string:50,
from ./src/base/commandlineflags.h:52,
from src/base/logging.h:48,
from src/system-alloc.cc:51:
/usr/include/c++/4.3/bits/localefwd.h:132: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.3/bits/localefwd.h:132: error: template argument 3 is invalid
/usr/include/c++/4.3/bits/localefwd.h:134: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.3/bits/localefwd.h:134: error: template argument 3 is invalid
make: *** [libtcmalloc_minimal_la-system-alloc.lo] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment