genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
March 17, 2011, 06:53:59 PM |
|
I see a lot of questions about how to build Bitcoin.
Here's how you do it on Ubuntu for the non-GUI version:
sudo aptitude install build-essential libboost-all-dev libdb4.7++-dev libssl-dev libglib2.0-dev make -f makefile.unix bitcoind ./bitcoind
(someone add this to the build instructions on github)
|
|
|
|
Matt Corallo
|
|
March 17, 2011, 08:08:47 PM |
|
For the GUI version: sudo aptitude install build-essential libboost-all-dev libdb4.7++-dev libssl-dev libglib2.0-dev wget http://downloads.sourceforge.net/project/wxwindows/2.9.1/wxWidgets-2.9.1.tar.bz2 tar xvvf wxWidgets-2.9.1.tar.bz2 cd wxWidgets-2.9.1 ./configure --with-gtk --enable-debug --disable-shared --enable-monolithic make sudo make install cd (bitcoin directory) make -f makefile.unix ./bitcoin
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
March 17, 2011, 08:33:05 PM |
|
fuck no. I do not like to sudo make install *anything* and nor do I recommend anyone else to ever do so.
better would be to install wxwidgets to a local directory. anyway if you're compiling bitcoin then probably you'll be content with the CLI version,
|
|
|
|
Matt Corallo
|
|
March 17, 2011, 08:50:18 PM |
|
fuck no. I do not like to sudo make install *anything* and nor do I recommend anyone else to ever do so.
better would be to install wxwidgets to a local directory. anyway if you're compiling bitcoin then probably you'll be content with the CLI version,
What's the harm of having an extra library on your system? Its not like anything but bitcoin will use it yet anyway. Nothing but bitcoin will ever touch any of it.
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
March 17, 2011, 11:28:54 PM |
|
fuck no. I do not like to sudo make install *anything* and nor do I recommend anyone else to ever do so.
better would be to install wxwidgets to a local directory. anyway if you're compiling bitcoin then probably you'll be content with the CLI version,
What's the harm of having an extra library on your system? Its not like anything but bitcoin will use it yet anyway. Nothing but bitcoin will ever touch any of it. I don't like filling my system with junk. Personal preference. Also: security risk. & no way to ever uninstall.
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5418
Merit: 13499
|
|
March 18, 2011, 02:01:42 AM |
|
& no way to ever uninstall.
I use paco to keep track of my source code packages. It allows you to uninstall them, and it also keeps track of configure parameters and such.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
Matt Corallo
|
|
March 18, 2011, 01:07:09 PM |
|
fuck no. I do not like to sudo make install *anything* and nor do I recommend anyone else to ever do so.
better would be to install wxwidgets to a local directory. anyway if you're compiling bitcoin then probably you'll be content with the CLI version,
What's the harm of having an extra library on your system? Its not like anything but bitcoin will use it yet anyway. Nothing but bitcoin will ever touch any of it. I don't like filling my system with junk. Personal preference. Also: security risk. & no way to ever uninstall. It can't be a security risk if the libraries never get loaded by any running applications. Though the filling system with junk is a valid point. You could install to a different location to keep track of it though.
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
March 18, 2011, 05:26:14 PM |
|
Security risk as in if a bug is found, and they're not updated with a fix (how?)
|
|
|
|
Matt Corallo
|
|
March 18, 2011, 05:27:24 PM |
|
Security risk as in if a bug is found, and they're not updated with a fix (how?)
If no program loads the libraries, they can't be exploited. If someone can convince your system to load the libraries, you are already compromised.
|
|
|
|
TeraPool
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 20, 2011, 06:09:33 AM |
|
I see a lot of questions about how to build Bitcoin.
Here's how you do it on Ubuntu for the non-GUI version:
sudo aptitude install build-essential libboost-all-dev libdb4.7++-dev libssl-dev libglib2.0-dev make -f makefile.unix bitcoind ./bitcoind
(someone add this to the build instructions on github)
Is it time to update the OP? I see that the readme suggests a few more dependant libraries now for 0.3.24
|
|
|
|
netrin
Sr. Member
Offline
Activity: 322
Merit: 251
FirstBits: 168Bc
|
|
July 25, 2011, 04:15:05 PM |
|
I'd love to see a post here or elsewhere for Ubuntu 11.04. I can't compile the latest wxwidgets nor compile the latest bitcoin client with an earlier wxwidgets. Anyone got it working?
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
July 25, 2011, 04:34:32 PM |
|
I'd love to see a post here or elsewhere for Ubuntu 11.04. I can't compile the latest wxwidgets nor compile the latest bitcoin client with an earlier wxwidgets. Anyone got it working?
I got it working after zillions of troubles with wxwidgets (in 10.04 though) Here: http://forum.bitcoin.org/index.php?topic=30500.0
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
BitVapes
Full Member
Offline
Activity: 140
Merit: 100
BitVapes.com
|
|
July 28, 2011, 11:48:48 AM |
|
I'd love to see a post here or elsewhere for Ubuntu 11.04. I can't compile the latest wxwidgets nor compile the latest bitcoin client with an earlier wxwidgets. Anyone got it working?
this may help - http://forum.bitcoin.org/index.php?topic=6299.msg110429#msg110429note, this installs v0.3.21 but I think 0.3.24 will work if you change a line in the script: from to
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
July 28, 2011, 01:01:49 PM |
|
I didn't get it to work on Ubuntu Oneiric Ocelot
|
|
|
|
netrin
Sr. Member
Offline
Activity: 322
Merit: 251
FirstBits: 168Bc
|
|
July 28, 2011, 01:09:08 PM |
|
I (and others) can compile earlier versions of wxwidgets, earlier clients, and on earlier versions of Ubuntu. If you has actually compiled 0.3.24 on Ubuntu 11.04 yourself, please post your magic sauce.
|
|
|
|
BitVapes
Full Member
Offline
Activity: 140
Merit: 100
BitVapes.com
|
|
July 28, 2011, 01:43:36 PM |
|
I (and others) can compile earlier versions of wxwidgets, earlier clients, and on earlier versions of Ubuntu. If you has actually compiled 0.3.24 on Ubuntu 11.04 yourself, please post your magic sauce. the method I posted 3 links above worked for me, I just checked and I had edited a section of the script like so - this gave me a working bitcoin 0.3.24 binary in ubuntu 11.04
|
|
|
|
brandon@sourcewerks
Member
Offline
Activity: 62
Merit: 10
|
|
July 28, 2011, 04:35:09 PM |
|
If you don't want to fool around doing this yourself, I can provide cloud hosted bitcoind instances with Ubuntu for ~0.125 BTC a day. Each instance is backed up daily and you will have full root access to the server. Otherwise, back to reading
|
|
|
|
marcus_of_augustus
Legendary
Offline
Activity: 3920
Merit: 2349
Eadem mutata resurgo
|
|
July 28, 2011, 11:12:23 PM |
|
I (and others) can compile earlier versions of wxwidgets, earlier clients, and on earlier versions of Ubuntu. If you has actually compiled 0.3.24 on Ubuntu 11.04 yourself, please post your magic sauce. On a related note, if you are going to try testing with release candidates for 0.3.25 (0.4) that has wallet encryption then you'll have to use the latest version of wxWidgets 2.9.2 (need to build and install somewhere yourself) ... or you can use the patch on the previous version found in https://github.com/bitcoin/bitcoin/blob/master/contrib/wx-patches/README
|
|
|
|
|