Topic: Building BitCoin Client completely Headless (Read 11499 times)

Activity: 364
Merit: 6149
June 26, 2010, 04:06:06 PM
The linux release candidate in the "1.3 almost ready" thread contains prebuilt bitcoind.
full member
Activity: 210
Merit: 104
Jago, do you have all the proper dependencies installed?
hero member
Activity: 900
Merit: 1000
Crypto Geek
I need headless cli to run on my server (don't own my own computer, just a root shell & a borrowed laptop from work).

How to compile? I recommend including a cli binary. FAQ?

Good work by the way, thanks

update: checked out thr trunk by svn, tried a make after installing g++, no joy:

usr/include/c++/4.3/bits/stl_vector.h:150:   instantiated from âvoid std::_Vector_base<_Tp, _Alloc>::_M_deallocate(_Tp*, size_t) [with _Tp = unsigned char, _Alloc = secure_allocator
/usr/include/c++/4.3/bits/stl_vector.h:136:   instantiated from âstd::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = unsigned char, _Alloc = secure_allocator
/usr/include/c++/4.3/bits/stl_vector.h:235:   instantiated from âstd::vector<_Tp, _Alloc>::vector(size_t, const _Tp&, const _Alloc&) [with _Tp = unsigned char, _Alloc = secure_allocator
key.h:105:   instantiated from here
serialize.h:684: error: âmemsetâ was not declared in this scope
make: *** [headers.h.gch] Error 1
...amongst other errors (don't know what I'm doing with multiplatform...

full member
Activity: 199
Merit: 2011

If you follow these instructions and build 'bitcoind' it's all linked statically to wxWidgets, boost, openssl and libdb.. for me it looks like this:

$ ldd bitcoind =>  (0x00007fff31dff000) => /lib/ (0x00007ff1a0a78000) => /usr/lib/ (0x00007ff1a0768000) => /lib/ (0x00007ff1a04e4000) => /lib/ (0x00007ff1a02cd000) => /lib/ (0x00007ff1a00b1000) => /lib/ (0x00007ff19fd41000)
        /lib64/ (0x00007ff1a0c7c000)
hero member
Activity: 489
Merit: 504
Hi all,

I'm currently trying to get the openSuse Build Service to build bitcoin binaries for all the major distros, but wxWidgets is giving me a headache, as the development branch 2.9.0 is in not a single repository, and I'm having huge problems building it myself.

So I was wondering whether it is possible at all to compile everything without any depencies on wxWidgets?

Once wxWidgets 2.9.0 starts appearing in the default repos I'll create packages for the GUI version too, but a CLI version is better than nothing for the moment.


P.S.: If you're interested at peeking, please take a look here:
Jump to: