Bitcoin Forum
December 02, 2016, 08:06:58 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: Building under CentOS/RHEL 5: what a nightmare!!! (solved)  (Read 7679 times)
denger
Newbie
*
Offline Offline

Activity: 14


View Profile
July 13, 2010, 03:15:55 AM
#1

I am trying to build bitcoin under CentOS 5.5. First of all, the native boost rpm that comes with centos (1.33) does not include the filesystem component, so it is of no use.

I have built boost 1.39 with filesystem, and installed under /usr/local. Now I have other issues when building bitcoin:



g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/lib64/wx/include/gtk2-unicode-release-2.8/" -I"/usr/include/wx-2.8/" -I"/usr/local/include" -I"/usr/include"  -o headers.h.gch headers.h
key.h:46: error: ISO C++ forbids declaration of ‚EC_KEY‚ with no type
key.h:46: error: expected ‚;‚ before ‚*‚ token
key.h: In constructor ‚CKey::CKey()‚:
key.h:52: error: ‚pkey‚ was not declared in this scope
key.h:52: error: ‚EC_KEY_new_by_curve_name‚ was not declared in this scope
key.h: In copy constructor ‚CKey::CKey(const CKey&)‚:
key.h:60: error: ‚pkey‚ was not declared in this scope
key.h:60: error: ‚const class CKey‚ has no member named ‚pkey‚
key.h:60: error: ‚EC_KEY_dup‚ was not declared in this scope
key.h: In member function ‚CKey& CKey::operator=(const CKey&)‚:
key.h:68: error: ‚pkey‚ was not declared in this scope
key.h:68: error: ‚const class CKey‚ has no member named ‚pkey‚
key.h:68: error: ‚EC_KEY_copy‚ was not declared in this scope
key.h: In destructor ‚CKey::~CKey()‚:
key.h:76: error: ‚pkey‚ was not declared in this scope
key.h:76: error: ‚EC_KEY_free‚ was not declared in this scope
key.h: In member function ‚void CKey::MakeNewKey()‚:
key.h:86: error: ‚pkey‚ was not declared in this scope
key.h:86: error: ‚EC_KEY_generate_key‚ was not declared in this scope
key.h: In member function ‚bool CKey::SetPrivKey(const CPrivKey&)‚:
key.h:94: error: ‚pkey‚ was not declared in this scope
key.h:94: error: ‚d2i_ECPrivateKey‚ was not declared in this scope
key.h: In member function ‚CPrivKey CKey::GetPrivKey() const‚:
key.h:102: error: ‚pkey‚ was not declared in this scope
key.h:102: error: ‚i2d_ECPrivateKey‚ was not declared in this scope
key.h: In member function ‚bool CKey::SetPubKey(const std::vector<unsigned char, std::allocator<unsigned char> >&)‚:
key.h:115: error: ‚pkey‚ was not declared in this scope
key.h:115: error: ‚o2i_ECPublicKey‚ was not declared in this scope
key.h: In member function ‚std::vector<unsigned char, std::allocator<unsigned char> > CKey::GetPubKey() const‚:
key.h:123: error: ‚pkey‚ was not declared in this scope
key.h:123: error: ‚i2o_ECPublicKey‚ was not declared in this scope
key.h: In member function ‚bool CKey::Sign(uint256, std::vector<unsigned char, std::allocator<unsigned char> >&)‚:
key.h:138: error: ‚pkey‚ was not declared in this scope
key.h:138: error: ‚ECDSA_sign‚ was not declared in this scope
key.h: In member function ‚bool CKey::Verify(uint256, const std::vector<unsigned char, std::allocator<unsigned char> >&)‚:
key.h:148: error: ‚pkey‚ was not declared in this scope
key.h:148: error: ‚ECDSA_verify‚ was not declared in this scope
db.h: In member function ‚bool CDB::Exists(const K&)‚:
db.h:142: error: ‚class Db‚ has no member named ‚exists‚
ui.h: At global scope:
ui.h:13: error: default argument for ‚const wxString& caption‚ has type ‚const char [8]‚
ui.h: In function ‚int MyMessageBox(const wxString&, const wxString&, int, wxWindow*, int, int)‚:
ui.h:19: error: no matching function for call to ‚std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(const wxString&)‚
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:232: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::rebind<_CharT>::other::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:225: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:218: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:207: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:196: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:182: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:190: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2050: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
ui.h:19: error: no matching function for call to ‚std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(const wxString&)‚
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:232: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::rebind<_CharT>::other::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:225: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:218: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:207: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:196: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:182: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:190: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2050: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
ui.h:20: error: no matching function for call to ‚std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(const wxString&)‚
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:232: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::rebind<_CharT>::other::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:225: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:218: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:207: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:196: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:182: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:190: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2050: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
ui.h:20: error: no matching function for call to ‚std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(const wxString&)‚
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:232: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::rebind<_CharT>::other::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:225: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:218: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:207: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:196: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:182: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:190: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2050: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
ui.h: At global scope:
ui.h:209: error: default argument for parameter of type ‚const wxString&‚ has type ‚const char [1]‚
ui.h: In constructor ‚CGetTextFromUserDialog::CGetTextFromUserDialog(wxWindow*, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&)‚:
ui.h:322: error: no matching function for call to ‚CGetTextFromUserDialogBase::CGetTextFromUserDialogBase(wxWindow*&, <anonymous enum>, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)‚
uibase.h:417: note: candidates are: CGetTextFromUserDialogBase::CGetTextFromUserDialogBase(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)
uibase.h:395: note:                 CGetTextFromUserDialogBase::CGetTextFromUserDialogBase(const CGetTextFromUserDialogBase&)
ui.h:326: error: no matching function for call to ‚wxStaticText::SetLabel(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)‚
/usr/include/wx-2.8/wx/gtk/stattext.h:38: note: candidates are: virtual void wxStaticText::SetLabel(const wxString&)
ui.h:327: error: no matching function for call to ‚wxTextCtrl::SetValue(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)‚
/usr/include/wx-2.8/wx/textctrl.h:303: note: candidates are: virtual void wxTextCtrlBase::SetValue(const wxString&)
ui.h:328: error: no matching function for call to ‚wxString::wxString(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)‚
/usr/include/wx-2.8/wx/string.h:1283: note: candidates are: wxString::wxString(const void*, const void*)
/usr/include/wx-2.8/wx/string.h:1280: note:                 wxString::wxString(const wxString&, size_t, size_t)
/usr/include/wx-2.8/wx/string.h:722: note:                 wxString::wxString(const wxWCharBuffer&)
/usr/include/wx-2.8/wx/string.h:720: note:                 wxString::wxString(const char*, const wxMBConv&, size_t)
/usr/include/wx-2.8/wx/string.h:714: note:                 wxString::wxString(const wxStdString&)
/usr/include/wx-2.8/wx/string.h:704: note:                 wxString::wxString(const wxChar*, const wxMBConv&, size_t)
/usr/include/wx-2.8/wx/string.h:700: note:                 wxString::wxString(const wxChar*, size_t)
/usr/include/wx-2.8/wx/string.h:698: note:                 wxString::wxString(const wxChar*)
/usr/include/wx-2.8/wx/string.h:694: note:                 wxString::wxString(size_t, wxChar)
/usr/include/wx-2.8/wx/string.h:692: note:                 wxString::wxString(wxChar, size_t)
/usr/include/wx-2.8/wx/string.h:690: note:                 wxString::wxString(const wxString&)
/usr/include/wx-2.8/wx/string.h:689: note:                 wxString::wxString(const wxStringBase&)
/usr/include/wx-2.8/wx/string.h:687: note:                 wxString::wxString()
/usr/include/wx-2.8/wx/string.h:682: note:                 wxString::wxString(int)
ui.h:332: error: no matching function for call to ‚wxStaticText::SetLabel(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)‚
/usr/include/wx-2.8/wx/gtk/stattext.h:38: note: candidates are: virtual void wxStaticText::SetLabel(const wxString&)
ui.h:334: error: no matching function for call to ‚wxTextCtrl::SetValue(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)‚
/usr/include/wx-2.8/wx/textctrl.h:303: note: candidates are: virtual void wxTextCtrlBase::SetValue(const wxString&)
ui.h:335: error: no matching function for call to ‚wxString::wxString(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)‚
/usr/include/wx-2.8/wx/string.h:1283: note: candidates are: wxString::wxString(const void*, const void*)
/usr/include/wx-2.8/wx/string.h:1280: note:                 wxString::wxString(const wxString&, size_t, size_t)
/usr/include/wx-2.8/wx/string.h:722: note:                 wxString::wxString(const wxWCharBuffer&)
/usr/include/wx-2.8/wx/string.h:720: note:                 wxString::wxString(const char*, const wxMBConv&, size_t)
/usr/include/wx-2.8/wx/string.h:714: note:                 wxString::wxString(const wxStdString&)
/usr/include/wx-2.8/wx/string.h:704: note:                 wxString::wxString(const wxChar*, const wxMBConv&, size_t)
/usr/include/wx-2.8/wx/string.h:700: note:                 wxString::wxString(const wxChar*, size_t)
/usr/include/wx-2.8/wx/string.h:698: note:                 wxString::wxString(const wxChar*)
/usr/include/wx-2.8/wx/string.h:694: note:                 wxString::wxString(size_t, wxChar)
/usr/include/wx-2.8/wx/string.h:692: note:                 wxString::wxString(wxChar, size_t)
/usr/include/wx-2.8/wx/string.h:690: note:                 wxString::wxString(const wxString&)
/usr/include/wx-2.8/wx/string.h:689: note:                 wxString::wxString(const wxStringBase&)
/usr/include/wx-2.8/wx/string.h:687: note:                 wxString::wxString()
/usr/include/wx-2.8/wx/string.h:682: note:                 wxString::wxString(int)
ui.h:339: warning: converting to ‚int‚ from ‚double‚
ui.h:340: warning: converting to ‚int‚ from ‚double‚
ui.h: In member function ‚std::string CGetTextFromUserDialog::GetValue()‚:
ui.h:346: error: no matching function for call to ‚std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(wxString)‚
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:232: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::rebind<_CharT>::other::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:225: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:218: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:207: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:196: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:182: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:190: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2050: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
ui.h: In member function ‚std::string CGetTextFromUserDialog::GetValue1()‚:
ui.h:347: error: no matching function for call to ‚std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(wxString)‚
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:232: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::rebind<_CharT>::other::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:225: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:218: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:207: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:196: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:182: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:190: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2050: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
ui.h: In member function ‚std::string CGetTextFromUserDialog::GetValue2()‚:
ui.h:348: error: no matching function for call to ‚std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(wxString)‚
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:232: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::rebind<_CharT>::other::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:225: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:218: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:207: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:196: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:182: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:190: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2050: note:                 std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
make: *** [headers.h.gch] Error 1


Anyone has any clues how to solve this?
1480709218
Hero Member
*
Offline Offline

Posts: 1480709218

View Profile Personal Message (Offline)

Ignore
1480709218
Reply with quote  #2

1480709218
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480709218
Hero Member
*
Offline Offline

Posts: 1480709218

View Profile Personal Message (Offline)

Ignore
1480709218
Reply with quote  #2

1480709218
Report to moderator
asdfman
Newbie
*
Offline Offline

Activity: 17


View Profile
July 13, 2010, 03:43:51 AM
#2

what did you configuration string did you build wxWidget-2.9 with ?
I had a ton of issues too, had to manually edit a few files ,and change the makefile.unix a bit..

did you follow the wxWidget based on build-unix.txt ?  Make sure youre not using STL..
denger
Newbie
*
Offline Offline

Activity: 14


View Profile
July 13, 2010, 03:58:35 AM
#3

I am using native Centos wx:
wxsvg-1.0-0.2.b7.el5.rf
wxGTK-devel-2.8.10-1.el5.rf
wxGTK-2.8.10-1.el5.rf
wxsvg-devel-1.0-0.2.b7.el5.rf


You think this will not work? Do I need to rebuild that too?
Thanks for looking into this!
laszlo
Full Member
***
Offline Offline

Activity: 199


View Profile
July 13, 2010, 04:05:08 AM
#4

I have some notes I wrote to help build it on linux - my notes are for x86_64 but the same thing applies for 32 bit just change the openssl target.

http://heliacal.net/~solar/bitcoin/bitcoin-linuxbuild.pdf

Also very similar, slightly outdated but should give you a start (no patch is needed):

http://heliacal.net/~solar/bitcoin/mac-build/Bitcoin-MacOSBuildInstructions.pdf

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
asdfman
Newbie
*
Offline Offline

Activity: 17


View Profile
July 13, 2010, 04:31:17 AM
#5

danger first step you need 2.9, the docs state 2.8 will not work
denger
Newbie
*
Offline Offline

Activity: 14


View Profile
July 13, 2010, 03:03:00 PM
#6

Ok, I finally managed to compile this! For everyone else who does not want to go though this, and trusts a stranger enough to run his binaries, you can get Centos/RHEL-5 x86_64 binaries here:
http://distros.globaltap.com/bitcoin/Centos5-x86_64/
sgtstein
Member
**
Offline Offline

Activity: 61


View Profile
July 27, 2010, 03:39:40 PM
#7

Sorry for bringing this back from the dead. I'm trying to compile as well and have worked through most of the problems. Following laszlo guide helped a LOT.

boost is currently failing when I build, not sure why and am hoping for suggestions. This is from svn 113.


Code:
[myles@kappa trunk]# make -f makefile.unix bitcoind
g++ -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/home/myles/bitcoin/deps/include" -o bitcoind -L"/home/myles/bitcoin/deps/lib" obj/nogui/util.o obj/nogui/script.o obj/nogui/db.o obj/nogui/net.o obj/nogui/irc.o obj/nogui/main.o obj/nogui/rpc.o obj/nogui/init.o obj/sha.o -Wl,-Bstatic /home/myles/bitcoin/deps/lib/libboost_system.a /home/myles/bitcoin/deps/lib/libboost_filesystem.a /home/myles/bitcoin/deps/lib/libboost_program_options.a /home/myles/bitcoin/deps/lib/libboost_thread.a /home/myles/bitcoin/deps/lib/libdb_cxx-4.8.a -l crypto -Wl,-Bdynamic -l gthread-2.0
/home/myles/bitcoin/deps/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':
dso_dlfcn.c:(.text+0x2d): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x43): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x4d): undefined reference to `dlclose'
/home/myles/bitcoin/deps/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x8f): undefined reference to `dladdr'
dso_dlfcn.c:(.text+0xe8): undefined reference to `dlerror'
/home/myles/bitcoin/deps/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x43d): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x514): undefined reference to `dlerror'
/home/myles/bitcoin/deps/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x5a1): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x67d): undefined reference to `dlerror'
/home/myles/bitcoin/deps/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x6e3): undefined reference to `dlclose'
/home/myles/bitcoin/deps/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x7b7): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x828): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x86d): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [bitcoind] Error 1
nimnul
Sr. Member
****
Offline Offline

Activity: 255


View Profile WWW
July 27, 2010, 06:12:41 PM
#8

Does anybody have 32-bit binary for CentOS? The official binary complains about wrong C runtime library.

Odin
Newbie
*
Offline Offline

Activity: 16


View Profile
July 29, 2010, 03:26:23 AM
#9

Does anybody have 32-bit binary for CentOS? The official binary complains about wrong C runtime library.

I have just opened a new thread over how to provide a better Linux binary distribution.

http://bitcointalk.org/index.php?topic=612.0

1NwAL1TocngQd49Z1XdBmtJoi4KVyyzZ6u
nimnul
Sr. Member
****
Offline Offline

Activity: 255


View Profile WWW
August 04, 2010, 11:47:45 AM
#10

Binary at http://distros.globaltap.com/bitcoin/Centos5-x86_64/bitcoind is very old. Any chance for a newer CentOS 5 x86_64 bitcoind binary?

mikest
Member
**
Offline Offline

Activity: 71


View Profile
February 11, 2011, 01:20:17 PM
#11

I'm using Centos 5.5 x86_64. When I tried to execute pre-compiled file "bitcoind 0.3.19" i got message:
"./bitcoind: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./bitcoind)
./bitcoind: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by ./bitcoind)"
Then I tried to compile it from source with openssl ver. 0.9.8o; db-4.8.30; boost_1_43_0.
bitcoind started normal but when I try to use option "generate" bitcoind crushed with debug.log:
"Starting 1 BitcoinMiner threads
ThreadIRCSeed started
ThreadOpenConnections started
ThreadSocketHandler started
ThreadMessageHandler started
BitcoinMiner started"

version 0.3.12 worked properly.

Any ideas?
msteurer
Newbie
*
Offline Offline

Activity: 2


View Profile
April 26, 2011, 07:48:41 AM
#12

Hi everyone.
Please see a modified and updated version of laszlo's manual. Should work with Bitcoin 0.3.20.

http://www.staff.tugraz.at/michael.steurer/Bitcoin-CentOS5.5-V1.pdf

Many regards
  Michael
Red Dragon
Jr. Member
*
Offline Offline

Activity: 36


View Profile
May 10, 2011, 04:23:12 AM
#13

Hi everyone.
Please see a modified and updated version of laszlo's manual. Should work with Bitcoin 0.3.20.

http://www.staff.tugraz.at/michael.steurer/Bitcoin-CentOS5.5-V1.pdf

Many regards
  Michael

Hi, Michael!

Thank you for your manual! But after command

  make -f makefile.centos bitcoind

I have received:

make: wx-config: Command not found
makefile.centos:60: *** missing separator.  Stop.

In my makefile.centos string N 60 is

$(CXX) -c $(CXXFLAGS) $(WXINCLUDEPATHS) -DGUI -o $@ $<

Could anyone help me, please?

P.S. BTW, there are some mistakes with paths on "2 Libraries" stage in the manual . Configure scripts process --prefix=~/Bitcoin/Deps directive in different ways and make directories like Deps/~/Bitcoin/Deps and etc.
ryepdx
Hero Member
*****
Offline Offline

Activity: 714



View Profile WWW
May 10, 2011, 10:10:09 PM
#14

I had the same problem last time I tried building bitcoind under CentOS. The problem is that when you copy and paste the makefile from laszlo's manual, spaces get inserted at the beginning of indented lines instead of tabs. Make sure the line in question is indented with a tab character and not spaces. Make cares about that stuff.
msteurer
Newbie
*
Offline Offline

Activity: 2


View Profile
May 30, 2011, 10:08:45 AM
#15

There we go - Minor update to the manual due to problems with tabs in the Makefile.

http://www.staff.tugraz.at/michael.steurer/Bitcoin-CentOS5.5-V3.pdf

Regards
  Michael

EDIT: Removed sha256 from makefile. changed "prefix" for boost installation.
toms
Newbie
*
Offline Offline

Activity: 1


View Profile
June 01, 2011, 03:42:07 PM
#16

hi

I followed the entire procedure but compilation of bitcoind ends with:

Code:
make: *** No rule to make target `obj/nogui/util.o', needed by `bitcoind'.  Stop.

any suggestions?
jstrike
Newbie
*
Offline Offline

Activity: 1


View Profile
June 10, 2011, 04:07:31 PM
#17

Urffff... so close as well, and I really want to get this working:

Code:
cannot find -lgthread-2.0

CentOS 5.6, 32-bit i686. No gthread in /usr/lib/pkgconfig/

Not sure where to get it. Not sure what it does, even. Good grief, this is complicated.
dem0noid
Newbie
*
Offline Offline

Activity: 9


View Profile
July 01, 2011, 04:16:54 PM
#18

Not sure where to get it. Not sure what it does, even. Good grief, this is complicated.

Code:
yum install glib2-devel
pent
Hero Member
*****
Offline Offline

Activity: 490



View Profile
July 08, 2011, 05:28:13 PM
#19

Centos makefile for current git (edit DEPSDIR)

http://pastebin.com/0NqaYcsR

And yes, you need glib2-devel
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 2086



View Profile
July 11, 2011, 01:57:17 PM
#20


Anybody had much success with Fedora 15 yet?

I got a bitcoind built but had to include

Code:
-DBOOST_FILESYSTEM_VERSION=2

in the "DEFS=" of the makefile ..... boost_1_46_1 is VERSION=3 ??

But then for the bitcoin wxwidgets is not happy even with special version built locally for it ... gave up in disgust at this point.

The RH derivative bitcoin dependency nightmare continues ....

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!