Bitcoin Forum
May 12, 2024, 06:18:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Building BitCoin Client completely Headless  (Read 11521 times)
Cdecker (OP)
Hero Member
*****
Offline Offline

Activity: 489
Merit: 504



View Profile WWW
June 08, 2010, 04:51:55 PM
 #1

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.

Regards,
Chris

P.S.: If you're interested at peeking, please take a look here: https://build.opensuse.org/project/show?project=home%3Acdecker%3Abitcoin

Want to see what developers are chatting about? http://bitcoinstats.com/irc/bitcoin-dev/logs/
Bitcoin-OTC Rating
1715537890
Hero Member
*
Offline Offline

Posts: 1715537890

View Profile Personal Message (Offline)

Ignore
1715537890
Reply with quote  #2

1715537890
Report to moderator
1715537890
Hero Member
*
Offline Offline

Posts: 1715537890

View Profile Personal Message (Offline)

Ignore
1715537890
Reply with quote  #2

1715537890
Report to moderator
1715537890
Hero Member
*
Offline Offline

Posts: 1715537890

View Profile Personal Message (Offline)

Ignore
1715537890
Reply with quote  #2

1715537890
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715537890
Hero Member
*
Offline Offline

Posts: 1715537890

View Profile Personal Message (Offline)

Ignore
1715537890
Reply with quote  #2

1715537890
Report to moderator
laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 2072


View Profile
June 08, 2010, 04:58:46 PM
 #2


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

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:

Code:
$ ldd bitcoind
        linux-vdso.so.1 =>  (0x00007fff31dff000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007ff1a0a78000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007ff1a0768000)
        libm.so.6 => /lib/libm.so.6 (0x00007ff1a04e4000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007ff1a02cd000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff1a00b1000)
        libc.so.6 => /lib/libc.so.6 (0x00007ff19fd41000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff1a0c7c000)

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
jago25_98
Hero Member
*****
Offline Offline

Activity: 900
Merit: 1000


Crypto Geek


View Profile WWW
June 26, 2010, 08:11:15 PM
Last edit: June 26, 2010, 08:23:59 PM by jago25_98
 #3

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:

Code:
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<unsigned char>]â
/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<unsigned char>]â
/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<unsigned char>]â
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...




Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
lachesis
Full Member
***
Offline Offline

Activity: 210
Merit: 104


View Profile
June 26, 2010, 08:45:18 PM
 #4

Jago, do you have all the proper dependencies installed?

Bitcoin Calculator | Scallion | GPG Key | WoT Rating | 1QGacAtYA7E8V3BAiM7sgvLg7PZHk5WnYc
satoshi
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6723


View Profile
June 26, 2010, 09:06:06 PM
 #5

The linux release candidate in the "1.3 almost ready" thread contains prebuilt bitcoind.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!