Author

Topic: Is there a way to automate bitcoin payments for a website? (Read 12094 times)

newbie
Activity: 7
Merit: 0
  BAKEDcoin Roll Eyes  hat horse Boyarsky
founder
Activity: 364
Merit: 7065
A little late, but in case anyone else has the same issue.  The compile dump had 2 warnings (that were 20 lines long) and 2 link errors.  The errors were:
Quote
obj/nogui/init.o(.gnu.linkonce.t._ZNK13wxArrayString4ItemEm+0x13): In function `wxArrayString::Item(unsigned long) const':
/usr/local/include/wx-2.9/wx/buffer.h:42: undefined reference to `wxTheAssertHandler'

obj/nogui/init.o(.gnu.linkonce.t._ZNK13wxArrayString4ItemEm+0x45): In function `wxArrayString::Item(unsigned long) const':
/usr/src/bitcoin/trunk/uint256.h:526: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)'

Those are probably due to switching to the release build of wxWidgets instead of debug.  They're moving towards only debug build and ditching the release build, so they probably don't care that their release build is broken by referring to non-existent assert stuff.  There's nothing to fear about the debug build.  It's fully suitable for releases.

bitcoind runs as a daemon and can either be controlled by command line or JSON-RPC.

Thanks madhatter and generica for detailing the instructions for building on freebsd.
newbie
Activity: 21
Merit: 0
You are partly correct. bitcoind is a "terminate and stay resident program". You communicate with it over a JSON-RPC socket to send payments/poll for received payments. Wink
full member
Activity: 210
Merit: 100
I don't even understand what madhatter2 said.

It'd be nice to have just one single port to install and then I could just leave it as a terminate and stay resident program.  Then it would log payments received in a file and could be communicated with via shell commands.
newbie
Activity: 9
Merit: 0
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:

Code:
[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, 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::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, 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, 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::protect, mpl_::arg<-0x00000000000000001> > >, 0> >'
/usr/local/include/boost/mpl/iter_fold.hpp:40:   instantiated from 'boost::mpl::iter_fold, 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_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, boost::mpl::l_item, boost::integral_constant, 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, 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::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::alignment_of > >'
/usr/local/include/boost/variant/variant.hpp:238:   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_::integral_c::' and 'enum mpl_::integral_c::'
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/init.o init.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"  -O3 -o obj/sha.o sha.cpp
g++ -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"  -o bitcoind -L"/usr/lib" -L"/usr/local/lib" -L"/usr/local/lib/db48" 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 -l wx_baseu-2.9 -Wl,-Bstatic -l boost_system -l boost_filesystem -l db_cxx -Wl,-Bdynamic -l crypto -l gthread-2.0
obj/nogui/init.o(.gnu.linkonce.t._ZNK13wxArrayString4ItemEm+0x13): In function `wxArrayString::Item(unsigned long) const':
/usr/local/include/wx-2.9/wx/buffer.h:42: undefined reference to `wxTheAssertHandler'
obj/nogui/init.o(.gnu.linkonce.t._ZNK13wxArrayString4ItemEm+0x45): In function `wxArrayString::Item(unsigned long) const':
/usr/src/bitcoin/trunk/uint256.h:526: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)'
gmake: *** [bitcoind] Error 1

This is on FreeBSD 7.2.  Any ideas? Smiley

hero member
Activity: 490
Merit: 511
My avatar pic says it all
I have the latest SVN snapshot running on FreeBSD (bitcoind) with automation running on a few servers.

You just install databases/db48, x11-toolkits/gtk20, devel/gmake, and devel/boost-all from the ports tree, download wxwidgets 2.9 and install it manually (the port version is 2.8.. that's no good), change a few paths in the makefile.unix file, and run "gmake -f makefile.unix bitcoind". You will end up with a binary called "bitcoind" (it is headless). Run "strip ./bitcoind" to make it smaller (it is really big with the debugging symbols). You can, of course, leave the debugging symbols in. I had to use gdb on bitcoind a few times in the past to figure out a strange crash.

I have tested bitcoind on 32 and 64 bit systems running FreeBSD. I didn't detect any memory leaks or see any crashes.
full member
Activity: 202
Merit: 109
GCC - Global cryptocurrency
Not sure about FreeBSD, but payments can be automated with the new version.  https://bitcointalksearch.org/topic/command-line-and-json-rpc-63
full member
Activity: 210
Merit: 100
I run a website hosted on freebsd and well right now nobody visits it ever and so I can totally change it.  I am wanting to change it to allow people to pay for services from the website exclusively through bitcoins.  Now I see bitcoin has some linux program but I'm not sure that's compatible with FreeBSD or not.  I also don't know how I can integrate bitcoin into a website to automatically take the bitcoin payments so they show up immediately.  I'd really like them to work so my website immediately recognizes the payment coming in.
Jump to: