grondilu (OP)
Legendary
Offline
Activity: 1288
Merit: 1080
|
|
February 15, 2011, 11:51:25 AM Last edit: March 18, 2011, 05:26:00 PM by grondilu |
|
This is so cool !!! $ apt-cache show bitcoin-cli Package: bitcoin-cli Priority: optional Section: utils Installed-Size: 1276 Maintainer: Jonas Smedegaard <dr@NO_SPAM> Architecture: i386 Source: bitcoin Version: 0.3.19~dfsg-6 Depends: libboost-filesystem1.42.0 (>= 1.42.0-1), libboost-program-options1.42.0 (>= 1.42.0-1), libboost-system1.42.0 (>= 1.42.0-1), libboost-thread1.42.0 (>= 1.42.0-1), libc6 (>= 2.7), libcrypto++8, libdb4.8++, libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.12.0), libssl0.9.8 (>= 0.9.8m-1), libstdc++6 (>= 4.4.0), zlib1g (>= 1:1.1.4) Suggests: db4.8-util, db4.7-util Filename: pool/main/b/bitcoin/bitcoin-cli_0.3.19~dfsg-6_i386.deb Size: 487994 MD5sum: 389cd3d3647b21b56dcd66d055446511 SHA1: be640acc5be757c31a1c4ac7c51af1b6bf44129c SHA256: e66c1bfed03a453a18e022f03f4a94609b36650c39bf1f9ceb21f475e6c8d3c8 Description: peer-to-peer network based anonymous digital currency - CLI tools Bitcoin is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending. . By default connects to an IRC network to discover other peers. . Full transaction history is stored locally at each client. This requires 150+ MB of space, slowly growing. Homepage: http://www.bitcoin.org/
|
|
|
|
ShadowOfHarbringer
Legendary
Offline
Activity: 1470
Merit: 1006
Bringing Legendary Har® to you since 1952
|
|
February 15, 2011, 12:11:11 PM |
|
Awesome news. Debian is probably the most important distro in the Linux world. Now others will follow...
We're going mainstream soon, baby !
|
|
|
|
LZ
Legendary
Offline
Activity: 1722
Merit: 1072
P2P Cryptocurrency
|
|
February 15, 2011, 04:38:39 PM |
|
Yay!
|
My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
|
|
|
altoid
Jr. Member
Offline
Activity: 48
Merit: 9
|
|
February 25, 2011, 07:34:30 AM |
|
I installed the package on my server, but I have no idea where the program was installed. I'm a bit of a Debian newb, so maybe it is obvious, but how do I run bitcoind and set up the config file like it talks about here: https://en.bitcoin.it/wiki/API_tutorial_%28JSON-RPC%29Thanks to anyone who can help me
|
|
|
|
grondilu (OP)
Legendary
Offline
Activity: 1288
Merit: 1080
|
|
February 25, 2011, 07:58:53 AM |
|
I installed the package on my server, but I have no idea where the program was installed. I'm a bit of a Debian newb, so maybe it is obvious, but how do I run bitcoind and set up the config file like it talks about here: https://en.bitcoin.it/wiki/API_tutorial_%28JSON-RPC%29Thanks to anyone who can help me Personnally I stick with the bitcoin.org tarball install, but I guess that once you've installed the bitcoin-cli package, all you have to do is to run "bitcoind". What message do you get when you try that?
|
|
|
|
freeman
Newbie
Offline
Activity: 25
Merit: 0
|
|
February 26, 2011, 01:54:08 AM |
|
This looks to be only the server. On my system the only binary included is /usr/bin/bitcoind. It would be nice if the graphical interface would be included as a Debian package too.
|
|
|
|
MacRohard
|
|
February 26, 2011, 02:28:28 AM |
|
This looks to be only the server. On my system the only binary included is /usr/bin/bitcoind. It would be nice if the graphical interface would be included as a Debian package too.
The problem with the gui is that it depends on a new version (2.9) of the WxWidgets library for which there is no package. So yeah.. hassle the wxWidgets guys to update their package and then maybe it will happen..
|
|
|
|
altoid
Jr. Member
Offline
Activity: 48
Merit: 9
|
|
March 18, 2011, 06:20:29 AM |
|
I installed the package on my server, but I have no idea where the program was installed. I'm a bit of a Debian newb, so maybe it is obvious, but how do I run bitcoind and set up the config file like it talks about here: https://en.bitcoin.it/wiki/API_tutorial_%28JSON-RPC%29Thanks to anyone who can help me Personnally I stick with the bitcoin.org tarball install, but I guess that once you've installed the bitcoin-cli package, all you have to do is to run "bitcoind". What message do you get when you try that? I think this package may have a memory leak because my memory filled up while using it, and now that it's off my machine, I don't have that problem any more. I'm not sure how to do the bitcoin.org tarball install. Does anyone know of a good tutorial on it for debian?
|
|
|
|
stakhanov
|
|
March 18, 2011, 06:56:53 AM |
|
Awesome news! Do we know who contributed the package? Is it someone that spends time on this forum?
|
|
|
|
grondilu (OP)
Legendary
Offline
Activity: 1288
Merit: 1080
|
|
March 18, 2011, 05:19:10 PM |
|
Awesome news! Do we know who contributed the package? Is it someone that spends time on this forum?
Maintainer is Jonas Smedegaard. You can have his contact information with apt-cache: apt-cache show bitcoind (the name of the package seems to have been changed recently)
|
|
|
|
altoid
Jr. Member
Offline
Activity: 48
Merit: 9
|
|
March 18, 2011, 08:00:22 PM |
|
SO is it possible to install bitcoind on debian lenny?
|
|
|
|
grondilu (OP)
Legendary
Offline
Activity: 1288
Merit: 1080
|
|
March 18, 2011, 08:51:09 PM |
|
SO is it possible to install bitcoind on debian lenny?
It is, provided you add an unstable entry in your apt repository. For more info, man sources.list PS. I have no idea if it would work with Lenny, though. Normally it should since apt-get is supposed to automatically install all required dependencies.
|
|
|
|
hacim
Member
Offline
Activity: 64
Merit: 10
|
|
March 29, 2011, 10:09:54 PM |
|
Awesome news! Do we know who contributed the package? Is it someone that spends time on this forum?
Mostly it was Jonas, but I also worked and still work with him on the package.
|
15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
|
|
|
hacim
Member
Offline
Activity: 64
Merit: 10
|
|
March 29, 2011, 10:12:50 PM Last edit: March 29, 2011, 10:25:41 PM by hacim |
|
SO is it possible to install bitcoind on debian lenny?
Once the package migrates to wheezy, I'll create a backport ( http://backports.debian.org) for squeeze.... but lenny is no longer stable, so that probably will no longer be supported and instead you should consider upgrading to squeeze. Edit: oops, it has, so I'll do that backport now.
|
15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
|
|
|
grondilu (OP)
Legendary
Offline
Activity: 1288
Merit: 1080
|
|
March 30, 2011, 02:43:41 AM |
|
I confess I am a bit reluctant to use it, though.
After all what exactly prevents it to have a trojan inside?
I guess I'll wait until there are a lot of people who havve tested it and audited the code.
|
|
|
|
hacim
Member
Offline
Activity: 64
Merit: 10
|
|
March 30, 2011, 04:59:42 AM |
|
I confess I am a bit reluctant to use it, though.
After all what exactly prevents it to have a trojan inside?
You can always download the source package, compare the source with the original distributed source, all it takes is a simple diff, and then build your own package out of it.
|
15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
|
|
|
grondilu (OP)
Legendary
Offline
Activity: 1288
Merit: 1080
|
|
March 30, 2011, 06:41:30 AM Last edit: March 30, 2011, 07:13:41 AM by grondilu |
|
You can always download the source package, compare the source with the original distributed source, all it takes is a simple diff, and then build your own package out of it.
Last time I tried, I had compilation errors. I've just tried again, I get: $ uname -a Linux aptosidbox 2.6.38-1.slh.4-aptosid-686 #1 SMP PREEMPT Sat Mar 26 13:12:20 UTC 2011 i686 GNU/Linux $ make - g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/include/wx-2.9" -I"/usr/lib/wx/include/gtk2-unicode-debug-static-2.9" -o obj/nogui/util.o util.cpp g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/include/wx-2.9" -I"/usr/lib/wx/include/gtk2-unicode-debug-static-2.9" -o obj/nogui/script.o script.cpp g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/include/wx-2.9" -I"/usr/lib/wx/include/gtk2-unicode-debug-static-2.9" -o obj/nogui/db.o db.cpp g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/include/wx-2.9" -I"/usr/lib/wx/include/gtk2-unicode-debug-static-2.9" -o obj/nogui/net.o net.cpp g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/include/wx-2.9" -I"/usr/lib/wx/include/gtk2-unicode-debug-static-2.9" -o obj/nogui/irc.o irc.cpp g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/include/wx-2.9" -I"/usr/lib/wx/include/gtk2-unicode-debug-static-2.9" -o obj/nogui/main.o main.cpp g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/include/wx-2.9" -I"/usr/lib/wx/include/gtk2-unicode-debug-static-2.9" -o obj/nogui/rpc.o rpc.cpp In file included from /usr/include/boost/asio/ssl/context_service.hpp:30:0, from /usr/include/boost/asio/ssl/context.hpp:22, from /usr/include/boost/asio/ssl.hpp:19, from rpc.cpp:12: /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp: In member function void boost::asio::ssl::detail::openssl_context_service::create(SSL_CTX*&, boost::asio::ssl::context_base::method): /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp:73:28: error: ::SSLv2_method has not been declared /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp:76:28: error: ::SSLv2_client_method has not been declared /usr/include/boost/asio/ssl/detail/openssl_context_service.hpp:79:28: error: ::SSLv2_server_method has not been declared make: *** [obj/nogui/rpc.o] Erreur 1
I suspect it's because I have too a recent version of openssl: $ apt-cache policy openssl libssl-dev libssl-dev: Installé : 1.0.0c-2 Candidat : 1.0.0c-2 Table de version : *** 1.0.0c-2 0 100 /var/lib/dpkg/status 0.9.8o-5 0 500 http://ftp.fr.debian.org/debian/ sid/main i386 Packages openssl: Installé : 1.0.0c-2 Candidat : 1.0.0c-2 Table de version : *** 1.0.0c-2 0 100 /var/lib/dpkg/status 0.9.8o-5 0 500 http://ftp.fr.debian.org/debian/ sid/main i386 Packages
I've just downgraded openssl, and now I get: make: *** No rule to make target `cryptopp/obj/sha.o', needed by `bitcoind'. Stop.
|
|
|
|
khal
|
|
March 30, 2011, 01:08:34 PM |
|
I had a different error, with g++ 4.4 (default g++ on debian testing), but with g++ 4.3 (like written in the doc) it compiled without problem, with gaivin git repo.
|
|
|
|
hacim
Member
Offline
Activity: 64
Merit: 10
|
|
April 04, 2011, 03:25:04 AM Last edit: April 06, 2011, 02:36:46 PM by hacim |
|
You can always download the source package, compare the source with the original distributed source, all it takes is a simple diff, and then build your own package out of it.
Last time I tried, I had compilation errors. I've just tried again, I get: $ uname -a Linux aptosidbox 2.6.38-1.slh.4-aptosid-686 #1 SMP PREEMPT Sat Mar 26 13:12:20 UTC 2011 i686 GNU/Linux $ make -
Err, this isn't how you should build a debian source package. You should have downloaded the source package. First you need to make sure you have apt-src lines in /etc/apt/sources.list, and then you can simply do: $ apt-get source bitcoind
Then you need to make sure you have the proper build-dependencies installed: $ sudo apt-get build-dep bitcoind
Then while in the directory you can do the following to build the package: $ dpkg-buildpackage -us -uc
EDIT: fixed code block formatting
|
15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
|
|
|
grondilu (OP)
Legendary
Offline
Activity: 1288
Merit: 1080
|
|
April 04, 2011, 07:29:45 AM |
|
Err, this isn't how you should build a debian source package.
You should have downloaded the source package. First you need to make sure you have apt-src lines in /etc/apt/sources.list, and then you can simply do:
<code> $ apt-get source bitcoind </code>
Well yeah I had done this, obviously. Then you need to make sure you have the proper build-dependencies installed:
<code> $ sudo apt-get build-dep bitcoind </code>
Then while in the directory you can do the following to build the package:
<code> $ dpkg-buildpackage -us -uc </code>
But I didn't know about that. I'll try.
|
|
|
|
|