madhatter, thanks for these instructions. I edited the makefile and installed the dependencies. Here are the changes I had to make if anyone is interested:
- Added these three INCLUDEPATH entries:
-I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" \
-I"/usr/local/include/db48" \
-I"/usr/local/include"
- Added this LIBPATH entry:
-L"/usr/local/lib/db48"
- Changed "wx_gtk2ud-2.9" to "wx_gtk2u-2.9" because I didn't build wxwidgets with debugging
This is with SVN Rev 75. However, the end result won't compile:
[root@colo /usr/src/bitcoin/trunk]# gmake -f makefile.unix bitcoind
g++ -c -O0 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/include" -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" -I"/usr/local/include/db48" -I"/usr/local/include" -DwxUSE_GUI=0 -o obj/nogui/util.o util.cpp
g++ -c -O0 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/include" -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" -I"/usr/local/include/db48" -I"/usr/local/include" -DwxUSE_GUI=0 -o obj/nogui/script.o script.cpp
g++ -c -O0 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/include" -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" -I"/usr/local/include/db48" -I"/usr/local/include" -DwxUSE_GUI=0 -o obj/nogui/db.o db.cpp
g++ -c -O0 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/include" -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" -I"/usr/local/include/db48" -I"/usr/local/include" -DwxUSE_GUI=0 -o obj/nogui/net.o net.cpp
g++ -c -O0 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/include" -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" -I"/usr/local/include/db48" -I"/usr/local/include" -DwxUSE_GUI=0 -o obj/nogui/irc.o irc.cpp
g++ -c -O0 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/include" -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" -I"/usr/local/include/db48" -I"/usr/local/include" -DwxUSE_GUI=0 -o obj/nogui/main.o main.cpp
g++ -c -O0 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/include" -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-release-2.9" -I"/usr/local/include/db48" -I"/usr/local/include" -DwxUSE_GUI=0 -o obj/nogui/rpc.o rpc.cpp
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/less.hpp: In instantiation of 'boost::mpl::less_impl
::apply, mpl_::size_t<1ul> >':
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/less.hpp:73: instantiated from 'boost::mpl::less, mpl_::size_t<1ul> >'
/usr/local/include/boost/mpl/aux_/has_type.hpp:20: instantiated from 'boost::mpl::aux::has_type, mpl_::size_t<1ul> >, mpl_::bool_ >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/quote.hpp:56: instantiated from 'boost::mpl::quote2::apply, mpl_::size_t<1ul> >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:49: instantiated from 'boost::mpl::apply_wrap2, mpl_::size_t<8ul>, mpl_::size_t<1ul> >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/bind.hpp:207: instantiated from 'boost::mpl::bind2, mpl_::arg<-0x00000000000000001>, mpl_::arg<-0x00000000000000001> >::apply, mpl_::size_t<1ul>, mpl_::na, mpl_::na, mpl_::na>'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:49: instantiated from 'boost::mpl::apply_wrap2, mpl_::arg<-0x00000000000000001>, mpl_::arg<-0x00000000000000001> >, 0>, mpl_::size_t<8ul>, mpl_::size_t<1ul> >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:73: instantiated from 'boost::mpl::apply2, mpl_::arg<-0x00000000000000001> >, mpl_::size_t<8ul>, mpl_::size_t<1ul> >'
/usr/local/include/boost/mpl/max_element.hpp:42: instantiated from 'boost::mpl::aux::select_max, mpl_::arg<-0x00000000000000001> > >::apply, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:49: instantiated from 'boost::mpl::apply_wrap2, mpl_::arg<-0x00000000000000001> > >, 0>, boost::mpl::l_iter, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:73: instantiated from 'boost::mpl::apply2, mpl_::arg<-0x00000000000000001> > >, 0>, boost::mpl::l_iter, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp:115: instantiated from 'boost::mpl::aux::iter_fold_impl<4, boost::mpl::l_iter, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, boost::mpl::l_iter, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > > >, boost::mpl::protect, mpl_::arg<-0x00000000000000001> > >, 0> >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp:146: instantiated from 'boost::mpl::aux::iter_fold_impl<6, boost::mpl::l_iter, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, boost::mpl::l_iter, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > > >, boost::mpl::protect, mpl_::arg<-0x00000000000000001> > >, 0> >'
/usr/local/include/boost/mpl/iter_fold.hpp:40: instantiated from 'boost::mpl::iter_fold, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > >, boost::mpl::l_iter, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > > >, boost::mpl::protect, mpl_::arg<-0x00000000000000001> > >, 0> >'
/usr/local/include/boost/mpl/max_element.hpp:65: instantiated from 'boost::mpl::max_element, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<1ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_item, mpl_::size_t<8ul>, boost::mpl::l_end> > > > > >, boost::mpl::less, mpl_::arg<-0x00000000000000001> > >'
/usr/local/include/boost/variant/variant.hpp:123: instantiated from 'boost::detail::variant::max_value, std::basic_string, std::allocator >, boost::mpl::l_item, boost::recursive_wrapper, std::allocator > > >, std::allocator, std::allocator > > > > > >, boost::mpl::l_item, boost::recursive_wrapper, std::allocator > > >, std::allocator, std::allocator > > > > > >, boost::mpl::l_item, bool, boost::mpl::l_item, long int, boost::mpl::l_item, double, boost::mpl::l_end> > > > > >, boost::mpl::sizeof_ > >'
/usr/local/include/boost/variant/variant.hpp:232: instantiated from 'boost::detail::variant::make_storage, std::basic_string, std::allocator >, boost::mpl::l_item, boost::recursive_wrapper, std::allocator > > >, std::allocator, std::allocator > > > > > >, boost::mpl::l_item, boost::recursive_wrapper, std::allocator > > >, std::allocator, std::allocator > > > > > >, boost::mpl::l_item, bool, boost::mpl::l_item, long int, boost::mpl::l_item, double, boost::mpl::l_end> > > > > >, boost::variant, std::allocator >, boost::recursive_wrapper, std::allocator > > >, std::allocator, std::allocator > > > > > >, boost::recursive_wrapper, std::allocator > > >, std::allocator, std::allocator > > > > > >, bool, long int, double, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>::has_fallback_type_>'
/usr/local/include/boost/variant/variant.hpp:1098: instantiated from 'boost::variant, std::allocator >, boost::recursive_wrapper, std::allocator > > >, std::allocator, std::allocator > > > > > >, boost::recursive_wrapper, std::allocator > > >, std::allocator, std::allocator > > > > > >, bool, long int, double, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>'
json/json_spirit_value.h:89: instantiated from 'json_spirit::Value_impl, std::allocator > > >'
rpc.cpp:34: instantiated from here
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/less.hpp:90: warning: comparison between 'enum mpl_::size_t<1ul>::' and 'enum mpl_::size_t<8ul>::'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/less.hpp: In instantiation of 'boost::mpl::less_impl::apply, boost::integral_constant >':
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/less.hpp:73: instantiated from 'boost::mpl::less, boost::integral_constant >'
/usr/local/include/boost/mpl/aux_/has_type.hpp:20: instantiated from 'boost::mpl::aux::has_type, boost::integral_constant >, mpl_::bool_ >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/quote.hpp:56: instantiated from 'boost::mpl::quote2::apply, boost::integral_constant >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:49: instantiated from 'boost::mpl::apply_wrap2, boost::integral_constant, boost::integral_constant >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/bind.hpp:207: instantiated from 'boost::mpl::bind2, mpl_::arg<-0x00000000000000001>, mpl_::arg<-0x00000000000000001> >::apply, boost::integral_constant, mpl_::na, mpl_::na, mpl_::na>'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:49: instantiated from 'boost::mpl::apply_wrap2, mpl_::arg<-0x00000000000000001>, mpl_::arg<-0x00000000000000001> >, 0>, boost::integral_constant, boost::integral_constant >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:73: instantiated from 'boost::mpl::apply2, mpl_::arg<-0x00000000000000001> >, boost::integral_constant, boost::integral_constant >'
/usr/local/include/boost/mpl/max_element.hpp:42: instantiated from 'boost::mpl::aux::select_max, mpl_::arg<-0x00000000000000001> > >::apply, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_end> > > > >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:49: instantiated from 'boost::mpl::apply_wrap2, mpl_::arg<-0x00000000000000001> > >, 0>, boost::mpl::l_iter, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_end> > > > >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:73: instantiated from 'boost::mpl::apply2, mpl_::arg<-0x00000000000000001> > >, 0>, boost::mpl::l_iter, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_end> > > > >'
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp:115: instantiated from 'boost::mpl::aux::iter_fold_impl<4, boost::mpl::l_iter, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_end> > > > > > >, boost::mpl::l_iter, boost::mpl::l_iter, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item