How to compile Bitcoin-Qt from GitHub source on Arch Linux?

1

Here are the instructions I have created so far:

Install the necessary dependencies

pacman -S boost boost-libs openssl db base-devel qrencode qt4 automoc4

Clone the GitHub repository:

git clone https://github.com/bitcoin/bitcoin.git cd bitcoin

Checkout the Git source to the latest release listed at https://github.com/bitcoin/bitcoin/releases:

git checkout v0.8.5

Change to the source directory:

cd src

Compile Bitcoin-Qt from source

qmake-qt4 -makefile -Wall USE_QRCODE=1 make

There are a ton of generic instructions spit out when I enter qmake-qt4 command and then upon entering the make command I am told:

make: * No targets specified and no makefile found. Stop.

FYI, I am using the PKGBUILD file as a guideline for creating the above...

0 0
2

Happy New Year!

In previous blogs I have covered installing Qt and Qt Creator on Windows and on Linux using the Qt installer and pre-built binaries. In this post, aimed at developers with novice-level Qt skills, we'll look at how you can build Qt yourself from source code.

Rationale

Why would you want to build Qt from source? While the downloadable pre-compiled binaries are convenient and save time, you may want to build Qt using a different configuration from that provided by The Qt Company. You may, for example, want to enable or disable different options or modules to match the requirements of your platform and application.

Or, you may need to build Qt against a different C++ compiler or run-time library. If you want to test an Alpha release of Qt, these are typically only provided as source code. You may also want to build Qt from a development version in the git repository, which only provides source code, or with a specific patch or other change...

0 0
3
...
0 0
4

Latest Comments

Man locations have changed upstream, relevant PKGBUILD section should be changed to something like:

msg2 'Installing bitcoin-daemon...'
install -Dm755 "$srcdir/$_gitname/src/bitcoind" "$pkgdir/usr/bin/bitcoind"
install -Dm644 "$srcdir/$_gitname/contrib/debian/examples/bitcoin.conf" "$pkgdir/usr/share/doc/$pkgname/examples/bitcoin.conf"
install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-cli.1" "$pkgdir/usr/share/man/man1/bitcoin-cli.1"
install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-qt.1" "$pkgdir/usr/share/man/man1/bitcoin-qt.1"
install -Dm644 "$srcdir/$_gitname/doc/man/bitcoind.1" "$pkgdir/usr/share/man/man1/bitcoind.1"
install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-tx.1" "$pkgdir/usr/share/man/man1/bitcoin-tx.1"

I don't see bitcoin.conf.5 man now, but there is a bitcoin-tx.1 one.

Updated to compile for QT5 and include required QT5 dependencies

...

0 0
5

This short video shows how to compile the bitcoin source code on linux (ubunu).
an easy task to do but it take some time (around 15 min) please read the instruction in the official github https://github.com/bellaj/bitcoin/blo... in the video i am compiling the version 0.13
Note: you could choose which version to use by typing "get tag" to show you all the released versions of bitcoin then "git checkout v0.**" if you need the version 0.**. If you choose an old version please read the documentation (doc/build-unix.md )in order to install to suit dependencies. when the process finish you get your bitcoind (server) and bitcoin-qt (client).
Note : If these prerequisites are missing, the build process will fail.If this happens because you missed a prerequisite, you can install it and then resume the build process.
to customize the build process. Type ./configure
--help to see the various options:
$ ./configure --help
`configure' configures Bitcoin...

0 0
6

Ubuntu is often recommended as an operating system on which to run Bitcoin Core. Although Bitcoin Core can be installed as a precompiled binary, this method won't work in every case. This guide shows how to compile Bitcoin Core from scratch on a clean Ubuntu 14.04.2 system.

Why Compile?

The main reason to compile Bitcoin Core yourself is that it ensures you'll always have access to the latest release. For example, the binary Bitcoin Core package for Ubuntu 14.04 32-bit currently fails to install, giving the error message “E: Unable to locate package bitcoin-qt” (the 64-bit version installs without a problem). Compiling and installing from source eliminates the need to rely on precompiled binaries when updating.

A secondary reason to compile from source is that it requires less trust. Although the maintainers of the Bitcoin Core binary package do a fine job, binaries are a few steps removed from raw source code. With each step comes to potential...

0 0
7

Do you want to use Bitcoin on Linux? This tutorial explains how to install and use Bitcoin Core on Debian Linux. Bitcoin Core is the official Bitcoin Wallet from bitcoin.org. I will use the latest version from the GIT repository at bitcoin.org.

In order to compile and run, Bitcoin Core depends on some other tools which must be installed prior to compiling :

Install some dependencies:

For bitcoin-core

sudo apt-get install build-essential autoconf libssl-dev libboost-dev libboost-chrono-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-test-dev libboost-thread-dev

For bitcoin-qt (graphical interface)

If you want the graphical frontend, also install the following dependencies. If you just want bitcoind, you can skip this step.

sudo apt-get install libqt4-dev libprotobuf-dev protobuf-compiler libqrencode-dev

Installing Berkeley DB 4.8

Compiling Bitcoin Core requires the...

0 0
8

WARNING: Complete noob to linux (somewhat noob - if something can be installed w/ a package manager, I'm ok, else completely lost). I loaded debian 7 on a VBox VM (took 2 days to get everything to run correctly, but cool now) and just want to put a BitCoin wallet on, so I went to the bitcoin site and downloaded the wallet. Unfortunately, there is no install package, just a bin and src directory. I figured the bin was the correct place to look and found a directory named "32" under that. In that directory, I see bitcoind and bitcoin-qt. Found out I needed PPA to install this, so I came up with (in a terminal):

sudo add-apt-repository ppa:bitcoin/bitcoin

ran the command, seemed to work. then ran

sudo apt-get update

but discovered some files apparently are no longer on the site it's pulling stuff from:

Hit http://ftp.us.debian.org wheezy Release.gpg Hit http://ftp.us.debian.org wheezy-updates Release.gpg Hit http://ftp.us.debian.org wheezy Release ...
0 0
9

I was looking into compiling Bitcoin Classic from scratch and here is how I did it:

git clone https://github.com/bitcoinclassic/bitcoinclassic cd bitcoinclassic/ git checkout classic-0.11.2.b1 ./autogen.sh sudo ./configure

At this point the configure script might tell you that a lot more libraries are missing from your system.* The next step is a library I had missing, so I installed it.

sudo apt-get install libevent-dev sudo ./configure sudo make

And that's it. You've successfully compiled Bitcoin Classic from source.

This is how it should look like when running /src/qt/bitcoin-qt.

Tips welcome
1J7KsHrAQ7jowsSmbcZ7nWHLGskbhjig6W

* In general though, this should do the trick.

sudo apt-get install [libraryname]-dev

Be as specific with the version number as possible and get the -dev one. Or just leave a comment with your OS and missing library in the comments and we can all figure it out...

0 0
10

INSTRUCTIONS FOR COMPILING THE LINUX BITCOIN-SCRYPT CLIENT

These instructions were tested on Ubuntu 12.04.

First download and install dependencies:

sudo apt-get install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev git qt-sdk libminiupnpc-dev qrencode libqrencode-dev git

Second, clone the source-code to your local machine:

git clone https://github.com/bitcoin-scrypt/bitcoin-scrypt.git

To compile the command-line daemon, in the /bitcoin/src directory:

make –f makefile.unix USE_UPNP=- USE_QRCODE=1

To compile the QT GUI, in the /bitcoin directory:

qmake “USE_UPNP=-“ “USE_QRCODE=1” make

And that's...

0 0
11

Live presentation @ http://averageradical.github.io/compile/#/

Source of this presentation @ https://github.com/averageradical/compile

Agenda

Why? Limitations How? Examples

Why compile?

Learn/Play. Make modifications. Improve and contribute. Verify what you're running.

Limitations

Open source doesn't necessarily mean it's more secure.

The Heartbleed Bug was in the wild for more than 2 years.

At the time, OpenSSL was a popular package and the vulnerability affected more than 15% of all secure websites.

Limitations

Difficult to verify anything you download.

If attacker has server's TLS private key.

If attacker manipulates certificate authority.

Corollary: How do you know the Tor browser or Tails LiveCD you downloaded is legitimate?

Limitations

“You can't trust code that you did not totally create yourself... No amount of source-level verification or...
0 0
12

In a previous tutorial, I showed you how to install Notepadqq, a Notepad++ clone, on Debian, Ubuntu, Linux Mint, Elementary OS and Arch Linux. A reader recently asked me how to install Notepadqq on Raspberry Pi. Installing Notepadqq on Raspbian using the PPA is an awkward experience. Instead I will show you how to compile Notepadqq source code and then install it on Debian, Ubuntu and Raspbian.

compile Notepadqq on Debian/Ubuntu/Raspbian

First install qt5 tools.

sudo apt-get install qt5-qmake sudo apt-get install -y libqt5webkit5 libqt5svg5 coreutils sudo apt-get install -y libqt5webkit5-dev libqt5svg5-dev qttools5-dev-tools

Then clone the notepadqq Git repository.

git clone https://github.com/notepadqq/notepadqq.git cd notepadqq

Configure the environment.

For 64 bit Debian/Ubuntu

./configure --prefix /usr --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake

For 32 bit Debian/Ubuntu

./configure --prefix /usr --qmake...
0 0
13

> On Thu, Sep 1, 2016 at 7:29 PM, Eli Schwartz via arch-general

>

[hidden email]

> wrote:

>> On 09/01/2016 06:00 PM, Diego Viola wrote:

>>> No, I'm not saying that, please let's not make this personal, it's not.

>>>

>>> I'm also OK compiling my own bitcoin-qt or whatever, I'm just

>>> concerned there are many outdated packages as of late, and what makes

>>> Arch so special to many people is the rolling release part and up to

>>> date packages.

>>

>> I am not trying to make this personal. :)

>> It just sounds like you are unhappy with the way the TUs are handling

>> things, and I am trying to highlight the fact that they are doing the

>> best they can.

>>

>> What makes Arch so special, is not just the up-to-date packages, but the

>> do-it-yourself mindset and the existence of the AUR. It is the fact that

>> Arch users know how their system works, and usually...

0 0
14

To install a QT-Wallet under Linux, open a Terminal and use the following commands. You’ll need to find the Git of the coin.

apt-get update -y

apt-get upgrade -y

apt-get dist-upgrade -y

apt-get install build-essential libssl-dev libboost-all-dev libdb5.1 libdb5.1-dev libdb5.1++-dev libtool

apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config

sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev

git clone https://github.com/*Git of the coin*

cd *folder name, ex: "cd bitcoin"*

./autogen.sh

./configure

make

make install...

0 0
15
...
0 0
16

All of the compile errors in your build log are of the form:

error: narrowing conversion of ‘ddd’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]

There are a great many other compiler diagnostics but they are all warnings - not errors - that you can live with.

The errors arise from the fact that wxGTK2-2.8.12 - released March, 2011 - was written to be compiled to an earlier C++ standard (C++98, i.e. C++ 1998) than the standard that is the default for your g++ compiler, now in July 2017. Your compiler I assume is g++ 6 or later, which defaults to C++14 (C++ 2014). Since the C++11 standard, the narrowing conversion that is breaking your build has been ruled ill-formed, which previously it was not.

You can direct g++ to compile according to the C++ standard of your choice by passing it the option -std={c++98|c++03|c++11|c++14|c++17}, and you can pass your choice to the wxGTK2-2.8.12 configure script by including it in the value of the CXXFLAGS parameter for...

0 0
17

Welcome to the rsync web pages

rsync is an open source utility that provides fast incremental file transfer. rsync is freely available under the GNU General Public License and is currently being maintained by Wayne Davison.

If you are running (1) an rsync client older than 3.1.2 to an not-fully-trusted sender, (2) an xattr-enabled rsync older than 3.0.2, (3) a writable rsync daemon older than 3.0.0, or (4) a version of rsync older than 2.6.6, please see the rsync security advisory page.

Rsync version 3.1.2 released

Rsync version 3.1.2 has been released. This is a bug-fix release. It includes a security fix for a transfer from a sender that you don't fully trust.

See the release NEWS for the details of what changed since 3.1.1. The latest manpages are also available for both rsync and rsyncd.conf.

The source tar is available here: rsync-3.1.2.tar.gz (signature), with a tar file of the "patches" directory now released in a separate file:...

0 0