Author

Topic: Ubuntu build instructions (Read 3503 times)

legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
July 28, 2011, 06:12:23 PM
#18
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. Smiley

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
member
Activity: 62
Merit: 10
July 28, 2011, 11:35:09 AM
#17
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  Grin
full member
Activity: 140
Merit: 100
BitVapes.com
July 28, 2011, 08:43:36 AM
#16
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. Smiley

the method I posted 3 links above worked for me, I just checked and I had edited a section of the  script like so -

Quote
#for some reason, github's certificate doesn't work:
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.24"
[ -e bitcoin*/ ] || tar -xvzf "v0.3.24"
cd bitcoin*/
cd src/
make -f makefile.unix


this gave me a working bitcoin 0.3.24 binary in ubuntu 11.04
sr. member
Activity: 322
Merit: 251
FirstBits: 168Bc
July 28, 2011, 08:09:08 AM
#15
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. Smiley
legendary
Activity: 1232
Merit: 1076
July 28, 2011, 08:01:49 AM
#14
I didn't get it to work on Ubuntu Oneiric Ocelot
full member
Activity: 140
Merit: 100
BitVapes.com
July 28, 2011, 06:48:48 AM
#13
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#msg110429


note, this installs v0.3.21 but I think 0.3.24 will work if you change a line in the script:

from
Quote
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.21"
to
Quote
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.24"
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
July 25, 2011, 11:34:32 AM
#12
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
sr. member
Activity: 322
Merit: 251
FirstBits: 168Bc
July 25, 2011, 11:15:05 AM
#11
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?
newbie
Activity: 42
Merit: 0
July 20, 2011, 01:09:33 AM
#10
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 Huh
hero member
Activity: 755
Merit: 515
March 18, 2011, 12:27:24 PM
#9
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.
legendary
Activity: 1232
Merit: 1076
March 18, 2011, 12:26:14 PM
#8
Security risk as in if a bug is found, and they're not updated with a fix (how?)
hero member
Activity: 755
Merit: 515
March 18, 2011, 08:07:09 AM
#7
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.
administrator
Activity: 5222
Merit: 13032
March 17, 2011, 09:01:42 PM
#6
& 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.
legendary
Activity: 1232
Merit: 1076
March 17, 2011, 06:28:54 PM
#5
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.
hero member
Activity: 755
Merit: 515
March 17, 2011, 03:50:18 PM
#4
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.
legendary
Activity: 1232
Merit: 1076
March 17, 2011, 03:33:05 PM
#3
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,
hero member
Activity: 755
Merit: 515
March 17, 2011, 03:08:47 PM
#2
For the GUI version:

Code:
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
legendary
Activity: 1232
Merit: 1076
March 17, 2011, 01:53:59 PM
#1
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)
Jump to: